CVE-2022-43781: atlassian bitbucket
Vulnerability summary
CVE-2022-43781 is a critical (CVSS 9.8) vulnerability in atlassian bitbucket. EPSS estimates a 98.04% chance of exploitation in the next 30 days, higher than 99.9% of scored vulnerabilities. 1 public exploit is recorded.
Weaponized exploit (Metasploit, 16-11-2022)
Source freshness unavailable
How is this decided?Timeline
- 17-11-2022PublishedVulnerability first disclosed.
- 02-10-2024Last modifiedVulnerability information updated.
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”.
CVSS metrics
2 scores · 2 sources · 1 version- NVDNIST9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
98.04%
Chance of exploitation in the next 30 days
Percentile
100%
Versus all other CVEs
30-day change
Decrease -0.04 pp
From 98.08% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundBitbucket Environment Variable RCE
exploit/multi/http/bitbucket_env_var_rce
Maturity: weaponized
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Atlassian3 products
- bitbucket≥ 7.0.0, < 7.6.19 | ≥ 7.7.0, < 7.17.12 | ≥ 7.18.0, < 7.21.6 | ≥ 7.22.0, < 8.0.5 | ≥ 8.1.0, < 8.1.5 | ≥ 8.2.0, < 8.2.4 | ≥ 8.3.0, < 8.3.3 | ≥ 8.4.0, < 8.4.2
- bitbucket_data_center< 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
- bitbucket_server< 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
1 vendor · 3 products