CVE-2022-36804: Atlassian Bitbucket Server and Data Center Command Injection Vulnerability
CVE-2022-36804 is a high-severity flaw (CVSS 8.8) affecting bitbucket, reported as exploited in the wild. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 ar
Why this priority
- High severity
- EPSS top 1%: very likely to be exploited
- Exploited in the wild (CISA KEV)
- Public exploit reference
A fixed release or distro patch exists.
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Exploited Added to the CISA Known Exploited Vulnerabilities list
- Deadline CISA due date for US federal agencies to patch
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- GitHub PoC: notdls/CVE-2022-36804 (35 stars)
- GitHub PoC: notxesh/CVE-2022-36804-PoC (18 stars)
- GitHub PoC: benjaminhays/CVE-2022-36804-PoC-Exploit (16 stars)
- GitHub PoC: 0xEleven/CVE-2022-36804-ReverseShell
- GitHub PoC: BenHays142/CVE-2022-36804-PoC-Exploit
- Exploit-DB: Atlassian Bitbucket 7.0.0 - Remote Code Execution (RCE)
- Metasploit: Bitbucket Git Command Injection
- Nuclei scan template: Atlassian Bitbucket - Remote Command Injection
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2022-36804?
bitbucket: upgrade to 7.6.17, 7.17.10, 7.21.4, 8.0.3, 8.1.3, 8.2.2. Exact commands for each OS are on this page.
Is CVE-2022-36804 being exploited?
Yes. CVE-2022-36804 is on the CISA Known Exploited Vulnerabilities list, so treat it as patch-now.
What does CVE-2022-36804 affect?
CVE-2022-36804 affects bitbucket. Severity is high (CVSS 8.8). 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.
How urgent is CVE-2022-36804?
Priority 86/100. High severity; EPSS top 1%: very likely to be exploited; Exploited in the wild (CISA KEV); Public exploit reference
Software pages
Related CVEs
- CVE-2022-43781 CRITICAL 9.8 UPGRADE There is a command injection vulnerability using environment variables in Bitbucket Server and Data Center
- CVE-2022-26137 HIGH 8.8 UPGRADE UPGRADE A vulnerability in multiple Atlassian products allows a remote, unauthenticated attacker to cause additional S
- CVE-2022-26136 CRITICAL 9.8 UPGRADE UPGRADE A vulnerability in multiple Atlassian products allows a remote, unauthenticated attacker to bypass Servlet Fil
- CVE-2020-36233 HIGH 7.8 UPGRADE The Microsoft Windows Installer for Atlassian Bitbucket Server and Data Center before version 6.10.9, 7.x befo
- CVE-2020-14171 MEDIUM 6.5 UPGRADE Atlassian Bitbucket Server from version 4.9.0 before version 7.2.4 allows remote attackers to intercept unencr