CVE-2022-43781: Atlassian Bitbucket

Critical severity, CVSS 9.8. EPSS: 98% chance of exploitation in the next 30 days.

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

Affected products

  • Atlassian Bitbucket: from 7.0.0, before 7.6.19 (fixed in 7.6.19); from 7.7.0, before 7.17.12 (fixed in 7.17.12); from 7.18.0, before 7.21.6 (fixed in 7.21.6); from 7.22.0, before 8.0.5 (fixed in 8.0.5); from 8.1.0, before 8.1.5 (fixed in 8.1.5); from 8.2.0, before 8.2.4 (fixed in 8.2.4); …

Published 2022-11-17. Last modified 2026-06-17.