Skip to main content
ExploitedIn CISA KEVFix available

CVE-2022-36804

Exploitation confirmed. First attested on 2022-09-30 by CISA-ADP, CISA KEV, GCVE · kevintel, GCVE · shadowserver.

  • Published2022-08-25
  • Fixed in8.2.2 · 8.1.3 · 8.0.3 · 7.21.4 · 7.17.10 · 7.6.17
  • WeaknessCWE-78 · CWE-88

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

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 arbitrary code by sending a malicious HTTP request. This vulnerability was reported via our Bug Bounty Program by TheGrandPew.

Timeline

dates in UTC
  1. 2022-08-2506:15CVE publishedNVD
  2. 2022-09-30Added to the CISA KEV catalogCISA KEV
  3. 2022-09-30Listed as exploited by GCVEGCVE
  4. 2022-09-30Exploitation first reportedCISA KEV
  5. 2023-03-23Exploit-DB entryExploit-DB
  6. 2025-01-2916:19SSVC exploitation set to activeCISA-ADP

Observed activity

isMalicious corpus · updated 2026-11-03 21:37 UTC
Indicators tagged with this CVE, per day0 indicators over 7 days
Block these indicators
  • Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2022-36804?format=txt
  • CSV export: https://api.ismalicious.com/edl/cve/CVE-2022-36804?format=csv
  • TAXII collection of exploited CVEs
  • The EDL and CSV take an API key on the Pro plan.

Versions per branch

NVD
Atlassian bitbucket
BranchAffectedFixed in
8.2≥ 8.2.0, < 8.2.28.2.2
8.1≥ 8.1.0, < 8.1.38.1.3
8.0≥ 8.0.0, < 8.0.38.0.3
7.x≥ 7.18.0, < 7.21.47.21.4
7.x≥ 7.7.0, < 7.17.107.17.10
7.x≥ 7.0.0, < 7.6.177.6.17
8.3= 8.3.0no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA2 products

As atlassian, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • Atlassian Bitbucket Server
    Affected
    • = 7.0.0no fix statedcustom
    • < 7.6.17fixed in 7.6.17custom
    • = 7.7.0no fix statedcustom
    • < 7.17.10fixed in 7.17.10custom
    • = 7.18.0no fix statedcustom
    • < 7.21.4fixed in 7.21.4custom
    • = 8.0.0no fix statedcustom
    • < 8.0.3fixed in 8.0.3custom

    6 more version lines in the CVE record.

  • Atlassian Bitbucket Data Center
    Affected
    • = 7.0.0no fix statedcustom
    • < 7.6.17fixed in 7.6.17custom
    • = 7.7.0no fix statedcustom
    • < 7.17.10fixed in 7.17.10custom
    • = 7.18.0no fix statedcustom
    • < 7.21.4fixed in 7.21.4custom
    • = 8.0.0no fix statedcustom
    • < 8.0.3fixed in 8.0.3custom

    6 more version lines in the CVE record.

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2023-03-24

Fix

  1. Update Atlassian bitbucket to 8.2.2 · 8.1.3 · 8.0.3 · 7.21.4 · 7.17.10 · 7.6.17
  2. CISA’s required action: Apply updates per vendor instructions.due 2022-10-21

Advisories and patches

Detection

read 2026-11-03 22:42 UTC
Nuclei template
available
ProjectDiscovery
Exploit-DB
EDB-51040
Exploit-DB
Metasploit modules
1 moduleexploit/linux/http/bitbucket_git_cmd_injectionrank: excellentModule metadata: Metasploit Framework, © Rapid7, Inc., BSD-3-Clause.
Metasploit Framework

CISA Known Exploited Vulnerability

Date Added
2022-09-30
Patch Due Date
2022-10-21
Ransomware Use
Unknown
Required Action
Apply updates per vendor instructions.

Sources

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published
2022-08-25
Last Modified
2026-06-17
NVD status
Analyzed
GitHub Advisory
GHSA-vcm2-j8f4-m7fj

Frequently asked questions

What is CVE-2022-36804?

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 arbitrary code by sending a malicious HTTP request. This vulnerability was reported via our Bug Bounty Program by TheGrandPew.

Is CVE-2022-36804 actively exploited?

Yes. CVE-2022-36804 is on the CISA Known Exploited Vulnerabilities (KEV) catalog, meaning it has been confirmed as actively exploited in the wild. CISA requires federal agencies to patch by 2022-10-21.

What is the CVSS score for CVE-2022-36804?

CVE-2022-36804 has a CVSS v3 base score of 8.8 (HIGH severity), with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

Hear about the next vulnerability in your software

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record