Critical severity · published Nov 17, 2022
CVE-2022-43781
There is a command injection vulnerability using environment variables in Bitbucket Server and Data Center
9.8
CVSS
98%
EPSS
No
On KEV
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 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)98.0% · higher than 100% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
BI
Bitbucket · Atlassian
7.0.0 before 7.6.19; 7.7.0 before 7.17.12; 7.18.0 before 7.21.6; 7.22.0 before 8.0.5; 8.1.0 before 8.1.5; 8.2.0 before 8.2.4; +2 more · source: NVD
Affected product
BI
Bitbucket
Atlassian
More from Bitbucket
8.8
CVE-2022-36804
Atlassian Bitbucket Server and Data Center Command Injection Vulnerability
7.5
CVE-2026-21589
Atlassian Multiple Products Files or Directories Accessible to External Parties Vulnerability
9.9
CVE-2018-5225
In 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 before 5.5.8 (the fixed version for 5.5.x),…
9.8
CVE-2022-26136
A vulnerability in multiple Atlassian products allows a remote, unauthenticated attacker to bypass Servlet Filters used by first and third party apps
9.8
CVE-2019-15000
The 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 (the fixed version for 6.0.x), from…