CVEs / CVE-2022-43781
CVE-2022-43781: Atlassian Bitbucket Data Center vulnerability
- critical 9.8 CVSS 3.1 (NVD)
- EPSS 98% chance of exploitation in the next 30 days, higher than 99% of CVEs (2 Dec 2026)
- Last changed at its sources
Are you affected? Check your servers with Stackurity: it lists the software on each server and the vulnerabilities to fix first.
Check your servers with Stackurity Already using Stackurity? Search for CVE-2022-43781
Description
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”.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| Atlassian Bitbucket Data Center | before 7.17.12 | — |
| Atlassian Bitbucket Data Center | before 7.21.6 | — |
| Atlassian Bitbucket Data Center | before 7.6.19 | — |
| Atlassian Bitbucket Data Center | before 8.0.5 | — |
| Atlassian Bitbucket Data Center | before 8.1.5 | — |
| Atlassian Bitbucket Data Center | before 8.2.4 | — |
| Atlassian Bitbucket Data Center | before 8.3.3 | — |
| Atlassian Bitbucket Data Center | before 8.4.2 | — |
| Atlassian Bitbucket Data Center | before 8.5.0 | — |
| Atlassian Bitbucket Server | before 7.17.12 | — |
| Atlassian Bitbucket Server | before 7.21.6 | — |
| Atlassian Bitbucket Server | before 7.6.19 | — |
| Atlassian Bitbucket Server | before 8.0.5 | — |
| Atlassian Bitbucket Server | before 8.1.5 | — |
| Atlassian Bitbucket Server | before 8.2.4 | — |
| Atlassian Bitbucket Server | before 8.3.3 | — |
| Atlassian Bitbucket Server | before 8.4.2 | — |
| Atlassian Bitbucket Server | before 8.5.0 | — |
| atlassian bitbucket | from 7.0.0, before 7.6.19 | 7.6.19 |
| atlassian bitbucket | from 7.7.0, before 7.17.12 | 7.17.12 |
| atlassian bitbucket | from 7.18.0, before 7.21.6 | 7.21.6 |
| atlassian bitbucket | from 7.22.0, before 8.0.5 | 8.0.5 |
| atlassian bitbucket | from 8.1.0, before 8.1.5 | 8.1.5 |
| atlassian bitbucket | from 8.2.0, before 8.2.4 | 8.2.4 |
| atlassian bitbucket | from 8.3.0, before 8.3.3 | 8.3.3 |
| atlassian bitbucket | from 8.4.0, before 8.4.2 | 8.4.2 |
Exploitation
Not in the CISA Known Exploited Vulnerabilities catalog as of 30 Nov 2026.
Severity
| CVSS 3.1 | 9.8 criticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HScored by NVD |
|---|---|
| Weakness | CWE-77 |
References
- CVE-2022-43781 on NVD
- https://confluence.atlassian.com/x/Y4hXRg Mitigation, Release Notes, Vendor Advisory
- https://jira.atlassian.com/browse/BSERV-13522 Issue Tracking, Patch, Vendor Advisory
Sources
Exploitation status from the CISA Known Exploited Vulnerabilities catalog. EPSS scores from FIRST. Descriptions, severity and references from the National Vulnerability Database. Open-source package versions from OSV (CC-BY 4.0). Text is shown as each source states it; Stackurity does not edit it. Check the vendor's advisory before acting.
This product uses data from the NVD API but is not endorsed or certified by the NVD.