What’s Vulnerable › Vulnerabilities
CVE-2022-36804: Atlassian Bitbucket Server and Data Center Command Injection Vulnerability
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: yes — in CISA KEV since 2022-09-30
- EPSS: 99.1% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-08-25 · updated 2026-06-17
- Weakness: CWE-78
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.
Affected products
- Atlassian Bitbucket Server: from 7.0.0 before 7.6.17; from 7.7.0 before 7.17.10; from 7.18.0 before 7.21.4; from 8.0.0 before 8.0.3; from 8.1.0 before 8.1.3; from 8.2.0 before 8.2.2 — fixed in 7.17.10, 7.21.4, 7.6.17, 8.0.3, 8.1.3, 8.2.2
How to fix
Upgrade to a fixed version: Atlassian Bitbucket Server 7.17.10, 7.21.4, 7.6.17, 8.0.3. Check the vendor advisory for mitigations.
References
- http://packetstormsecurity.com/files/168470/Bitbucket-Git-Command-Injection.html
- http://packetstormsecurity.com/files/171453/Bitbucket-7.0.0-Remote-Command-Execution.html
- https://jira.atlassian.com/browse/BSERV-13438
- http://packetstormsecurity.com/files/168470/Bitbucket-Git-Command-Injection.html
- http://packetstormsecurity.com/files/171453/Bitbucket-7.0.0-Remote-Command-Execution.html
- https://jira.atlassian.com/browse/BSERV-13438
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-36804
Get alerted when CVE-2022-36804 or the next vulnerability affects your stack