Skip to content
Critical

CVE-2022-43781Bitbucket Command Injection

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

Published Nov 17, 2022 · Updated Oct 2, 2024 · Also known as TR-23-0160

Key Facts

Patch immediately
  • CVE-2022-43781 is a critical-severity vulnerability (CVSS 9.8 v3.1) affecting Bitbucket (Atlassian), Bitbucket Data Center, Bitbucket Server.
  • It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
  • EPSS estimates a 98% probability of exploitation in the next 30 days.
  • Fixed versions are available, including Bitbucket 7.6.19.
  • Brandefense priority: patch immediately, because it is very likely to be exploited soon.

Scores

CVSS v3.1

9.8

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

EPSS (30-day exploit likelihood)

98%

Higher than 99.9% of all scored CVEs

Exploit maturity

Weaponized

ATLAS score

71/100

Publication score, see How it works

Exploitation Verdict

KEV listed

Not listed

Federal due date

None

No federal due date

Ransomware use

Not reported

Attributed actors

None named

Exploit & Defence Guidance

Exploit maturity

Weaponized

Public exploit code

1

Proof-of-concept links

In-the-wild evidence

0

Reports of active use

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

Affected Products

3 affected entries in total
ProductAffected versionsFixed in
BitbucketAtlassianSee advisory7.6.19
Bitbucket Data Center>= before 7.17.12n/a
Bitbucket Server>= before 7.17.12n/a

Patched Releases

Bitbucket

7.6.19

Timeline

  1. Publicly disclosed

    Nov 17, 2022

  2. Last updated

    Oct 2, 2024

Weakness Type

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

FAQ

Common Questions.

Is CVE-2022-43781 On Your Attack Surface?

Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.

Request A Demo

More vulnerabilities

Figures as of Dec 1, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.