CVE-2022-36804
CONFIRMED EXPLOITEDAtlassian Bitbucket Server and Data Center Command Injection Vulnerability
Is Atlassian Bitbucket Server and Data Center affected by CVE-2022-36804?
Atlassian Bitbucket Server and Data Center is listed in the CISA Known Exploited Vulnerabilities catalog for CVE-2022-36804, added on 2022-09-30. CISA only adds a CVE once it has evidence of exploitation in the wild, so the patching question is not whether it can be attacked but how soon your instances must be updated.
Affected products published by NIST NVD (7 vulnerable CPE entries): atlassian bitbucket.
Published CPE version bounds mark releases below 8.2.2 as vulnerable. Those bounds describe what is affected, not what patches it: upgrade to the fixed release named in the vendor advisory below, then confirm the installed version with your package manager or scanner.
The CISA remediation deadline for this entry is 2022-10-21.
RELATED VULNERABILITY DOSSIERS
Other catalog entries that share this product, vendor, or weakness, or that sit next to this advisory in the CISA KEV timeline.
- CVE-2026-21589Same vendorAtlassian Multiple Products
Atlassian Multiple Products Files or Directories Accessible to External Parties Vulnerability
- CVE-2021-26086Same vendorAtlassian Jira Server and Data Center
Atlassian Jira Server and Data Center Path Traversal Vulnerability
- CVE-2023-22527Same vendorAtlassian Confluence Data Center and Server
Atlassian Confluence Data Center and Server Template Injection Vulnerability
- CVE-2023-22518Same vendorAtlassian Confluence Data Center and Server
Atlassian Confluence Data Center and Server Improper Authorization Vulnerability
- CVE-2022-3236Neighboring entrySophos Firewall
Sophos Firewall Code Injection Vulnerability
- CVE-2022-41040Neighboring entryMicrosoft Exchange Server
Microsoft Exchange Server Server-Side Request Forgery Vulnerability
1. VULNERABILITY OVERVIEW & TECHNICAL MECHANISM
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.
Get Stack Watch email when a KEV hits your stack ($99/year or $12/month)
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.
2. AFFECTED VERSIONS, PRODUCTS & VERIFIED CPE CONFIGURATIONS
3. EXPLOITATION EVIDENCE, IMPACT & HOW TO DETECT IT
This vulnerability was added to the CISA Known Exploited Vulnerabilities (KEV) catalog on 2022-09-30. Inclusion in KEV requires verified evidence of active exploitation in the wild. Known ransomware campaign use is recorded by CISA as: "Unknown".
Note: KEV inclusion confirms that threat actors have exploited this flaw in real-world incidents; it does not imply every deployment of Bitbucket Server and Data Center has been compromised.
- CVSS vector indicates high impact to Confidentiality (C:H), Integrity (I:H), and Availability (A:H) of the affected component.
- HTTP / web application surface (Atlassian Bitbucket Server and Data Center): inspect reverse-proxy, WAF, and application access/error logs alongside `Zeek http.log` and `Suricata eve.json` for anomalous requests targeting exposed endpoints.
- Command/Argument Injection class (CWE-77/78/88): monitor process trees for `/bin/sh`, `bash`, `cmd.exe`, `powershell`, `curl`, or `wget` spawned as child processes of the service daemon.
- Inventory all hosts running Atlassian Bitbucket Server and Data Center and compare installed package/build versions against the NVD CPE configurations and vendor advisory below.
4. FIXED VERSION, MITIGATIONS & OFFICIAL ADVISORY CITATIONS
Apply updates per vendor instructions.
- http://packetstormsecurity.com/files/168470/Bitbucket-Git-Command-Injection.htmlExploitThird Party AdvisoryVDB Entry
- http://packetstormsecurity.com/files/171453/Bitbucket-7.0.0-Remote-Command-Execution.htmlExploitThird Party AdvisoryVDB Entry
- https://jira.atlassian.com/browse/BSERV-13438Issue TrackingPatchRelease Notes
- http://packetstormsecurity.com/files/168470/Bitbucket-Git-Command-Injection.htmlExploitThird Party AdvisoryVDB Entry
- http://packetstormsecurity.com/files/171453/Bitbucket-7.0.0-Remote-Command-Execution.htmlExploitThird Party AdvisoryVDB Entry
- https://jira.atlassian.com/browse/BSERV-13438Issue TrackingPatchRelease Notes
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-36804US Government Resource
SCORING & VECTOR TELEMETRY
Primary assessment authored by NIST NVD (nvd@nist.gov).
EPSS estimates the statistical probability of exploitation activity in the next 30 days—it is not proof of confirmed exploitation.
RELEVANT DEFENSIVE TOOLS
Curated open-source defensive and verification utilities from The Loot applicable to this asset class:
Fast, template-driven vulnerability scanner by ProjectDiscovery
Intercepting web proxy and automated web application security testing tool
Multi-threaded IDS, IPS, and network security monitoring engine
Behavior-based open-source intrusion prevention system (IPS) and log analysis engine