{"id":"CVE-2022-36804","aliases":["EUVD-2022-39504","GHSA-vcm2-j8f4-m7fj"],"status":"published","title":"Multiple API endpoints in Atlassian Bitbucket Server and Data Center 7.0.0 before version 7.6.17,...","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.","severity":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.99077,"percentile":0.99933,"model":"v2026.06.15"},"facts":{"in_kev":true,"known_exploited":true,"public_exploit":true,"fix_available":false},"cwes":["CWE-158","CWE-77","CWE-78","CWE-88"],"published":"2022-08-25T05:40:08Z","modified":"2026-06-17T04:54:00Z","kev":{"date_added":"2022-09-30","due_date":"2022-10-21","required_action":"Apply updates per vendor instructions.","known_ransomware_use":"Unknown"},"exploitation":[{"source":"euvd","since":"2022-09-30"},{"source":"kev","since":"2022-09-30"}],"exploits":[{"source":"metasploit","id":"exploit/linux/http/bitbucket_git_cmd_injection","title":"Bitbucket Git Command Injection","type":"exploit","platform":"Linux,Unix","date":"2022-08-24","verified":true,"url":"https://www.rapid7.com/db/modules/exploit/linux/http/bitbucket_git_cmd_injection"},{"source":"pocgithub","id":"notdls/CVE-2022-36804","title":"notdls/CVE-2022-36804","date":"2022-09-07","url":"https://github.com/notdls/CVE-2022-36804"},{"source":"pocgithub","id":"notxesh/CVE-2022-36804-PoC","title":"notxesh/CVE-2022-36804-PoC","date":"2022-09-19","url":"https://github.com/notxesh/CVE-2022-36804-PoC"},{"source":"pocgithub","id":"JRandomSage/CVE-2022-36804-MASS-RCE","title":"JRandomSage/CVE-2022-36804-MASS-RCE","date":"2022-09-20","url":"https://github.com/JRandomSage/CVE-2022-36804-MASS-RCE"},{"source":"pocgithub","id":"Vulnmachines/bitbucket-cve-2022-36804","title":"Vulnmachines/bitbucket-cve-2022-36804","date":"2022-09-20","url":"https://github.com/Vulnmachines/bitbucket-cve-2022-36804"},{"source":"pocgithub","id":"benjaminhays/CVE-2022-36804-PoC-Exploit","title":"benjaminhays/CVE-2022-36804-PoC-Exploit","date":"2022-09-20","url":"https://github.com/benjaminhays/CVE-2022-36804-PoC-Exploit"},{"source":"pocgithub","id":"kljunowsky/CVE-2022-36804-POC","title":"kljunowsky/CVE-2022-36804-POC","date":"2022-09-21","url":"https://github.com/kljunowsky/CVE-2022-36804-POC"},{"source":"pocgithub","id":"Chocapikk/CVE-2022-36804-ReverseShell","title":"Chocapikk/CVE-2022-36804-ReverseShell","date":"2022-09-23","url":"https://github.com/Chocapikk/CVE-2022-36804-ReverseShell"},{"source":"pocgithub","id":"0xEleven/CVE-2022-36804-ReverseShell","title":"0xEleven/CVE-2022-36804-ReverseShell","date":"2022-09-24","url":"https://github.com/0xEleven/CVE-2022-36804-ReverseShell"},{"source":"pocgithub","id":"khal4n1/CVE-2022-36804","title":"khal4n1/CVE-2022-36804","date":"2022-09-24","url":"https://github.com/khal4n1/CVE-2022-36804"},{"source":"pocgithub","id":"tahtaciburak/cve-2022-36804","title":"tahtaciburak/cve-2022-36804","date":"2022-09-25","url":"https://github.com/tahtaciburak/cve-2022-36804"},{"source":"pocgithub","id":"sh4den/CVE-2022-36804","title":"sh4den/CVE-2022-36804","date":"2022-09-26","url":"https://github.com/sh4den/CVE-2022-36804"},{"source":"pocgithub","id":"ColdFusionX/CVE-2022-36804","title":"ColdFusionX/CVE-2022-36804","date":"2022-10-04","url":"https://github.com/ColdFusionX/CVE-2022-36804"},{"source":"pocgithub","id":"devengpk/CVE-2022-36804","title":"devengpk/CVE-2022-36804","date":"2022-12-20","url":"https://github.com/devengpk/CVE-2022-36804"},{"source":"pocgithub","id":"walnutsecurity/cve-2022-36804","title":"walnutsecurity/cve-2022-36804","date":"2023-01-23","url":"https://github.com/walnutsecurity/cve-2022-36804"},{"source":"pocgithub","id":"imbas007/Atlassian-Bitbucket-CVE-2022-36804","title":"imbas007/Atlassian-Bitbucket-CVE-2022-36804","date":"2023-02-02","url":"https://github.com/imbas007/Atlassian-Bitbucket-CVE-2022-36804"},{"source":"exploitdb","id":"EDB-51040","title":"Bitbucket v7.0.0 -  RCE","type":"webapps","platform":"python","date":"2023-03-23","url":"https://www.exploit-db.com/exploits/51040"},{"source":"pocgithub","id":"asepsaepdin/CVE-2022-36804","title":"asepsaepdin/CVE-2022-36804","date":"2025-01-30","url":"https://github.com/asepsaepdin/CVE-2022-36804"},{"source":"pocgithub","id":"DanielHallbro/CVE-2022-36804-Bitbucket-RCE-Analysis","title":"DanielHallbro/CVE-2022-36804-Bitbucket-RCE-Analysis","date":"2026-02-26","url":"https://github.com/DanielHallbro/CVE-2022-36804-Bitbucket-RCE-Analysis"},{"source":"pocgithub","id":"JohanGabrielson/bitbucket-test","title":"JohanGabrielson/bitbucket-test","date":"2026-03-24","url":"https://github.com/JohanGabrielson/bitbucket-test"},{"source":"pocgithub","id":"Junohea/cve-2022-36804","title":"Junohea/cve-2022-36804","date":"2026-08-21","url":"https://github.com/Junohea/cve-2022-36804"},{"source":"nuclei","id":"CVE-2022-36804","title":"Atlassian Bitbucket - Remote Command Injection","type":"detection template","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-36804.yaml"}],"products":[{"vendor":"atlassian","product":"bitbucket"},{"vendor":"atlassian","product":"bitbucket data center"},{"vendor":"atlassian","product":"bitbucket server"},{"vendor":"atlassian","product":"bitbucket server and data center"}],"references":[{"url":"https://jira.atlassian.com/browse/BSERV-13438","tags":["x_transferred","Issue Tracking","Patch","Release Notes","Vendor Advisory"]},{"url":"http://packetstormsecurity.com/files/168470/Bitbucket-Git-Command-Injection.html","tags":["x_transferred","Exploit","Third Party Advisory","VDB Entry"]},{"url":"http://packetstormsecurity.com/files/171453/Bitbucket-7.0.0-Remote-Command-Execution.html","tags":["x_transferred","Exploit","Third Party Advisory","VDB Entry"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-36804","tags":["government-resource","US Government Resource"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-36804"},{"url":"https://github.com/advisories/GHSA-vcm2-j8f4-m7fj"}],"sources":{"cve":[{"id":"CVE-2022-36804","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.","status":"published","published":"2022-08-25T05:40:08.899Z","modified":"2025-10-21T23:15:36.273Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"adp"}],"cwes":["CWE-78","CWE-88"],"updated_at":"2026-11-02T14:34:35.615708Z"}],"euvd":[{"id":"EUVD-2022-39504","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.","status":"published","published":"2022-08-25T05:40:08Z","modified":"2025-10-21T23:15:36Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"exploited_since":"2022-09-30","updated_at":"2026-11-02T20:31:26.48918Z"}],"ghsa":[{"id":"GHSA-vcm2-j8f4-m7fj","title":"Multiple API endpoints in Atlassian Bitbucket Server and Data Center 7.0.0 before version 7.6.17,...","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.","status":"published","published":"2022-08-26T00:03:35Z","modified":"2025-10-22T00:32:36Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-77","CWE-78"],"updated_at":"2026-11-02T15:04:05.954742Z"}],"kev":[{"id":"CVE-2022-36804","title":"Atlassian Bitbucket Server and Data Center Command Injection Vulnerability","description":"Multiple API endpoints of Atlassian Bitbucket Server and Data Center contain a command injection vulnerability where an attacker with access to a public Bitbucket repository, or with read permissions to a private one, can execute code by sending a malicious HTTP request.","cwes":["CWE-78","CWE-88","CWE-158"],"kev":{"date_added":"2022-09-30","due_date":"2022-10-21","required_action":"Apply updates per vendor instructions.","known_ransomware_use":"Unknown"},"updated_at":"2026-11-02T17:00:16.234141Z"}],"nvd":[{"id":"CVE-2022-36804","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.","status":"published","published":"2022-08-25T06:15:09.077Z","modified":"2026-06-17T04:54:00.64Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-78","CWE-88"],"updated_at":"2026-11-02T14:07:25.883929Z"}]}}
