patchminder
Exploited in the wild · CISA KEV CVE-2022-36804

Remote code executionin Atlassian Bitbucket Server.

Published 25 Aug 2022 · Updated 21 Oct 2025 · Every fact sourced

JSONCite
Is it exploited?
Yes

On CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks.'s exploited list since 30 Sep 2022.

On CISA's listAttack code is public
Severity
High 8.8
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1 · CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks. assessment
Attack likelihood
Very high
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 99.0% chance in 30 days · 4 Dec 2026
Fix
Not confirmed
No source names a fixed version yet
In plain words

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.

CISA: 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.

What to do now
  • CISA requires US federal agencies to fix it by 21 Oct 2022.

Not confirmed by any source yet: affected versions not confirmed; fixed version not confirmed. We show these as not confirmed instead of guessing.

Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
Bitbucket Server
Not confirmed
Not confirmed
CVE record
Bitbucket Data Center
Not confirmed
Not confirmed
CVE record

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 26 Jul 2022
    CVE ID reserved by atlassian.
  2. 24 Aug 2022
    Metasploit module: Bitbucket Git Command Injection.
  3. 25 Aug 2022
    Published in the CVE List.
  4. 7 Sep 2022
    First public proof of concept on GitHub.
  5. 30 Sep 2022
    Added to CISA's Known Exploited Vulnerabilities list.
  6. 21 Oct 2025
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Exploited in the wild (CISA KEV). CISA assessment (SSVC): exploitation active.

Metasploit module
1 module
Nuclei scan template
Available
Exploit-DB
1 entry
GitHub proof of concepts
18 repositories
2 flagged suspicious
MetasploitBitbucket Git Command Injectionrank excellentLinked once a fix or workaround is known.
NucleiAtlassian Bitbucket · Remote Command Injectiondetection templateLinked once a fix or workaround is known.
Exploit-DBEDB-ID 51040web application exploit for python, published 23 Mar 2023Linked once a fix or workaround is known.
GitHubsuspicious, do not runnotdls/CVE-2022-36804No link: this repository shows warning signs. Do not run it.Why: advertises a ready-made exploit
GitHubsuspicious, do not runsh4den/CVE-2022-36804No link: this repository shows warning signs. Do not run it.Why: uses words typical for malware

8 proof of concept repositories on GitHub. No fix or workaround is known yet, so we count them but do not link to them.

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other Bitbucket Server vulnerabilities

Same weakness: OS command injection

All CWE-78 vulnerabilities

References
Cite this page

Patchminder. CVE-2022-36804: Remote code execution in Atlassian Bitbucket Server. https://patchminder.com/cve/cve-2022-36804/ (accessed 5 December 2026).