CVE-2022-36804Multiple API endpoints in Atlassian Bitbucket Server and Data Center 7.0.0 before version 7.6.17, from version 7.7.0 before version…
- 8.8HighCVSS base score
- 99.0%Exploitation in 30 daysEPSS · top 0.1% of all CVEs
- YesKnown exploitedin CISA's KEV since 30 Sept 2022
- 3Public exploitsMetasploit, Nuclei and Exploit-DB
Description
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.
Exploited in the wild
CISA lists this vulnerability in its Known Exploited Vulnerabilities catalog as Atlassian Bitbucket Server and Data Center Command Injection Vulnerability.
- Added
- 30 Sept 2022
- Fix due (US federal)
- 21 Oct 2022
- Used by ransomware
- Not known
Apply updates per vendor instructions.
ENISA's EU Vulnerability Database lists it as exploited, from CISA's KEV, since 30 Sept 2022.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list a Metasploit module, a Nuclei template and an Exploit-DB entry for it. CISA's SSVC rates its exploitation: it is being exploited.
Show the exploits3
Metasploit modules1 module
- Bitbucket Git Command Injection (Metasploit module) (opens in a new tab)
exploit/linux/http/bitbucket_git_cmd_injectionRank excellentdisclosed 24 Aug 2022
Nuclei templates1 template
- Atlassian Bitbucket - Remote Command Injection (Nuclei template) (opens in a new tab)
http/cves/2022/CVE-2022-36804.yamlSeverity high
Exploit-DB1 entry
- Bitbucket v7.0.0 - RCE (Exploit-DB entry) (opens in a new tab)
EDB-ID 51040webapps, pythonpublished 23 Mar 2023Not verified
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By atlassian
- 30 days later
· 30 days later
Published
- 36 days later
· 36 days later
Added to CISA KEV
Known exploited in the wild
- 3 years later
· 3 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | High8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Analyzed | 3.1 | High8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 99.0% · top 0.1% of all CVEs (12 Nov 2026)
- CISA SSVC
- Exploitation: active · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.8.
Affected products
- affected 7.0.0 – < unspecified
- affected unspecified – < 7.6.17
- affected 7.7.0 – < unspecified
- affected unspecified – < 7.17.10
- affected 7.18.0 – < unspecified
- affected unspecified – < 7.21.4
- affected 8.0.0 – < unspecified
- affected unspecified – < 8.0.3
- affected 8.1.0 – < unspecified
- affected unspecified – < 8.1.3
- affected 8.2.0 – < unspecified
- affected unspecified – < 8.2.2
- affected 8.3.0 – < unspecified
- affected unspecified – < 8.3.1
Atlassian · Bitbucket Data Center
- affected 7.0.0 – < unspecified
- affected unspecified – < 7.6.17
- affected 7.7.0 – < unspecified
- affected unspecified – < 7.17.10
- affected 7.18.0 – < unspecified
- affected unspecified – < 7.21.4
- affected 8.0.0 – < unspecified
- affected unspecified – < 8.0.3
- affected 8.1.0 – < unspecified
- affected unspecified – < 8.1.3
- affected 8.2.0 – < unspecified
- affected unspecified – < 8.2.2
- affected 8.3.0 – < unspecified
- affected unspecified – < 8.3.1
References
References4
- https://jira.atlassian.com/browse/BSERV-13438 (opens in a new tab)x_transferred
- http://packetstormsecurity.com/files/168470/Bitbucket-Git-Command-Injection.html (opens in a new tab)x_transferred
- http://packetstormsecurity.com/files/171453/Bitbucket-7.0.0-Remote-Command-Execution.html (opens in a new tab)x_transferred
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-36804 (opens in a new tab)government-resource
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- CISA KEV catalog (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2022-39504 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2022-36804)Record last updated .