CVE-2022-36804
Atlassian Bitbucket Server and Data Center Command Injection Vulnerability
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.
Description as published by the source, in English.
Key facts
- Published
- 2022-08-25
- Last modified
- 2026-06-17
- Assigned by
- security@atlassian.com
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H- Scored by
- nvd@nist.gov (NVD Primary)
- Probability of exploitation
-
99.1 %
among the highest of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Yes, see references
Actively exploited
CISA added this vulnerability to the Known Exploited Vulnerabilities catalogue on 2022-09-30, with a remediation deadline of 2022-10-21 for US federal agencies.
Required action: Apply updates per vendor instructions.
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Atlassian | Bitbucket | 8.3.0 | Affected |
| Atlassian | Bitbucket | ≥ 7.0.0, < 7.6.17 | Affected |
| Atlassian | Bitbucket | ≥ 7.18.0, < 7.21.4 | Affected |
| Atlassian | Bitbucket | ≥ 7.7.0, < 7.17.10 | Affected |
| Atlassian | Bitbucket | ≥ 8.0.0, < 8.0.3 | Affected |
| Atlassian | Bitbucket | ≥ 8.1.0, < 8.1.3 | Affected |
| Atlassian | Bitbucket | ≥ 8.2.0, < 8.2.2 | Affected |
Weakness type
-
CWE-158: Improper Neutralization of Null Byte or NUL Character
The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes NUL characters or null bytes when they are sent to a downstream component.
-
CWE-78: Improper Neutralization of Special Elements used in an OS Command
The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS …
-
CWE-88: Improper Neutralization of Argument Delimiters in a Command
The product constructs a string for a command to be executed by a separate component in another control sphere, but it does not properly delimit the intended arguments, options, or switches within that command string.
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
Related at Berigo
Articles
-
A hidden paragraph in the document makes the AI assistant send the data out
Same product
2026-08-08
Two reports show that Atlassian's AI assistant Rovo can be tricked into sending out data it has access to. One technique starts in an uploaded docume…
-
Atlassian fixes 38 vulnerabilities across Jira, Confluence and Bitbucket
Same product
2026-04-21
Atlassian's April bulletin covers seven critical and 31 high severity vulnerabilities in the Data Center and Server editions.
-
Spam campaign used Jira Cloud to slip past email filters
Same product
2026-02-17
Trend Micro found attackers exploiting the trust placed in Atlassian Jira Cloud notifications to send spam in six languages to governments and compan…
-
Atlassian fixes 37 high-severity vulnerabilities in its December update
Same product
2025-12-18
Atlassian's December 2025 security bulletin covers 37 high-severity vulnerabilities plus nine critical third-party issues.
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.