CVE-2022-43781Atlassian Bitbucket
Critical 9.8 No auth neededHigh EPSS
Follow: this CVE · Atlassian · Atlassian Bitbucket We alert you by email or Slack (account required).
- Priority
- 75
- CVSS 3.1
- 9.8
- EPSS
- 11.7% probability of exploitation in 30 days · percentile 97
- Auth required
- No
- Published
- Nov 17, 2022
- Updated
- Jun 17, 2026
- Category
- Server · Cross-platform
- Weakness (CWE)
- CWE-77
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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”.
What to do
- Apply the vendor's security update for Bitbucket.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| atlassian | bitbucket | ≥ 7.0.0 < 7.6.19 |
| atlassian | bitbucket | ≥ 7.7.0 < 7.17.12 |
| atlassian | bitbucket | ≥ 7.18.0 < 7.21.6 |
| atlassian | bitbucket | ≥ 7.22.0 < 8.0.5 |
| atlassian | bitbucket | ≥ 8.1.0 < 8.1.5 |
| atlassian | bitbucket | ≥ 8.2.0 < 8.2.4 |
| atlassian | bitbucket | ≥ 8.3.0 < 8.3.3 |
| atlassian | bitbucket | ≥ 8.4.0 < 8.4.2 |
Official sources
References
Links published by the sources. Open them with care.
- confluence.atlassian.com Mitigation Release Notes Vendor Advisory
- jira.atlassian.com Issue Tracking Patch Vendor Advisory