CVE-2022-36804: Atlassian Bitbucket Server and Data Center Command Injection Vulnerability
Reference page built from the source records below, each shown as its source publishes it. Dataset version ref-95c9a37a3bb6, updated 2026-11-02T23:39:54.475Z.
CISA Known Exploited Vulnerabilities
- Name
- Atlassian Bitbucket Server and Data Center Command Injection Vulnerability
- Vendor
- Atlassian
- Product
- Bitbucket Server and Data Center
- Added to the catalog
- 2022-09-30
- Due date for US federal agencies
- 2022-10-21
- Weaknesses
- CWE-78, CWE-88, CWE-158
- Catalog version
- 2026.10.30
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.
Required action (CISA)
Apply updates per vendor instructions.
Ransomware use: CISA does not mark known use of this vulnerability in ransomware campaigns.
Links in CISA's notes
Read on 2026-11-02T23:39:54.475Z under licence cisa-kev-cc0@b0067899 from https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json
NVD analysis
- Status
- Analyzed
- Published
- 2022-08-25T06:15:09.077
- Last modified
- 2026-06-17T04:54:00.640
- Weaknesses
- CWE-78, CWE-88
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.
| Metric | Score | Severity | Vector | Scored by |
|---|---|---|---|---|
| CVSS 3.1 | 8.8 | HIGH | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | [email protected] (Primary) |
| CVSS 3.1 | 8.8 | HIGH | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) |
References
- http://packetstormsecurity.com/files/168470/Bitbucket-Git-Command-Injection.html (Exploit, Third Party Advisory, VDB Entry)
- http://packetstormsecurity.com/files/171453/Bitbucket-7.0.0-Remote-Command-Execution.html (Exploit, Third Party Advisory, VDB Entry)
- https://jira.atlassian.com/browse/BSERV-13438 (Issue Tracking, Patch, Release Notes, Vendor Advisory)
- http://packetstormsecurity.com/files/168470/Bitbucket-Git-Command-Injection.html (Exploit, Third Party Advisory, VDB Entry)
- http://packetstormsecurity.com/files/171453/Bitbucket-7.0.0-Remote-Command-Execution.html (Exploit, Third Party Advisory, VDB Entry)
- https://jira.atlassian.com/browse/BSERV-13438 (Issue Tracking, Patch, Release Notes, Vendor Advisory)
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-36804 (US Government Resource)
This product uses the NVD API but is not endorsed or certified by the NVD.
Read on 2026-11-02T23:41:59.479Z under licence nvd-api-terms-of-use@ff2a5288 from https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2022-36804
CVE record
- Assigner
- atlassian
- State
- PUBLISHED
- Published
- 2022-08-25T05:40:08.899Z
- Updated
- 2025-10-21T23:15:36.273Z
- Problem types
- Remote Code Execution
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.
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
Read on 2026-11-03T02:01:27.010Z under licence cve-terms-of-use@81bfa2f3 from https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2022/36xxx/CVE-2022-36804.json
Detection rules (SigmaHQ)
SigmaHQ rules whose own tags name this CVE. Each rule page shows the rule as its author published it.
- Atlassian Bitbucket Command Injection Via Archive API (status test, level high)
Defensive techniques (MITRE D3FEND)
D3FEND maps these defensive techniques to the weakness (CWE) that NVD lists for this CVE, through the digital artifacts the weakness affects. D3FEND does not say they stop this vulnerability.
CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
- Model: Asset Vulnerability Enumeration (acts on Software)
- Harden: Software Update (acts on Software)
- Restore: Restore Software (acts on Software)
- Harden: Domain Logic Validation (acts on Subroutine)
- Harden: Variable Initialization (acts on Subroutine)
- Harden: Credential Scrubbing (acts on Subroutine)
- Harden: Trusted Library (acts on Subroutine)
- Isolate: Application-based Process Isolation (acts on Subroutine)
- Model: Software Inventory (acts on Software)
D3FEND ontology version 1.6.0.
Read on 2026-11-02T23:54:16.526Z under licence d3fend-terms-of-use@f98cbc7e from https://d3fend.mitre.org/api/weakness/cwe/CWE-78.json
CWE-88: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')
- Restore: Restore Software (acts on Software)
- Harden: Trusted Library (acts on Subroutine)
- Isolate: Application-based Process Isolation (acts on Subroutine)
- Harden: Domain Logic Validation (acts on Subroutine)
- Harden: Software Update (acts on Software)
- Harden: Credential Scrubbing (acts on Subroutine)
- Model: Software Inventory (acts on Software)
- Model: Asset Vulnerability Enumeration (acts on Software)
- Harden: Variable Initialization (acts on Subroutine)
D3FEND ontology version 1.6.0.
Read on 2026-11-02T23:54:23.472Z under licence d3fend-terms-of-use@f98cbc7e from https://d3fend.mitre.org/api/weakness/cwe/CWE-88.json
MITRE D3FEND™ knowledge graph. © 2025 The MITRE Corporation.
"The MITRE Corporation (MITRE) hereby grants you a non-exclusive, royalty-free license to use D3FEND for research, development, and commercial purposes. Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy." Terms: https://d3fend.mitre.org/tou/
Sources and licences
CISA
Source: CISA Catalog of Known Exploited Vulnerabilities, version 2026.10.30, CC0 1.0. Use of this data does not imply endorsement by CISA or DHS.
National Vulnerability Database (NIST)
This product uses the NVD API but is not endorsed or certified by the NVD.
NVD API Terms of Use (NIST publications in the public domain, 17 U.S.C. 105)
CVE Program, The MITRE Corporation
Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation. CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy.
SigmaHQ
"Atlassian Bitbucket Command Injection Via Archive API" by Nasreddine Bencherchali (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules-emerging-threats/2022/Exploits/CVE-2022-36804/web_cve_2022_36804_atlassian_bitbucket_command_injection.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-LicenseMITRE D3FEND
MITRE D3FEND™ knowledge graph. © 2025 The MITRE Corporation.
"The MITRE Corporation (MITRE) hereby grants you a non-exclusive, royalty-free license to use D3FEND for research, development, and commercial purposes. Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy." Terms: https://d3fend.mitre.org/tou/MITRE D3FEND Terms of Use (site + knowledge graph); source repo MIT
Cite this page
Dragons Eye Ransomware Tracker, "CVE-2022-36804: Atlassian Bitbucket Server and Data Center Command Injection Vulnerability",
entity page, dataset version ref-95c9a37a3bb6, updated 2026-11-02T23:39:54.475Z,
https://ransomware-tracker.com/cve/CVE-2022-36804 (accessed 2026-11-03).
Underlying source: CISA Catalog of Known Exploited Vulnerabilities, version 2026.10.30.
Underlying source: National Vulnerability Database (NIST), CVE API 2.0, record last modified 2026-06-17T04:54:00.640.
Underlying source: CVE List (CVE Program, The MITRE Corporation), record updated 2025-10-21T23:15:36.273Z.
Underlying source: SigmaHQ rule 65c0a0ab-d675-4441-bd6b-d3db226a2685, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.
Underlying source: MITRE D3FEND, ontology version 1.6.0.
Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.