CVE-2022-36804
Atlassian Bitbucket Server and Data Center Command Injection Vulnerability
- Actively exploited
- High · 8.8 of 10
- Exploited since
- 30 Sep 2022 added to the CISA list
- Chance of attacks
- 99% in the next 30 days (FIRST EPSS)
- Fix deadline
- 21 Oct 2022 for US federal agencies
- Published
- 25 Aug 2022 in the NVD
What this means
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
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.
NIST National Vulnerability Database
What to do
Apply updates per vendor instructions.
CISA's required action. If you use the product, install the vendor's update as soon as possible.
Affected
- Atlassian Bitbucket Server
- Atlassian Bitbucket Data Center
Official sources
- nvd.nist.gov/vuln/detail/CVE-2022-36804
- jira.atlassian.com/browse/BSERV-13438 vendor advisory
- jira.atlassian.com/browse/BSERV-13438 vendor advisory
- packetstormsecurity.com/files/168470/Bitbucket-Git-Command-Injection.html
- packetstormsecurity.com/files/171453/Bitbucket-7.0.0-Remote-Command-Execution.html
- packetstormsecurity.com/files/168470/Bitbucket-Git-Command-Injection.html
- packetstormsecurity.com/files/171453/Bitbucket-7.0.0-Remote-Command-Execution.html
- cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-36804
Data from the NIST National Vulnerability Database, the CISA Known Exploited Vulnerabilities list, FIRST EPSS and ENISA, checked 18 Nov 2026. CVSS vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.