# CVE-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 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.

- Page: https://www.vulneraibility.com/cve/CVE-2022-36804
- CVSS: 8.8
- Known exploited: yes, in CISA KEV since 2022-09-30; CISA due date 2022-10-21
- EPSS: 98.96% (percentile 99.9)
- Public exploit code: 1 on Exploit-DB · 1 Metasploit module · 19 GitHub proofs of concept · 1 Nuclei template (first 2022-09-07)
- CISA SSVC: exploitation active, automatable no, technical impact total (assessed 2025-01-29)
- Weakness: CWE-78, CWE-88
- Published: 2022-08-25

## Affected versions

- Atlassian Bitbucket Data Center: affected >= 7.0.0 and < unspecified; < 7.6.17; >= 7.7.0 and < unspecified; < 7.17.10; >= 7.18.0 and < unspecified; < 7.21.4; >= 8.0.0 and < unspecified; < 8.0.3; >= 8.1.0 and < unspecified; < 8.1.3; >= 8.2.0 and < unspecified; < 8.2.2; >= 8.3.0 and < unspecified; < 8.3.1
- Atlassian Bitbucket Server: affected >= 7.0.0 and < unspecified; < 7.6.17; >= 7.7.0 and < unspecified; < 7.17.10; >= 7.18.0 and < unspecified; < 7.21.4; >= 8.0.0 and < unspecified; < 8.0.3; >= 8.1.0 and < unspecified; < 8.1.3; >= 8.2.0 and < unspecified; < 8.2.2; >= 8.3.0 and < unspecified; < 8.3.1

A version outside these ranges is not a statement that it is unaffected.

## References

- [other] https://jira.atlassian.com/browse/BSERV-13438
- [other] http://packetstormsecurity.com/files/168470/Bitbucket-Git-Command-Injection.html
- [other] http://packetstormsecurity.com/files/171453/Bitbucket-7.0.0-Remote-Command-Execution.html
- [other] https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-36804

---
Summary, impact and action are written by the vulneraibility.com AI analysis pipeline from the CVE record, NVD, CISA and FIRST data; verify against the references.
