CVE-2022-36804 — Atlassian
HIGHCVE-2022-36804 is a high-severity (CVSS 8.8) OS Command Injection vulnerability. It is in CISA's Known Exploited Vulnerabilities catalog (added 2022-09-30) — treat it as actively exploited and patch now. No vendor fix is recorded yet; mitigation options are listed below.
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,…
Exploitation Status
Actively exploited in the wild
- Confirmed by CISA's Known Exploited Vulnerabilities catalog on 2022-09-30. Federal agencies were required to remediate by 2022-10-21.
- A successful exploit gives an attacker total control of the affected component, not partial access.
Exploitation and automatability from CISA (KEV catalog and SSVC triage) for CVE-2022-36804.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
CVE-2022-36804 by exploitation likelihood (EPSS) against impact (CVSS). In the shaded patch-first corner (EPSS 50%+, CVSS 7.0+).
Where this sits among everything scored
Of 394,803 CVEs with a current EPSS score, this one falls in the ≥ 90% band (highlighted). Counts from FIRST.org, log-scaled.
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.
Affected Products
bitbucketatlassianResearch use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
Bitbucket v7.0.0 - RCE
by khal4n1 · Mar 23, 2023
Detection & mitigation playbook
VulnerabilityDetect
Identify every host running the affected component and compare the installed build against the fixed version below — for source-built or distro-packaged software the version string, not a lockfile, is the source of truth (`dpkg -l`, `rpm -q`, or the binary's own `--version`).
Remediation status
No fixed release is recorded for CVE-2022-36804 yet. Track the upstream advisory, and apply the exposure-reduction steps below in the meantime.
Mitigate without a patch
Stop passing untrusted input into the interpreter or shell: call the affected binary with an argument array rather than a composed command string, reject anything outside a strict allowlist of expected values, and run the component under an account that cannot reach beyond the work it legitimately does.
How to detect CVE-2022-36804
A community-maintained Nuclei template exists for this CVE. You can scan for it directly:
nuclei -id cve-2022-36804 -u https://target- Template
- Atlassian Bitbucket - Remote Command Injection
- Severity
- high
- Impact
- Successful exploitation of this vulnerability can lead to unauthorized access, data leakage, and potential compromise of the entire system.
- Remediation
- Apply the latest security patches provided by Atlassian to mitigate the vulnerability.
Template by ProjectDiscovery nuclei-templates (DhiyaneshDk, tess, sullo), MIT licensed. View the full template. Scan only systems you are authorised to test.
Frequently Asked Questions
Is CVE-2022-36804 in your dependencies?
Find it across , including transitive dependencies.