What it is
CVE-2022-36804 is a vulnerability affecting Atlassian Bitbucket Server, Bitbucket Data Center. Multiple API endpoints in Atlassian Bitbucket Server and Data Center 7.0.0 before version 7.6.17, from version 7.7.0...
Vulnerability report
Bitbucket Server
Atlassian / Bitbucket Server · affected before unspecified
Decision summary
Direct answers before the deeper technical record.
What it is
CVE-2022-36804 is a vulnerability affecting Atlassian Bitbucket Server, Bitbucket Data Center. Multiple API endpoints in Atlassian Bitbucket Server and Data Center 7.0.0 before version 7.6.17, from version 7.7.0...
Is it exploited?
Yes. KEV Intelligence tracks this CVE as a known exploited vulnerability. Confidence is confirmed.
Who is affected?
Atlassian / Bitbucket Server affected before unspecified.
What should we do?
Prioritize remediation. Validate affected assets and apply vendor fixes on an accelerated timeline.
Overview
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.
Exploitation evidence
Third-party attestation and first-party sensor observation are shown separately so teams can judge the evidence chain.
CISA
Independent exploitation attestation added to the KEV Intelligence record.
GitHub
Public scanner or PoC coverage increases practical exploitability.
Per-source evidence links for KEV attestations are available through the KEV Intelligence Pro API.
Learn about Pro API access| Source | Added |
|---|---|
| CISA First | 2022-09-30 00:00 UTC |
Detection
Make the evidence actionable in scanner, SOC, and edge-control workflows.
Raw values available in Pro and Enterprise.
Metasploit template detected 28 Apr 2025.
View Metasploit template (opens in new tab)No KEV Intelligence virtual patch is currently available. Future rules ship for ModSecurity, Cloudflare, and AWS WAF.
Learn about virtual patches →Scanner and exploit-framework references linked to this CVE.
| Scanner | Reference | Detected |
|---|---|---|
| Metasploit | https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/bitbucket_git_cmd_injection.rb | 28 Apr 2025 |
| Nuclei | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-36804.yaml | 25 Apr 2025 |
Risk and context
CVSS v3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
99.1%
These PoCs are unverified and could contain malware. Use at your own risk.
github · Created 2022-10-04 08:26:12 UTC · 7 stars
Atlassian Bitbucket Server and Data Center - Command Injection Vulnerability (CVE-2022-36804)
github · Created 2022-09-26 08:35:31 UTC · 12 stars
A loader for bitbucket 2022 rce (cve-2022-36804)
github · Created 2022-09-24 18:46:56 UTC · 0 stars
PoC exploit for CVE-2022-36804 (BitBucket Critical Command Injection)
github · Created 2022-09-24 05:04:30 UTC · 3 stars
You can find a python script to exploit the vulnerability on Bitbucket related CVE-2022-36804.
github · Created 2022-09-23 11:05:22 UTC · 3 stars
PoC exploit for CVE-2022-36804 (BitBucket Critical Command Injection)
github · Created 2022-09-21 10:36:50 UTC · 7 stars
Bitbucket CVE-2022-36804 unauthenticated remote command execution
github · Created 2022-09-20 02:35:53 UTC · 16 stars
Somewhat Reliable PoC Exploit for CVE-2022-36804 (BitBucket Critical Command Injection)
github · Created 2022-09-19 13:15:13 UTC · 18 stars
Multithreaded exploit script for CVE-2022-36804 affecting BitBucket versions <8.3.1
github · Created 2022-09-07 09:35:49 UTC · 36 stars
A real exploit for BitBucket RCE CVE-2022-36804
nuclei · Created Unknown
Timeline
Exploit module available
Scanner coverage available
Listed in the CISA Known Exploited Vulnerabilities catalog
Public proof-of-concept code published
Vulnerability disclosed publicly
Identifier reserved by the CNA
Pro API
Confidence, exploit status, sensor telemetry, PoCs, scanner integrations, mentions, and tags are available programmatically for VM, SOC, and CTI workflows.
GET /api/v2/pro/kevs/CVE-2022-36804
Free JSON includes basic KEV fields{
"cve_id": "CVE-2022-36804",
"confidence": "Confirmed",
"cvss_score": 8.8,
"epss_score": 0.99077,
"exploit_status": {
"exploited_in_the_wild": true,
"active_exploitation_observed": false
},
"sensor_telemetry": { "attempts": 0, "sensors": 0 }
}