Cyber Resilience

CVE-2022-36804

HighCISA KEVActive ExploitationEUVD ExploitedPublic PoCRCE

Published: 25 August 2022

Published
25 August 2022
Modified
24 October 2025
KEV Added
30 September 2022
Patch
CVSS Score v3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.9440 100.0th percentile
Risk Priority 94 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2022-36804 is a high-severity OS Command Injection (CWE-78) vulnerability in Atlassian Bitbucket. Its CVSS base score is 8.8 (High).

Operationally, ranked in the top 0.0% of CVEs by exploit likelihood; CISA has added it to the Known Exploited Vulnerabilities catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified are NIST 800-53 SI-10 (Information Input Validation) and SI-2 (Flaw Remediation).

Deeper analysis

CVE-2022-36804 is a command injection vulnerability affecting multiple API endpoints in Atlassian Bitbucket Server and Data Center. Impacted versions include 7.0.0 prior to 7.6.17, 7.7.0 prior to 7.17.10, 7.18.0 prior to 7.21.4, 8.0.0 prior to 8.0.3, 8.1.0 prior to 8.1.3, 8.2.0 prior to 8.2.2, and 8.3.0 prior to 8.3.1. The flaw, assigned CWE-78 and CWE-88, permits arbitrary code execution when an attacker supplies crafted input to the affected endpoints.

An attacker who already possesses read access to any public or private repository can exploit the issue by sending a single malicious HTTP request. Successful exploitation grants the ability to run arbitrary commands on the Bitbucket server with the privileges of the application process, resulting in full confidentiality, integrity, and availability impact as reflected in the CVSS 8.8 score.

Publicly available references include the Atlassian Jira issue BSERV-13438, which documents the affected releases and the corrected versions, as well as multiple exploit artifacts published on PacketStorm. Upgrading to one of the fixed releases listed in the advisory is the primary mitigation.

PacketStorm hosts working exploit code for the vulnerability, and the EPSS score has reached a peak of 0.9756 with a current value of 0.9440, indicating sustained exploitation interest after disclosure.

EU & UK References

Vulnerability details

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…

more

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.

CWE(s)
KEV Date Added
30 September 2022

Related Threats

No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.

Affected Assets

atlassian
bitbucket
8.3.0 · 7.0.0 — 7.6.17 · 7.7.0 — 7.17.10 · 7.18.0 — 7.21.4

Mitigating Controls

Mitigating Controls (NIST 800-53 r5) AI

prevent

Directly requires timely application of vendor patches that close the command-injection flaw in the listed Bitbucket versions.

prevent

Mandates validation of all HTTP-supplied parameters before they are passed to Git commands, blocking the CWE-78/CWE-88 injection vector.

prevent

Limits the Bitbucket process to the minimum privileges needed, reducing the impact of successful arbitrary-code execution.

References