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,
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
- Aug 25, 2022
- Updated
- Jun 17, 2026
- EPSS
- 99.2% · 100th percentile
- CWE
- CWE-78
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
95
Now
Patch today or shut off access.
- CVSS
- 35 / 40 · 8.8 / 10
- CISA KEV
- 30 / 30 · Listed
- EPSS
- 30 / 30 · 99.2%
CISA SSVC decision
- Exploitation
- active
- Automatable
- no
- Technical impact
- total
Vulnrichment: CISA's decision-tree inputs.
Actively exploited in the wild
CISA added this to its Known Exploited Vulnerabilities catalog on Sep 30, 2022. That signals real attacks, not theory.
Remediation deadline for government agencies: Oct 21, 2022.
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| atlassian | bitbucket | cpe:2.3:a:atlassian:bitbucket |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- atlassian bitbucket7.0.0 and later · before 7.6.17
- atlassian bitbucket7.7.0 and later · before 7.17.10
- atlassian bitbucket7.18.0 and later · before 7.21.4
- atlassian bitbucket8.0.0 and later · before 8.0.3
- atlassian bitbucket8.1.0 and later · before 8.1.3
- atlassian bitbucket8.2.0 and later · before 8.2.2
- atlassian bitbucket8.3.0
Versions reported by the vendor
Affected version ranges reported by the assigning authority (atlassian). Independent of NVD's CPE analysis and usually ahead of it.
Atlassian Bitbucket Data Center
- 7.0.0 and later · before unspecifiedaffected
- unspecified and later · before 7.6.17affected
- 7.7.0 and later · before unspecifiedaffected
- unspecified and later · before 7.17.10affected
- 7.18.0 and later · before unspecifiedaffected
- unspecified and later · before 7.21.4affected
- 8.0.0 and later · before unspecifiedaffected
- unspecified and later · before 8.0.3affected
- 8.1.0 and later · before unspecifiedaffected
- unspecified and later · before 8.1.3affected
Atlassian Bitbucket Server
- 7.0.0 and later · before unspecifiedaffected
- unspecified and later · before 7.6.17affected
- 7.7.0 and later · before unspecifiedaffected
- unspecified and later · before 7.17.10affected
- 7.18.0 and later · before unspecifiedaffected
- unspecified and later · before 7.21.4affected
- 8.0.0 and later · before unspecifiedaffected
- unspecified and later · before 8.0.3affected
- 8.1.0 and later · before unspecifiedaffected
- unspecified and later · before 8.1.3affected
Same product
atlassian: all recordsOther highest-scoring records for the same primary product.
- CVE-2022-43781There is a command injection vulnerability using environment variables in Bitbucket Server and Data Center.68This week
- CVE-2019-15000The commit diff rest endpoint in Bitbucket Server and Data Center before 5.16.10 (the fixed version for 5.16.x ), from 6.0.0 before 6.0.10 (41Plan
- CVE-2018-5225In browser editing in Atlassian Bitbucket Server from version 4.13.0 before 5.4.8 (the fixed version for 4.13.0 through 5.4.7), 5.5.0 before40Plan
- CVE-2019-3397Atlassian Bitbucket Data Center licensed instances starting with version 5.13.0 before 5.13.6 (the fixed version for 5.13.x), from 5.14.0 be37Monitor
- CVE-2019-20097Bitbucket Server and Bitbucket Data Center versions starting from 1.0.0 before 5.16.11, from version 6.0.0 before 6.0.11, from version 6.1.036Monitor
- CVE-2019-15010Bitbucket Server and Bitbucket Data Center versions starting from version 3.0.0 before version 5.16.11, from version 6.0.0 before 6.0.11, fr36Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
No fix version is recorded for this entry. Check the references for vendor advisories.
Exploit status
Weaponized
A ready exploit tool or active in-the-wild use is known for this vulnerability. This should be your top priority.
Evidence
- Metasploit module ×1
- Exploit-DB entry ×1
- Nuclei detection template ×1
- Proof-of-concept repository on GitHub ×19
Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.
| Source | Kind | Date |
|---|---|---|
| Exploit-DB entry | webapps | 2023-03-23 |
| Metasploit module | exploit/linux/http/bitbucket_git_cmd_injectionBitbucket Git Command Injectionexploit | 2022-08-24 |
| Nuclei detection template | Nuclei template CVE-2022-36804 | — |
| Proof-of-concept repository on GitHub | stars:35 | 2022-09-07 |
| Proof-of-concept repository on GitHub | stars:18 | 2022-09-19 |
| Proof-of-concept repository on GitHub | stars:0 | 2022-09-20 |
| Proof-of-concept repository on GitHub | stars:16 | 2022-09-20 |
| Proof-of-concept repository on GitHub | stars:3 | 2022-09-20 |
| Proof-of-concept repository on GitHub | stars:7 | 2022-09-21 |
| Proof-of-concept repository on GitHub | stars:4 | 2022-09-23 |
| Proof-of-concept repository on GitHub | stars:3 | 2022-09-24 |
| Proof-of-concept repository on GitHub | stars:0 | 2022-09-24 |
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
- Metasploit-1 d
- Published
- First PoC+13 d
- CISA KEV+36 d
- TodaySep 29, 2026+1497 d
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
The product’s vendor appears in a public program. Matched by name; verify the scope text in the program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvd-primary
Root cause
User input is inserted as text into a shell command. The shell may interpret special characters in the input as part of the command.
The bug in code
The whole CWE-78 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
const host = req.body.host;exec("ping -c 1 " + host, onResult);Fixed
const host = req.body.host;if (!/^[a-z0-9.-]{1,253}$/i.test(host)) return res.sendStatus(400);execFile("ping", ["-c", "1", host], onResult);Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Command Line Execution through SQL InjectionCAPEC-108likelihood: Low · Very High
- Command DelimitersCAPEC-15likelihood: High · High
- Exploiting Multiple Input Interpretation LayersCAPEC-43likelihood: Medium · High
- Argument InjectionCAPEC-6likelihood: High · High
- OS Command InjectionCAPEC-88likelihood: High · High
ATT&CK techniques
—
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpChange log
No changes recorded on tracked fields yet. Score, KEV, exploit maturity and fix status changes appear here.
References
- jira.atlassian.com/browse/BSERV-13438
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-36804
Vendor advisories and official records. Exploit/PoC links are deliberately left out.