CVE-2022-36804
CVE-2022-36804 — Atlassian Bitbucket Server and Data Center Command Injection Vulnerability
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.
Published Updated Sources: NVD, Atlassian (CNA), CISA, FIRST EPSS, GitHub, GitHub Security Advisory, Exploit-DB, SOCRadar CTI
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Confirmed
CISA KEV, listed Sep 30, 2022
EPSS
99%
top of FIRST's scoreset
CVSS base
8.8
high
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
Active
none · proof-of-concept · active
Automatable
No
can an attacker script all four kill-chain steps
Technical impact
Total
partial · total control of the vulnerable component
Remediation
The vendor's own words where we have them.
Upgrade Bitbucket Server to a fixed release. Apply vendor patches per advisory and restrict external exposure of the affected component until patched.
CISA required action
Apply updates per vendor instructions.
Federal deadline Oct 21, 2022 — passed 1,505 days ago
First 24 hours
Ordered from the record's own fields — exposure first, because you cannot patch what you have not found.
- Identify exposed assets running affected vendor/product/version combinations.
- Treat as emergency remediation because CISA KEV status is present.
- Search available logs for exploit probes, errors, authentication anomalies, or suspicious child processes matching the vulnerability class.
Affected scope
Vendor, product and version as the advisories word them.
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Atlassian | Bitbucket Server | 7.0.0 | Vulnerable |
| Atlassian | Bitbucket Server | unspecified to < 7.6.17 | Vulnerable |
| Atlassian | Bitbucket Server | 7.7.0 | Vulnerable |
| Atlassian | Bitbucket Server | unspecified to < 7.17.10 | Vulnerable |
| Atlassian | Bitbucket Server | 7.18.0 | Vulnerable |
| Atlassian | Bitbucket Server | unspecified to < 7.21.4 | Vulnerable |
| Atlassian | Bitbucket Server | 8.0.0 | Vulnerable |
| Atlassian | Bitbucket Server | unspecified to < 8.0.3 | Vulnerable |
| Atlassian | Bitbucket Server | 8.1.0 | Vulnerable |
| Atlassian | Bitbucket Server | unspecified to < 8.1.3 | Vulnerable |
| Atlassian | Bitbucket Server | 8.2.0 | Vulnerable |
| Atlassian | Bitbucket Server | unspecified to < 8.2.2 | Vulnerable |
Attack characteristics
The CVSS vector, decoded. It describes the attack, not your exposure to it.
Availability
High
Confidentiality
High
Integrity
High
Scope
Unchanged
Attack Complexity
Low
Attack Vector
Network
Privileges Req
Low
User Interaction
None
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 8.8 | CVSS 3.1 | high | 2.8 | 5.9 | NVD, CNA, GHSA |
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What this weakness leads to
MITRE's own consequences and mitigations for the weakness class — the authority's wording, not guidance derived from the CVSS vector.
CWE-88 · Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')
- Execute Unauthorized Code or Commands
- Alter Execution Logic
- Read Application Data
- Modify Application Data
Mitigation: Where possible, avoid building a single string that contains the command and its arguments. Some languages or frameworks have functions that support specifying independent arguments, e.g. as an array, which is used to automatically perform the appropriate quoting or escaping while building the command. For example, in PHP, escapeshellarg() can be used to escape a single argument to system(), or exec() can be called with an array of arguments. In C, code can often be refactored from using system() - which accepts a single string - to using exec(), which requires separate function arguments for each parameter.
CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
- Execute Unauthorized Code or Commands
- DoS: Crash, Exit, or Restart
- Read Files or Directories
- Modify Files or Directories
Mitigation: If at all possible, use library calls rather than external processes to recreate the desired functionality.
Weakness & attack patterns
- CWE-78OS Command Injection
- CWE-88
- CWE-77Command Injection
Attack patterns reported against this CVE. The ATT&CK techniques below are inferred from its weakness class.
CISA KEV details
CISA lists a CVE here once it has evidence of exploitation against real targets.
Listed
Sep 30, 2022
Federal deadline
Oct 21, 2022
passed 1,505 days ago
Ransomware use
Unknown
CISA records ransomware use only for campaigns it has confirmed, so “Unknown” means unrecorded, not ruled out. The deadline binds US federal agencies; for everyone else it is a date to argue against.
Public exploit
Capability, not use: code existing is a different claim from anyone running it.
PoC repos
61
1 of the 5 sampled are weaponized
Exploit entries
35
Exploit-DB and CTI exploit indexes
Detection rules
Sigma and YARA rules a source published for this CVE — the only detection content any connected source supplies.

Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Prioritize edge telemetry for network-reachable Bitbucket Server, Bitbucket Data Center.
- Monitor for scanner or exploit-pattern traffic after 96 public PoC repositories were reported.
Groups associated with this CVE
Groups reported in connection with this vulnerability. A reported association, not a confirmed observation of that group using it — and not scoped to any sector or campaign.
- hashc672798dca67f796972b42ad0c89e25d589d2e70eb41892d26adbb6a79f6388798
Kaspersky Public Requests · Sep 15, 2020
- ip31.184.240.3453
usom.phishing-General-List · Sep 8, 2023
- ip185.122.204.19738
Threatview.io Feeds · Sep 8, 2023
- hash2327be693bc11a618c380d7d3abc2382d870d48b100
OSINT DigitalSide.it · May 29, 2021
- hash0a427f86b4360fb603c6e3c5878c9be7ced59adc98
OSINT DigitalSide.it · Nov 23, 2021
1 more indicators on this CVEShowing 5 of 6 · Hashes, addresses and domains from a live threat exchangeUnlock freeTimeline
What happened to this CVE, newest first — with the readings a source repeats on a schedule counted underneath rather than listed.
- 2026
Added · CVSS 3.1 8.8 (AV:N)
Jun 17, 2026 · NVD
Cve is exploited DanielHallbro/CVE-2022-36804-Bitbucket-RCE-Analysis
Mar 2, 2026 · SOCRadar CTI
- 2025
Bulletin released on NIST.
Oct 16, 2025 · SOCRadar CTI
Bulletin released on NIST.
Oct 16, 2025 · SOCRadar CTI
Bulletin released on Mitre.
Jan 29, 2025 · SOCRadar CTI
Bulletin released on NIST.
Jan 29, 2025 · SOCRadar CTI
- 2024
Bulletin released on NIST.
Jun 28, 2024 · SOCRadar CTI
CVE is exploited. "k0mi-tg/CVE-POC"
Feb 2, 2024 · SOCRadar CTI
CVE is exploited. "Ostorlab/KEV"
Jan 23, 2024 · SOCRadar CTI
CVE is exploited. "benjaminhays/CVE-2022-36804-PoC-Exploit"
Jan 23, 2024 · SOCRadar CTI
- 2023
CVE is exploited. "luck-ying/Goby2.0-POC"
Dec 14, 2023 · SOCRadar CTI
CVE is exploited. "luck-ying/Library-POC"
Dec 14, 2023 · SOCRadar CTI
CVE is exploited. "manas3c/CVE-POC"
Dec 14, 2023 · SOCRadar CTI
CVE is exploited. "nomi-sec/PoC-in-GitHub"
Dec 14, 2023 · SOCRadar CTI
CVE is exploited. "tahtaciburak/cve-2022-36804"
Dec 14, 2023 · SOCRadar CTI
CVE is exploited. "vj4336/CVE-2022-36804-ReverseShell"
Dec 14, 2023 · SOCRadar CTI
Added · webapps entry: Atlassian Bitbucket 7.0.0 - Remote Code Execution (RCE)
Mar 23, 2023 · Exploit-DB
- 2022
Added to CISA KEV catalog
Sep 30, 2022 · CISA
Added · GHSA-vcm2-j8f4-m7fj published (high)
Aug 26, 2022 · GitHub Security Advisory
Initial · CVE published
Aug 25, 2022 · NVD
Source activity
Readings a source repeats on a schedule, counted rather than listed.
- 7×Github ReposFeb 2, 2024 – Aug 21, 2026 · SOCRadar CTI
- 5×SVRS was changedMar 28, 2025 – Aug 21, 2026 · SOCRadar CTI
- 2×ModifiedJan 29, 2025 – Feb 9, 2025 · SOCRadar CTI
References
9 on the record
- packetstormsecurity.com/files/168470/Bitbucket-Git-Command-Injection.html
Exploit, Third Party Advisory, VDB Entry, GITHUB, NIST
- packetstormsecurity.com/files/171453/Bitbucket-7.0.0-Remote-Command-Execution.html
Exploit, Third Party Advisory, VDB Entry, NIST, GITHUB
- jira.atlassian.com/browse/BSERV-13438
Issue Tracking, Patch, Release Notes, Vendor Advisory, NIST, MITRE, MITRE_REFERENCES
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-36804
US Government Resource
- nvd.nist.gov/vuln/detail/CVE-2022-36804
NVD, INTW, Vendor Advisory
- github.com/advisories/GHSA-vcm2-j8f4-m7fj
Exploit, Third Party Advisory
- www.exploit-db.com/exploits/51040
Vendor Advisory
- twitter.com/Shadowserver/status/1573300004072132608
INTW
Coverage
2 stories from the feeds we poll
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2026-21589 Atlassian Multiple Products Files or Directories Accessible to External Parties VulnerabilityCVSS 7.5 · CISA KEV
- CVE-2026-105134 Ahsay AhsayCBS Replication Receiver UpdateReceivers.do os command injectionCVSS 10.0 · CISA KEV
- CVE-2026-49869 Kestra: Unauthenticated Remote Code Execution via Authentication Bypass in `AuthenticationFilter`CVSS 10.0 · CISA KEV
- CVE-2026-16812 VeloCloud Orchestrator OS Command InjectionCVSS 10.0 · CISA KEV
- CVE-2026-10520 Ivanti Sentry OS Command Injection VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2024-3400 PAN-OS: Arbitrary File Creation Leads to OS Command Injection Vulnerability in GlobalProtectCVSS 10.0 · CISA KEV
Elsewhere on this site
- Atlassianevery CVE for this vendor
- Bitbucket Serverevery page on this product
- Bitbucket Data Centerevery page on this product
- September 2022what else CISA listed
- Remote Code Execsame class
- CWE-78other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- Only the 5 indicator(s) reported for this CVE are available; no packet-level or host-forensic artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.
Answered from this record1
What should defenders know first?
CVE-2022-36804 is Atlassian Bitbucket Server and Data Center Command Injection Vulnerability, a high vulnerability affecting Bitbucket Server, Bitbucket Data Center from Atlassian. The current evidence lists it in CISA KEV, and the exploit status is: Yes: CISA KEV signal present. Public exploit evidence is: 96 public PoC repositories reported; 1 marked weaponized in current dataset. The affected-version evidence is listed in the key facts and affected products tables. Defenders should first verify whether exposed or business-critical assets run those versions, then apply vendor patches or mitigations, restrict reachable attack surface, and preserve logs for detection review. CVSS 8.8 describes technical severity, while EPSS 99% helps estimate near-term exploit likelihood; neither replaces asset context. Unknown fields should remain explicit in tickets, and threat actor, IOC, victimology, or payload claims should not be added unless a cited source supports them. Monitor CISA KEV, vendor advisories, NVD changes, public PoC repositories, and internal telemetry for update triggers.