Skip to content
Vulnerability Intelligence

CVE-2022-43781

CriticalPublic exploit

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

Published Mar 20, 2023 · 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.

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

Exploited in the wild

No known

Not in a known-exploited catalog

Public exploit code

Available

Proof-of-concept or weaponized module

Get the full CVE-2022-43781 brief as a PDF

Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.

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

    Mar 20, 2023

  2. Last updated

    Oct 2, 2024

Weakness Type

  • CWE-77 Improper Neutralization of Special Elements used in a Command ('Command Injection')

References

2 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2022-43781 Running On Your Attack Surface?

Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.

Request A Demo