Home / Atlassian / Bitbucket Server / CVE-2022-36804
CVE-2022-36804: is it exploited, and which versions of Atlassian Bitbucket Server are affected and fixed?
CVE-2022-36804 is an OS command injection vulnerability in Atlassian Bitbucket Server, and it is exploited in the wild: CISA added it to its Known Exploited Vulnerabilities catalog on September 30, 2022, with a federal due date of October 21, 2022. Affected: Bitbucket Server from 7.0.0 before unspecified, Bitbucket Server before 7.6.17, Bitbucket Server from 7.7.0 before unspecified and 25 more (CVE record by atlassian). Fixed in unspecified, 7.6.17, 7.17.10, 7.21.4 and 2 more (CVE record by atlassian). Severity: High (8.8, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:08 UTC, CVE record November 28, 2026, 16:16 UTC and NVD November 19, 2026, 07:46 UTC.
What is 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.
From the CVE record by atlassian, last updated October 21, 2025, 23:15 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Atlassian | Bitbucket Server | from 7.0.0 before unspecified before 7.6.17 from 7.7.0 before unspecified before 7.17.10 from 7.18.0 before unspecified before 7.21.4 from 8.0.0 before unspecified before 8.0.3 from 8.1.0 before unspecified before 8.1.3 from 8.2.0 before unspecified before 8.2.2 and 2 more ranges | unspecified, 7.6.17, 7.17.10, 7.21.4, 8.0.3, 8.1.3, 8.2.2, 8.3.1 |
| Atlassian | Bitbucket Data Center | from 7.0.0 before unspecified before 7.6.17 from 7.7.0 before unspecified before 7.17.10 from 7.18.0 before unspecified before 7.21.4 from 8.0.0 before unspecified before 8.0.3 from 8.1.0 before unspecified before 8.1.3 from 8.2.0 before unspecified before 8.2.2 and 2 more ranges | unspecified, 7.6.17, 7.17.10, 7.21.4, 8.0.3, 8.1.3, 8.2.2, 8.3.1 |
As the CVE record by atlassian states it, last updated October 21, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| atlassian | bitbucket | from 7.0.0 before 7.6.17 | application |
| atlassian | bitbucket | from 7.7.0 before 7.17.10 | application |
| atlassian | bitbucket | from 7.18.0 before 7.21.4 | application |
| atlassian | bitbucket | from 8.0.0 before 8.0.3 | application |
| atlassian | bitbucket | from 8.1.0 before 8.1.3 | application |
| atlassian | bitbucket | from 8.2.0 before 8.2.2 | application |
| atlassian | bitbucket | 8.3.0 | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 04:54 UTC.
How severe is CVE-2022-36804?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | CISA-ADP |
| High 8.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2022-36804 exploited in the wild?
- CISA KEV
- Listed as Atlassian Bitbucket Server and Data Center Command Injection Vulnerability, added September 30, 2022; federal agencies must act by October 21, 2022
- Required action
- Apply updates per vendor instructions.
- Ransomware use
- Unknown
- CISA's summary
- 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 SSVC
- Exploitation: active; automatable: no; technical impact: total (CISA ADP, January 29, 2025)
- EPSS
- 99.0% probability of exploitation activity in the next 30 days, percentile 99.9 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
- CWE-88 Improper Neutralization of Argument Delimiters in a Command
Where are the vendor advisories and references?
- 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://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-36804 government-resource
When was it published, and where is the official record?
- Reserved
- July 26, 2022
- Published
- August 25, 2022, 05:40 UTC
- CVE record updated
- October 21, 2025, 23:15 UTC by atlassian
- NVD
- Analyzed, last modified June 17, 2026, 04:54 UTC
- Last checked
- CVE list November 28, 2026, 16:16 UTC; NVD November 19, 2026, 07:46 UTC; KEV December 3, 2026, 11:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD · CISA KEV
What other CVEs affect Bitbucket Server?
- Sep 19, 2023CVE-2023-22513 Atlassian Bitbucket Data Center: code injection (remote code execution)
- Nov 17, 2022CVE-2022-43781 Atlassian Bitbucket Data Center: command injection
- Jul 20, 2022CVE-2022-26137 Atlassian Bamboo Server: incorrect Behavior Order: Validate Before Canonicalize
- Jul 20, 2022CVE-2022-26136 Atlassian Bamboo Server: incorrect Behavior Order: Validate Before Canonicalize
- Feb 18, 2021CVE-2020-36233 Atlassian Bitbucket Server: insecure default permissions
- Jul 9, 2020CVE-2020-14170 Atlassian Bitbucket Server: server-side request forgery (SSRF)
- Jul 9, 2020CVE-2020-14171 Atlassian Bitbucket Server: sensitive data sent in clear text
- Jan 15, 2020CVE-2019-20097 Atlassian Bitbucket Server: Argument Injection
Questions about CVE-2022-36804
Is CVE-2022-36804 exploited in the wild?
Yes. CISA added CVE-2022-36804 to its Known Exploited Vulnerabilities catalog on September 30, 2022 and set federal agencies a due date of October 21, 2022. FIRST's EPSS gives it a 99.0% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Atlassian Bitbucket Server are affected by CVE-2022-36804?
Bitbucket Server from 7.0.0 before unspecified, Bitbucket Server before 7.6.17, Bitbucket Server from 7.7.0 before unspecified, Bitbucket Server before 7.17.10, Bitbucket Server from 7.18.0 before unspecified, Bitbucket Server before 7.21.4 and 22 more, per the CVE record by atlassian. The tables above give every range the sources list.
Which version fixes CVE-2022-36804?
unspecified, 7.6.17, 7.17.10, 7.21.4, 8.0.3 and 8.1.3, per the CVE record by atlassian. Check the vendor's advisory before you rely on it.
How severe is CVE-2022-36804?
High (8.8, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2022-36804?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov; CISA's entry is in its Known Exploited Vulnerabilities catalog. For a fix, the vendor's own advisory is the one to follow.