Command injection in Atlassian Bitbucket Data Center
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA. Impact type from CWE-77.
Summary
There is a command injection vulnerability using environment variables in Bitbucket Server and Data Center. An attacker with permission to control their username can exploit this issue to execute arbitrary code on the system. This vulnerability can be unauthenticated if the Bitbucket Server and Data Center instance has enabled “Allow public signup”.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Atlassian | Bitbucket Data Center | before 7.17.12; before 7.21.6; before 7.6.19; before 8.0.5; before 8.1.5; before 8.2.4; before 8.3.3; before 8.4.2; before 8.5.0 | before 7.0, 7.17.12, 7.21.6, 7.6.19, 8.0.5, 8.1.5, 8.2.4, 8.3.3, 8.4.2, 8.5.0 | Patch available | CNA |
| Atlassian | Bitbucket Server | before 7.17.12; before 7.21.6; before 7.6.19; before 8.0.5; before 8.1.5; before 8.2.4; before 8.3.3; before 8.4.2; before 8.5.0 | before 7.0, 7.17.12, 7.21.6, 7.6.19, 8.0.5, 8.1.5, 8.2.4, 8.3.3, 8.4.2, 8.5.0 | Patch available | CNA |
- Bitbucket Data Center VendorAtlassian Affected before 7.17.12; before 7.21.6; before 7.6.19; before 8.0.5; before 8.1.5; before 8.2.4; before 8.3.3; before 8.4.2; before 8.5.0 Fixed in before 7.0, 7.17.12, 7.21.6, 7.6.19, 8.0.5, 8.1.5, 8.2.4, 8.3.3, 8.4.2, 8.5.0 Patch available CNA
- Bitbucket Server VendorAtlassian Affected before 7.17.12; before 7.21.6; before 7.6.19; before 8.0.5; before 8.1.5; before 8.2.4; before 8.3.3; before 8.4.2; before 8.5.0 Fixed in before 7.0, 7.17.12, 7.21.6, 7.6.19, 8.0.5, 8.1.5, 8.2.4, 8.3.3, 8.4.2, 8.5.0 Patch available CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:atlassian:bitbucket:*:*:*:*:*:*:*:* | 7.0.0 to before 7.6.19; 7.7.0 to before 7.17.12; 7.18.0 to before 7.21.6; 7.22.0 to before 8.0.5; 8.1.0 to before 8.1.5; 8.2.0 to before 8.2.4; 8.3.0 to before 8.3.3; 8.4.0 to before 8.4.2 | Vulnerable | Atlassian |
- cpe:2.3:a:atlassian:bitbucket:*:*:*:*:*:*:*:* Versions 7.0.0 to before 7.6.19; 7.7.0 to before 7.17.12; 7.18.0 to before 7.21.6; 7.22.0 to before 8.0.5; 8.1.0 to before 8.1.5; 8.2.0 to before 8.2.4; 8.3.0 to before 8.3.3; 8.4.0 to before 8.4.2 Vulnerable ·Atlassian
Remediation
- Fix · CNA Bitbucket Data Center (Atlassian) Fixed in before 7.0, 7.17.12, 7.21.6, 7.6.19, 8.0.5, 8.1.5, 8.2.4, 8.3.3, 8.4.2, 8.5.0
- Fix · CNA Bitbucket Server (Atlassian) Fixed in before 7.0, 7.17.12, 7.21.6, 7.6.19, 8.0.5, 8.1.5, 8.2.4, 8.3.3, 8.4.2, 8.5.0
Timeline
- 2026-10-02 Threatist record created from CVE-2022-43781
- 2026-10-03 Alias added: GHSA-3883-h64p-r3xm
References
More Atlassian Bitbucket vulnerabilities
- TI-2022-17043 OS command injection in Atlassian Bitbucket Server KEVCVSS 3.1HIGH 8.8
- TI-2022-09598 Improper authentication in Atlassian Bamboo Server CVSS 3.1CRITICAL 9.8
- TI-2019-11186 OS command injection in Atlassian Bitbucket Server CVSS 3.1CRITICAL 9.8
- TI-2018-03782 Link following in Atlassian Bitbucket Server CVSS 3.0CRITICAL 9.9
- TI-2019-02555 Path traversal in Atlassian Bitbucket Data Center CVSS 3.0CRITICAL 9.1
- TI-2022-09599 Origin validation error in Atlassian Bamboo Server CVSS 3.1HIGH 8.8
Sources
- CVE-2022-43781 · CVE Program
- CVE-2022-43781 · NVD
- FIRST EPSS
- GHSA-3883-h64p-r3xm · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences