Skip to content
Fencer Intel
critical 9.8

CVE-2022-43781 in the critical feed json

There is a command injection vulnerability using environment variables in Bitbucket Server and Data Center.

published 3y ago modified 4mo ago also EUVD-2022-46751

cvss
9.8
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
98.0%
EPSS 98.0% chance of exploitation in 30 days, percentile 99.9%
public exploits
1
Metasploit

Summary

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

Patch / fix

  • Atlassian Bitbucket Data Center before 7.0
  • Atlassian Bitbucket Server before 7.0
  • atlassian bitbucket 7.6.19, 7.17.12, 7.21.6, 8.0.5, 8.1.5, 8.2.4, 8.3.3, 8.4.2

Is CVE-2022-43781 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Timeline

  1. First public exploit (Metasploit exploit/multi/http/bitbucket_env_var_rce)
  2. Published

CISA SSVC

Exploitation
none
Automatable
yes
Technical impact
total
Assessed
2y ago

Exploit prediction

98.04% chance of exploitation in the next 30 days, higher than 99.9% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

CVSS scores

assigned by version score vector
CISA ADP 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CNA 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

  • Atlassian Bitbucket Data Center
  • Atlassian Bitbucket Server
  • atlassian bitbucket

Classification

Weakness
  • CWE-77 Improper Neutralization of Special Elements used in a Command

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.