Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2022-36804: Atlassian Bitbucket Server and Data Center Command Injection Vulnerability

86
Patch now
HIGH 8.8EXPLOITEDUPGRADE

CVE-2022-36804 is a high-severity flaw (CVSS 8.8) affecting bitbucket, reported as exploited in the wild. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

Multiple API endpoints in Atlassian Bitbucket Server and Data Center 7.0.0 before version 7.6.17, from version 7.7.0 before version 7.17.10, from version 7.18.0 before version 7.21.4, from version 8.0.0 before version 8.0.3, from version 8.1.0 before version 8.1.3, and from version 8.2.0 before version 8.2.2, and from version 8.3.0 before 8.3.1 allows remote attackers with read permissions to a public or private Bitbucket repository to execute ar

Why this priority

  • High severity
  • EPSS top 1%: very likely to be exploited
  • Exploited in the wild (CISA KEV)
  • Public exploit reference

A fixed release or distro patch exists.

Risk facts

CVSS score8.8 (High)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededLow
User interactionNone
EPSS exploit chance99.1% (top 1%)
CISA exploited listYes, fix due 2022-10-21
WeaknessCWE-78, CWE-88
Published2022-08-25
Last modified2026-06-17
Publisher (CNA): Atlassian · Vendor: atlassian

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

atlassian bitbucket UPGRADE
Affected: >= 7.0.0 and < 7.6.17 · >= 7.7.0 and < 7.17.10 · >= 7.18.0 and < 7.21.4 · >= 8.0.0 and < 8.0.3 · >= 8.1.0 and < 8.1.3 · >= 8.2.0 and < 8.2.2 · 8.3.0
Fixed in: 7.6.17, 7.17.10, 7.21.4, 8.0.3, 8.1.3, 8.2.2
Safe to downgrade to: a release before 7.0.0
1. Check installed version
apt-cache policy bitbucket || rpm -q bitbucket || bitbucket --version
2. UPGRADE to 7.6.17 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade bitbucket
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade bitbucket
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 7.0.0 (Debian / Ubuntu)
apt-cache madison bitbucket sudo apt install bitbucket=<VERSION_BEFORE_7.0.0> sudo apt-mark hold bitbucket
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list bitbucket sudo dnf downgrade bitbucket-<VERSION_BEFORE_7.0.0> sudo dnf versionlock add bitbucket
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.

Exact fixes by distribution

Fedora ELN · luksmeta · FIXED · 11-3.eln159 · FEDORA-2026-5176083b78 · source
sudo dnf upgrade --advisory=FEDORA-2026-5176083b78
Fedora 46 · openscad · FIXED · 2021.01-34.fc46 · FEDORA-2026-faf1721128 · source
sudo dnf upgrade --advisory=FEDORA-2026-faf1721128

Public exploits and detection

Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.

Verify at the official source NVD · CVE Program · CISA KEV catalog · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2022-36804?

bitbucket: upgrade to 7.6.17, 7.17.10, 7.21.4, 8.0.3, 8.1.3, 8.2.2. Exact commands for each OS are on this page.

Is CVE-2022-36804 being exploited?

Yes. CVE-2022-36804 is on the CISA Known Exploited Vulnerabilities list, so treat it as patch-now.

What does CVE-2022-36804 affect?

CVE-2022-36804 affects bitbucket. Severity is high (CVSS 8.8). Multiple API endpoints in Atlassian Bitbucket Server and Data Center 7.0.0 before version 7.6.17, from version 7.7.0 before version 7.17.10, from version 7.18.0 before version 7.21.4, from version 8.0.0 before version 8.0.3, from version 8.

How urgent is CVE-2022-36804?

Priority 86/100. High severity; EPSS top 1%: very likely to be exploited; Exploited in the wild (CISA KEV); Public exploit reference

Software pages

Bitbucket vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.