Stackurity Start free trial

CVEs / CVE-2022-43781

CVE-2022-43781: Atlassian Bitbucket Data Center vulnerability

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”.

The CVE record, via NVD · published 17 Nov 2022 · NVD status: Modified

Affected and fixed versions

As stated by the CVE record (from the CNA)
ProductAffectedFixed in
Atlassian Bitbucket Data Centerbefore 7.17.12—
Atlassian Bitbucket Data Centerbefore 7.21.6—
Atlassian Bitbucket Data Centerbefore 7.6.19—
Atlassian Bitbucket Data Centerbefore 8.0.5—
Atlassian Bitbucket Data Centerbefore 8.1.5—
Atlassian Bitbucket Data Centerbefore 8.2.4—
Atlassian Bitbucket Data Centerbefore 8.3.3—
Atlassian Bitbucket Data Centerbefore 8.4.2—
Atlassian Bitbucket Data Centerbefore 8.5.0—
Atlassian Bitbucket Serverbefore 7.17.12—
Atlassian Bitbucket Serverbefore 7.21.6—
Atlassian Bitbucket Serverbefore 7.6.19—
Atlassian Bitbucket Serverbefore 8.0.5—
Atlassian Bitbucket Serverbefore 8.1.5—
Atlassian Bitbucket Serverbefore 8.2.4—
Atlassian Bitbucket Serverbefore 8.3.3—
Atlassian Bitbucket Serverbefore 8.4.2—
Atlassian Bitbucket Serverbefore 8.5.0—
atlassian bitbucketfrom 7.0.0, before 7.6.197.6.19
atlassian bitbucketfrom 7.7.0, before 7.17.127.17.12
atlassian bitbucketfrom 7.18.0, before 7.21.67.21.6
atlassian bitbucketfrom 7.22.0, before 8.0.58.0.5
atlassian bitbucketfrom 8.1.0, before 8.1.58.1.5
atlassian bitbucketfrom 8.2.0, before 8.2.48.2.4
atlassian bitbucketfrom 8.3.0, before 8.3.38.3.3
atlassian bitbucketfrom 8.4.0, before 8.4.28.4.2

Exploitation

Not in the CISA Known Exploited Vulnerabilities catalog as of 30 Nov 2026.

Severity

CVSS 3.19.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Scored by NVD
WeaknessCWE-77

References

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.