Vulnerability · CVE-2022-36804
Atlassian Bitbucket Server and Data Center Command Injection Vulnerability
Published Aug 24, 2022 · catalog updated Jun 16, 2026 · Atlassian Bitbucket Server and Data Center
Patch now
CVE-2022-36804 is in the CISA known-exploited catalog, due Oct 21, 2022. Confirm Atlassian Bitbucket Server and Data Center against the vendor advisory and apply that fix. The CVSS score does not change the priority.
- Severity
- High8.8
- Known exploitation
- CISA KEV and VulnCheck KEV
- EPSS
- 99.17%
- Remediation
- Remediation guidance
- Affected products
- cpe atlassian/bitbucket · vendor Atlassian Bitbucket Server and Data Center
Multiple API endpoints in Atlassian Bitbucket Server and Data Center 7.0.0 before version 7.6.17, from version 7.7.0 before version 7.17.10, from version 7.18.0 before version 7.21.4, from version 8.0.0 before version 8.0.3, from version 8.1.0 before version 8.1.3, and from version 8.2.0 before version 8.2.2, and from version 8.3.0 before 8.3.1 allows remote attackers with read permissions to a public or private Bitbucket repository to execute arbitrary code by sending a malicious HTTP request. This vulnerability was reported via our Bug Bounty Program by TheGrandPew.
Are you affected?
Enter the version you run. The result uses only the ranges stored on this record.
The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.
- cpe atlassian/bitbucket8.3.0
- vendor Atlassian Bitbucket Server and Data Centerversion unspecified
How to fix CVE-2022-36804
Recommended remediation
Apply updates per vendor instructions. CISA due date Oct 21, 2022.
Official advisories
What to do
Three questions, each answered from this record only. Confirm the vendor advisory before you patch.
Should you patch?
CVE-2022-36804 is in the CISA known-exploited catalog, due Oct 21, 2022. Confirm Atlassian Bitbucket Server and Data Center against the vendor advisory and apply that fix. The CVSS score does not change the priority.
Which versions are affected?
Compare what you have installed with 8.3.0. Apply updates per vendor instructions.
What should an analyst verify?
CWE-158; CWE-78: OS Command Injection; CWE-88. EPSS 99.17%. The CISA KEV listing is the exploitation evidence. A public exploit reference is linked in Sources. That is not the same as confirmed exploitation. Use the source links for the original advisory.
Code
The project this record applies to. Exploit listings stay in References.
No public source repository is identified for this product.
Timeline
Detection, updates, and resolution for this record.
Aug 24, 2022 · Catalog
Detected
Multiple API endpoints in Atlassian Bitbucket Server and Data Center 7.0.0 before version 7.6.17, from version 7.7.0 before version 7.17.10, from version 7.18.0 before version 7.21.4, from version 8.0.0 before version 8.0.3, from version 8.1.0 before version 8.1.3, and from version 8.2.0 before version 8.2.2, and from version 8.3.0 before 8.3.1 allows remote attackers with read permissions to a pu
Sep 30, 2022 · CISA KEV
Known exploited
Apply updates per vendor instructions.
Oct 21, 2022 · CISA KEV
Remediation due
Apply updates per vendor instructions.
Jun 16, 2026 · Catalog
Updated
Multiple API endpoints in Atlassian Bitbucket Server and Data Center 7.0.0 before version 7.6.17, from version 7.7.0 before version 7.17.10, from version 7.18.0 before version 7.21.4, from version 8.0.0 before version 8.0.3, from version 8.1.0 before version 8.1.3, and from version 8.2.0 before version 8.2.2, and from version 8.3.0 before 8.3.1 allows remote attackers with read permissions to a pu
Sources
- CISA KEVConfirmed exploitationCVE-2022-36804
Multiple API endpoints of Atlassian Bitbucket Server and Data Center contain a command injection vulnerability where an attacker with access to a public Bitbucket repository, or with read permissions to a private one, can execute code by sending a malicious HTTP request.
cisa.gov - CVE.orgVulnerability recordCVE-2022-36804
Official CVE identifier
cve.org - FIRST EPSSExploitation probabilityCVE-2022-36804
30-day exploitation probability 99.2%
first.org - Exploit DatabasePublic exploit reference51040
Public archive entry. The exploit body is not stored here.
exploit-db.com - Metasploit ModulesPublic exploit moduleexploit_linux/http/bitbucket_git_cmd_injection
Public module reference (excellent). Module source is not copied into this catalog.
rapid7.com - NIST NVDVulnerability recordCVE-2022-36804
Multiple API endpoints in Atlassian Bitbucket Server and Data Center 7.0.0 before version 7.6.17, from version 7.7.0 before version 7.17.10, from version 7.18.0 before version 7.21.4, from version 8.0.0 before version 8.0.3, from version 8.1.0 before version 8.1.3, and from versi
nvd.nist.gov - Packet Storm SecurityCited referencehttp://packetstormsecurity.com/files/168470/Bitbucket-Git-Command-Injection.html
Packet Storm link already published on the finding.
packetstormsecurity.com - Packet Storm SecurityCited referencehttp://packetstormsecurity.com/files/171453/Bitbucket-7.0.0-Remote-Command-Execution.html
Packet Storm link already published on the finding.
packetstormsecurity.com - VulnCheck KEVConfirmed exploitationCVE-2022-36804
Multiple API endpoints of Atlassian Bitbucket Server and Data Center contain a command injection vulnerability where an attacker with access to a public Bitbucket repository, or with read permissions to a private one, can execute code by sending a malicious HTTP request.
vulncheck.com
References
- Exploit · packetstormsecurity.com
- Exploit · packetstormsecurity.com
- VulnCheck exploitation evidence · dashboard.shadowserver.org
- VulnCheck exploitation evidence · dashboard.shadowserver.org
- VulnCheck exploitation evidence · dashboard.shadowserver.org
- CISA note · jira.atlassian.com
- CISA note · nvd.nist.gov
- VulnCheck exploitation evidence · web.archive.org
- US Government Resource · cisa.gov
- VulnCheck exploitation evidence · cisa.gov
- VulnCheck exploitation evidence · trustwave.com
Freshness
Last verified in this catalog Oct 17, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.