CVE-2022-36804: Atlassian Bitbucket Server and Data Center Command Injection Vulnerability
Vulnerability summary
CVE-2022-36804 is a high (CVSS 8.8) vulnerability in Atlassian Bitbucket Server and Data Center. It is known to be exploited: CISA lists it, first on 30-09-2022. EPSS estimates a 99.08% chance of exploitation in the next 30 days, higher than 99.9% of scored vulnerabilities. 4 public exploits are recorded.
Listed as exploited by CISA (30-09-2022)
Source freshness unavailable
How is this decided?Timeline
- 25-08-2022PublishedVulnerability first disclosed.
- 30-09-2022Added to CISA KEVExploitedAtlassian Bitbucket Server and Data Center Command Injection Vulnerability
- 21-10-2022CISA remediation dueDeadline passedApply updates per vendor instructions.
- 21-10-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
2 scores · 2 sources · 1 version- NVDNIST8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
99.08%
Chance of exploitation in the next 30 days
Percentile
100%
Versus all other CVEs
30-day change
Decrease -0.10 pp
From 99.17% on 04-10-2026
Known exploited
Compare KEV catalogs- Added
- 30-09-2022
- Federal due date
- 21-10-2022
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
CISA required action
Apply updates per vendor instructions. jira.atlassian.com/browse/BSERV-13438 nvd.nist.gov/vuln/detail/CVE-2022-36804
Public exploits
4 foundExploit Reference (packetstormsecurity.com)
Maturity: unknown
Exploit Reference (packetstormsecurity.com)
Maturity: unknown
Bitbucket v7.0.0 - RCE
Maturity: poc
Weaknesses
CWE · root cause- CWE-78Improper Neutralization of Special Elements used in an OS CommandThe 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 command before it is sent to a downstream component.
- CWE-88Improper Neutralization of Argument Delimiters in a CommandThe 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.
Affected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Atlassian3 products
- bitbucketEOL≥ 7.0.0, < 7.6.17 | ≥ 7.7.0, < 7.17.10 | ≥ 7.18.0, < 7.21.4 | ≥ 8.0.0, < 8.0.3 | ≥ 8.1.0, < 8.1.3 | ≥ 8.2.0, < 8.2.2 | 8.3.0
- bitbucket_data_center≥ 7.0.0, < unspecified | ≥ unspecified, < 7.6.17 | ≥ 7.7.0, < unspecified | ≥ unspecified, < 7.17.10 | ≥ 7.18.0, < unspecified | ≥ unspecified, < 7.21.4 | ≥ 8.0.0, < unspecified | ≥ unspecified, < 8.0.3 | ≥ 8.1.0, < unspecified | ≥ unspecified, < 8.1.3 | ≥ 8.2.0, < unspecified | ≥ unspecified, < 8.2.2 | ≥ 8.3.0, < unspecified | ≥ unspecified, < 8.3.1
- bitbucket_server≥ 7.0.0, < unspecified | ≥ unspecified, < 7.6.17 | ≥ 7.7.0, < unspecified | ≥ unspecified, < 7.17.10 | ≥ 7.18.0, < unspecified | ≥ unspecified, < 7.21.4 | ≥ 8.0.0, < unspecified | ≥ unspecified, < 8.0.3 | ≥ 8.1.0, < unspecified | ≥ unspecified, < 8.1.3 | ≥ 8.2.0, < unspecified | ≥ unspecified, < 8.2.2 | ≥ 8.3.0, < unspecified | ≥ unspecified, < 8.3.1
1 vendor · 3 products
References
4 links- packetstormsecurity.com/files/168470/Bitbucket-Git-Command-Injection.htmlExploitThird Party AdvisoryVDB Entry
- packetstormsecurity.com/files/171453/Bitbucket-7.0.0-Remote-Command-Execution.htmlExploitThird Party AdvisoryVDB Entry
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-36804Government ResourceUS Government Resource