CVE-2022-36804 in Atlassian Bitbucket
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 fr...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Atlassian | Bitbucket | 8.3.0 ≥ 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+1 more≥ 8.2.0, < 8.2.2 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Yes added 2022-09-30 |
|---|---|
| Public exploit | Reported · reference |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2022-36804 |
|---|---|
| BreachSpider ID | BS-2022-GLOBAL-252336-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Published | 2022-08-25 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-78: OS Command Injection
Attacker injects OS commands through application inputs passed to system() or equivalent calls, leading to arbitrary command execution.
CWE-88: CWE-88
Related attack patterns (CAPEC)
CAPEC-41 Using Meta-characters in E-mail Headers to Inject Malicious Payloads via CWE-88
CAPEC-43 Exploiting Multiple Input Interpretation Layers via CWE-78
CAPEC-108 Command Line Execution through SQL Injection via CWE-78
CAPEC-174 Flash Parameter Injection via CWE-88
CAPEC-460 HTTP Parameter Pollution (HPP) via CWE-88
Show all 9
CAPEC-6 Argument Injection via CWE-78
CAPEC-15 Command Delimiters via CWE-78
CAPEC-88 OS Command Injection via CWE-78, CWE-88
CAPEC-137 Parameter Injection via CWE-88
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
CVE-2022-36804 affects multiple versions of Atlassian Bitbucket Server and Data Center, allowing remote attackers with read permissions to execute arbitrary code via malicious HTTP requests. The vulnerability has a high CVSS score of 8.8 and is listed in the KEV catalog with a public proof-of-concept and known exploits. Immediate attention is required to mitigate the risk of unauthorized access and potential system compromise.
The vulnerability exists in multiple API endpoints of Atlassian Bitbucket Server and Data Center. An attacker with read permissions to a public or private repository can send a malicious HTTP request to execute arbitrary code on the server. This can lead to full control over the affected system, including data exfiltration, modification, and denial of service.
Compensating controls AI-drafted, review before use
Implement strict input validation and output encoding for all API endpoints to prevent injection attacks. Enforce least privilege access controls and monitor for unusual activity.
NERC CIP: CIP-007 CIP-007-R2
IEC 62443: SR 7.6
Not validated for your network. A compensating control does not replace the vendor fix.
Questions
What is CVE-2022-36804?
CVE-2022-36804 affects multiple versions of Atlassian Bitbucket Server and Data Center, allowing remote attackers with read permissions to execute arbitrary code via malicious HTTP requests. The vulnerability has a high CVSS score of 8.8 and is listed in the KEV catalog with a public proof-of-concept and known exploits. Immediate attention is required to mitigate the risk of unauthorized access and potential system compromise.
What is the CVSS score for CVE-2022-36804?
CVE-2022-36804 has CVSS 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 99.0%.
Is CVE-2022-36804 actively exploited?
Yes. CVE-2022-36804 is in the CISA known-exploited catalog (added 2022-09-30). Active exploitation confirmed. Immediate patching required.
How do I remediate CVE-2022-36804?
Priority: IMMEDIATE. Advisory: https://jira.atlassian.com/browse/BSERV-13438 PSIRT: [email protected]
What systems are affected by CVE-2022-36804?
CVE-2022-36804 affects Atlassian Bitbucket.
What NERC-CIP standard applies to CVE-2022-36804?
NERC CIP CIP-007 CIP-007-R2: This CVE violates CIP-007-R2 as it allows unauthorized access to critical systems, which could result in the compromise of electronic security perimeters and the loss of control over protected systems.
What IEC 62443 requirement maps to CVE-2022-36804?
IEC 62443 SR 7.6: This CVE maps to SR 7.6 because it involves a vulnerability that can be exploited remotely to gain control over the system, which is a critical security concern for industrial control systems.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Atlassian","product":"Bitbucket","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.