VulnarioBlogBitbucket vulnerabilities
Bitbucket Vulnerabilities: The 10 Most Critical Bitbucket Security Bugs (CVEs)
Bitbucket vulnerabilities are security flaws in Bitbucket that attackers can abuse to steal data, take over a server or interrupt a service. Atlassian Bitbucket is a Git repository hosting service. The National Vulnerability Database (NVD) lists 24 CVEs for Bitbucket, 6 of them rated critical, and 1 was published in the last 12 months. CISA lists 2 of them in its Known Exploited Vulnerabilities (KEV) catalog, which means attackers have used them against real systems.
This guide lists the 10 most critical Bitbucket security bugs, with the CVE number, CVSS score, affected versions and what to do about each one. It also covers Bitbucket security basics, the current end-of-life dates and a free way to be told about the next Bitbucket CVE as soon as it is published.
Key takeaways
- 2 CVEs are in CISA's KEV catalog, so attackers have exploited them in the wild.
- 6 Bitbucket CVEs are rated critical (CVSS v3), and 1 new one was published in the last 12 months.
- The newest CVE in this guide is CVE-2026-21589, published Oct 5, 2026.
- Supported Bitbucket releases today (per endoflife.date): 10.5, 10.4, 10.3, 10.2, 10.1, 10.0. Releases not on the list are past their announced end of life.
- You can monitor Bitbucket for free. Vulnario emails you when a new CVE matches your version and the rest of your stack.
How we ranked these Bitbucket CVEs
We ranked CVEs first by whether CISA lists them as exploited, then by CVSS score (v3 scores before the older v2 scale, which is marked when used), then by publication date (newest first). When a technology has several product entries in NVD, we combined them and removed duplicates. This favors the bugs that matter most in practice, so the guide is a list of the most critical flaws we found, not a complete history.
Every CVE number, score, date and affected version below comes from the NVD record and the CISA KEV catalog, checked on Nov 3, 2026. Scores can change when NVD reanalyzes a record, so open the linked record if you need the current value.
The 10 most critical Bitbucket CVEs at a glance
| # | CVE | CVSS | Published | Type | CISA KEV |
|---|---|---|---|---|---|
| 1 | CVE-2022-36804 | 8.8 High | 2022-08-25 | Atlassian Bitbucket Server and Data Center Command Injection | Yes |
| 2 | CVE-2026-21589 | 7.5 High | 2026-10-05 | Atlassian Multiple Products Files or Directories Accessible to External Parties | Yes |
| 3 | CVE-2018-5225 | 9.9 Critical | 2018-03-22 | Link following | No |
| 4 | CVE-2022-43781 | 9.8 Critical | 2022-11-17 | Command injection | No |
| 5 | CVE-2022-26136 | 9.8 Critical | 2022-07-20 | Improper authentication | No |
| 6 | CVE-2022-26133 | 9.8 Critical | 2022-04-20 | Insecure deserialization | No |
| 7 | CVE-2019-15000 | 9.8 Critical | 2019-09-19 | OS command injection | No |
| 8 | CVE-2019-3397 | 9.1 Critical | 2019-06-03 | Path traversal | No |
| 9 | CVE-2023-22513 | 8.8 High | 2023-09-19 | Code injection | No |
| 10 | CVE-2022-26137 | 8.8 High | 2022-07-20 | Security flaw | No |
Each Bitbucket CVE explained
1. CVE-2022-36804: Atlassian Bitbucket Server and Data Center Command Injection
- What NVD says
- 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…
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing low privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- 7.0.0 to before 7.6.17; 7.7.0 to before 7.17.10; 7.18.0 to before 7.21.4; 8.0.0 to before 8.0.3
- What to do
- Upgrade to the fixed release for your branch (7.6.17, 7.17.10, 7.21.4) or a later one, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
2. CVE-2026-21589: Atlassian Multiple Products Files or Directories Accessible to External Parties
- What NVD says
- This is a vulnerability in Bitbucket Data Center, Confluence Data Center, Jira Service Management Data Center, Jira Software Data Center, Bamboo Data Center. Crowd Data Center, Crucible and Fisheye. This Arbitrary File Access vulnerability allows an unauthenticated attacker to access specific files within the web application root directory in affected versions.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality.
- Affected versions
- 4.6.0 through 8.14.6
- What to do
- Apply the vendor's security update for your release and restart the service. See the vendor advisory (opens in a new tab).
3. CVE-2018-5225: Link following
- What NVD says
- In browser editing in Atlassian Bitbucket Server from version 4.13.0 before 5.4.8 (the fixed version for 4.13.0 through 5.4.7), 5.5.0 before 5.5.8 (the fixed version for 5.5.x), 5.6.0 before 5.6.5 (the fixed version for 5.6.x), 5.7.0 before 5.7.3 (the fixed version for 5.7.x), and 5.8.0 before 5.8.2 (the fixed version for 5.8.x), allows authenticated users to gain remote code execution using the in browser editing…
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing low privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- 4.13.0 to before 5.4.8; after 5.5.0 to before 5.5.8; 5.6.0 to before 5.6.5; 5.7.0 to before 5.7.3
- What to do
- Upgrade to the fixed release for your branch (5.4.8, 5.5.8, 5.6.5) or a later one, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
4. CVE-2022-43781: Command injection
- What NVD says
- 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”.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- 7.0.0 to before 7.6.19; 7.7.0 to before 7.17.12; 7.18.0 to before 7.21.6; 7.22.0 to before 8.0.5
- What to do
- Upgrade to the fixed release for your branch (7.6.19, 7.17.12, 7.21.6) or a later one, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
5. CVE-2022-26136: Improper authentication
- What NVD says
- A vulnerability in multiple Atlassian products allows a remote, unauthenticated attacker to bypass Servlet Filters used by first and third party apps. The impact depends on which filters are used by each app, and how the filters are used. This vulnerability can result in authentication bypass and cross-site scripting.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- before 7.6.16; 7.7.0 to before 7.17.8; 7.18.0 to before 7.19.5; 7.20.0 to before 7.20.2
- What to do
- Upgrade to the fixed release for your branch (7.6.16, 7.17.8, 7.19.5) or a later one, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
6. CVE-2022-26133: Insecure deserialization
- What NVD says
- SharedSecretClusterAuthenticator in Atlassian Bitbucket Data Center versions 5.14.0 and later before 7.6.14, 7.7.0 and later prior to 7.17.6, 7.18.0 and later prior to 7.18.4, 7.19.0 and later prior to 7.19.4, and 7.20.0 allow a remote, unauthenticated attacker to execute arbitrary code via Java deserialization.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- 5.14.0 to before 7.6.14; 7.7.0 to before 7.17.6; 7.18.0 to before 7.18.4; 7.19.0 to before 7.19.4
- What to do
- Upgrade to the fixed release for your branch (7.6.14, 7.17.6, 7.18.4) or a later one, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
7. CVE-2019-15000: OS command injection
- What NVD says
- The commit diff rest endpoint in Bitbucket Server and Data Center before 5.16.10 (the fixed version for 5.16.x ), from 6.0.0 before 6.0.10 (the fixed version for 6.0.x), from 6.1.0 before 6.1.8 (the fixed version for 6.1.x), from 6.2.0 before 6.2.6 (the fixed version for 6.2.x), from 6.3.0 before 6.3.5 (the fixed version for 6.3.x), from 6.4.0 before 6.4.3 (the fixed version for 6.4.x), and from 6.5.0 before 6.5.2…
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- 5.16.0 to before 5.16.10; 6.0.0 to before 6.0.10; 6.1.0 to before 6.1.8; 6.2.0 to before 6.2.6
- What to do
- Upgrade to the fixed release for your branch (5.16.10, 6.0.10, 6.1.8) or a later one, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
8. CVE-2019-3397: Path traversal
- What NVD says
- Atlassian Bitbucket Data Center licensed instances starting with version 5.13.0 before 5.13.6 (the fixed version for 5.13.x), from 5.14.0 before 5.14.4 (fixed version for 5.14.x), from 5.15.0 before 5.15.3 (fixed version for 5.15.x), from 5.16.0 before 5.16.3 (fixed version for 5.16.x), from 6.0.0 before 6.0.3 (fixed version for 6.0.x), and from 6.1.0 before 6.1.2 (the fixed version for 6.1.x) allow remote attackers…
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing high privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- 5.13.0 to before 5.13.6; 5.14.0 to before 5.14.4; 5.15.0 to before 5.15.3; 5.16.0 to before 5.16.3
- What to do
- Upgrade to the fixed release for your branch (5.13.6, 5.14.4, 5.15.3) or a later one, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
9. CVE-2023-22513: Code injection
- What NVD says
- This High severity RCE (Remote Code Execution) vulnerability was introduced in version 8.0.0 of Bitbucket Data Center and Server. This RCE (Remote Code Execution) vulnerability, with a CVSS Score of 8.5, allows an authenticated attacker to execute arbitrary code which has high impact to confidentiality, high impact to integrity, high impact to availability, and requires no user interaction.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing low privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- 8.9.0 to before 8.9.5; 8.10.0 to before 8.10.5; 8.11.0 to before 8.11.4; 8.12.0 to before 8.12.2
- What to do
- Upgrade to the fixed release for your branch (8.9.5, 8.10.5, 8.11.4) or a later one, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
10. CVE-2022-26137: Security flaw
- What NVD says
- A vulnerability in multiple Atlassian products allows a remote, unauthenticated attacker to cause additional Servlet Filters to be invoked when the application processes requests or responses. Atlassian has confirmed and fixed the only known security issue associated with this vulnerability: Cross-origin resource sharing (CORS) bypass.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- before 7.6.16; 7.7.0 to before 7.17.8; 7.18.0 to before 7.19.5; 7.20.0 to before 7.20.2
- What to do
- Upgrade to the fixed release for your branch (7.6.16, 7.17.8, 7.19.5) or a later one, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
Bitbucket end of life: which versions still get security fixes
Running a release that still receives security fixes is the most effective way to avoid Bitbucket vulnerabilities. After a release reaches end of life, newly published CVEs stay unpatched. As of Nov 3, 2026 the supported Bitbucket releases are 10.5, 10.4, 10.3, 10.2, 10.1, 10.0.
| Release | Released | End of life | Latest | Status |
|---|---|---|---|---|
| Bitbucket 10.5 | Sep 28, 2026 | Not announced | 10.5.1 | Supported |
| Bitbucket 10.4 | May 12, 2026 | Jul 21, 2028 | 10.4.3 | Supported |
| Bitbucket 10.3 | May 12, 2026 | May 12, 2028 | 10.3.2 | Supported |
| Bitbucket 10.2 (LTS) | Mar 3, 2026 | Mar 3, 2028 | 10.2.8 | Supported |
| Bitbucket 10.1 | Nov 20, 2025 | Nov 20, 2027 | 10.1.5 | Supported |
| Bitbucket 10.0 | Sep 7, 2025 | Sep 8, 2027 | 10.0.2 | Supported |
| Bitbucket 9.6 | Mar 17, 2025 | Jan 18, 2027 | 9.6.5 | Supported |
| Bitbucket 9.5 | Jan 7, 2025 | Jan 7, 2027 | 9.5.2 | Supported |
Dates come from endoflife.date (opens in a new tab), which tracks each project's own support policy. Confirm them with the vendor before planning an upgrade.
Bitbucket security checklist
- Never expose management ports or dashboards to the internet without authentication.
- Rotate tokens and credentials, and keep them out of repositories and logs.
- Apply least privilege to pipelines, runners and service accounts.
- Update the tool and its plugins or extensions on a schedule.
- Pin versions of images and dependencies, and scan them.
Your stack is bigger than Bitbucket. A flaw anywhere in the chain can be the way in, so also review our guides to Atlassian Jira vulnerabilities, Atlassian Confluence vulnerabilities and Git vulnerabilities.
How to get alerted about new Bitbucket vulnerabilities
NVD received 1 new Bitbucket CVE in the last twelve months, and critical ones can be exploited within days. Reading advisories by hand is easy to forget, so most teams automate it. You have three practical options:
- Follow the vendor's announcements and your distribution's security list. They are accurate but cover only one product and you read them manually.
- Query the NVD feed yourself. It is complete and needs scripting, filtering and a mail or chat integration to maintain.
- Use a stack-based alert service. You pick your technologies once and receive an email when a matching CVE appears.
Vulnario is the third option, and it is free to start. It scans the National Vulnerability Database, the CISA KEV catalog and GitHub Security Advisories every hour. You choose Bitbucket and the rest of your stack, confirm your email with a code, and the alerts begin. Each email includes the CVE number, the CVSS score, a marker when CISA lists the flaw as actively exploited, the attack vector, a patch or advisory link and a suggested time frame to fix it.
- Free: all technologies, alerts grouped at most every 12 hours.
- Pro ($29/month): alerts are sent on the next hourly scan, so you hear about a new CVE up to 12 hours earlier.
Related security guides
Few stacks run Bitbucket alone. These guides cover the technologies it is most often deployed with.
- Atlassian Jira vulnerabilities: Atlassian Jira is a widely used issue and project tracker.
- Atlassian Confluence vulnerabilities: Atlassian Confluence is a team wiki and knowledge base.
- Git vulnerabilities: Git is the distributed version control system used by almost every software team.
- GitLab vulnerabilities: GitLab is a DevOps platform with Git hosting and CI/CD.
- Apache Airflow vulnerabilities: Apache Airflow is a platform for scheduling and monitoring data workflows.
- Ansible vulnerabilities: Ansible is an agentless IT automation tool.
- Podman vulnerabilities: Podman is a daemonless container engine, a Docker alternative from Red Hat.
Frequently asked questions about Bitbucket vulnerabilities
What are the most critical Bitbucket vulnerabilities?
Based on NVD scores and CISA's exploited-vulnerability catalog, the most critical Bitbucket CVEs include CVE-2022-36804 (CVSS 8.8), CVE-2026-21589 (CVSS 7.5), CVE-2018-5225 (CVSS 9.9). The guide above ranks the 10 most critical with affected versions and fixes.
Have Bitbucket vulnerabilities been exploited in real attacks?
Yes. CISA's Known Exploited Vulnerabilities (KEV) catalog lists 2 Bitbucket CVEs, including CVE-2022-36804, CVE-2026-21589. Treat these as the highest priority to patch.
How many vulnerabilities does Bitbucket have?
As of Nov 3, 2026 the National Vulnerability Database lists 24 CVEs for Bitbucket, with 6 rated critical by CVSS v3. 1 was published in the previous twelve months.
Which Bitbucket versions are still supported?
As of Nov 3, 2026, endoflife.date lists these Bitbucket releases as supported: 10.5, 10.4, 10.3, 10.2, 10.1, 10.0. Releases that are not listed are past their announced end of life.
How can I get alerted when a new Bitbucket CVE is published?
Add Bitbucket to a service that watches the National Vulnerability Database, CISA KEV and GitHub Security Advisories. Vulnario does this for free: choose Bitbucket and the rest of your stack, verify your email, and you receive an alert when a new CVE matches. Free alerts are grouped at most every 12 hours, and Pro sends them on the next hourly scan.
Is Bitbucket secure?
Bitbucket is as secure as its patch level. NVD published 1 new Bitbucket CVE in the last twelve months, so running a current, supported release and applying security updates promptly is the most effective protection.
What is CVE-2022-36804?
CVE-2022-36804 is a high Bitbucket vulnerability with a CVSS score of 8.8, published Aug 25, 2022. 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…
Sources
- National Vulnerability Database (NVD) (opens in a new tab), CVE records, CVSS scores and CPE counts, checked Nov 3, 2026.
- CISA Known Exploited Vulnerabilities (KEV) catalog (opens in a new tab), checked Nov 3, 2026.
- endoflife.date: Bitbucket (opens in a new tab), release and support dates, checked Nov 3, 2026.
This article is informational and not a substitute for your own risk assessment. CVSS scores and affected versions may change when NVD updates a record.