Actively exploited vulnerability / CVE-2022-36804
Bitbucket Server and Data Center: an attacker can take control of the server
This flaw lets an attacker who can read a code repository, public or private, run their own programs on the Bitbucket server. That means they could steal or alter your company's source code and use the server as a way into the rest of your network. It is on the lists of vulnerabilities used in real attacks kept by CISA, the US cybersecurity agency, and by ENISA, the EU cybersecurity agency.
- Identifier
- CVE-2022-36804 · EUVD-2022-39504
- Severity
- High (8.8/10)
- On the CISA list (US)
- yes, since 30 September 2022
- Deadline given to US federal agencies
- 21 October 2022
- On the ENISA list (EU)
- yes
- Probability of exploitation (EPSS)
- 99.0% (FIRST's estimate for the next 30 days)
Does it concern you?
Bitbucket Server and Data Center are Atlassian products where software teams store their source code on the company's own servers. They are typically used by companies that develop software, in house or for clients.
The version is usually shown at the bottom of Bitbucket pages or in the administration area; if unsure, ask whoever manages the server. Affected versions are 7.0.0 up to before 7.6.17, 7.7.0 up to before 7.17.10, 7.18.0 up to before 7.21.4, 8.0.0 up to before 8.0.3, 8.1.0 up to before 8.1.3, and 8.2.0 up to before 8.2.2.
Affected products and versions
- Atlassian Bitbucket Server and Data Center
- bitbucket: 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
What to do
Install the update for your version line: 7.6.17, 7.17.10, 7.21.4, 8.0.3, 8.1.3 or 8.2.2, or any newer version. Follow Atlassian's published instructions.
Versions that contain the fix: 7.17.10, 7.21.4, 7.6.17, 8.0.3, 8.1.3, 8.2.2.
The official description
The text below is the description from the public database.
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.
Sources
- CVE Program
- GitHub Advisory Database
- Vendor advisory: jira.atlassian.com
- Vendor advisory: nvd.nist.gov
- NVD
- ENISA EUVD
Data from the public CVE and NVD databases, the CISA KEV and ENISA EU KEV lists and FIRST's EPSS score. The explanations are ours, written from that data. Last updated: 29 November 2026.