Vulnerability database / CVE-2022-43781
CVE-2022-43781
CRITICAL 9.8 CVSS 3.1 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”.
Published 17 Nov 2022
Last modified 17 Jun 2026 Assigned by security@atlassian.com NVD status Modified Weakness
CWE-77 Sources
NVD JSON Scores
Source Scored by Version Score Vector / decision
NVD
nvd@nist.gov (Primary)
CVSS 3.1
CRITICAL 9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD
134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)
CVSS 3.1
CRITICAL 9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected
Source Vendor / ecosystem Product / package Affected versions Fixed in
NVD
atlassian
bitbucketcpe:2.3:a:atlassian:bitbucket:*:*:*:*:*:*:*:*
>= 7.0.0, < 7.6.19
7.6.19 NVD
atlassian
bitbucketcpe:2.3:a:atlassian:bitbucket:*:*:*:*:*:*:*:*
>= 7.7.0, < 7.17.12
7.17.12 NVD
atlassian
bitbucketcpe:2.3:a:atlassian:bitbucket:*:*:*:*:*:*:*:*
>= 7.18.0, < 7.21.6
7.21.6 NVD
atlassian
bitbucketcpe:2.3:a:atlassian:bitbucket:*:*:*:*:*:*:*:*
>= 7.22.0, < 8.0.5
8.0.5 NVD
atlassian
bitbucketcpe:2.3:a:atlassian:bitbucket:*:*:*:*:*:*:*:*
>= 8.1.0, < 8.1.5
8.1.5 NVD
atlassian
bitbucketcpe:2.3:a:atlassian:bitbucket:*:*:*:*:*:*:*:*
>= 8.2.0, < 8.2.4
8.2.4 NVD
atlassian
bitbucketcpe:2.3:a:atlassian:bitbucket:*:*:*:*:*:*:*:*
>= 8.3.0, < 8.3.3
8.3.3 NVD
atlassian
bitbucketcpe:2.3:a:atlassian:bitbucket:*:*:*:*:*:*:*:*
>= 8.4.0, < 8.4.2
8.4.2
References
History
25 Nov 2026 20:35 UTC · NVD: first stored (published 17 Nov 2022)