{"id":"CVE-2022-36804","state":"PUBLISHED","title":"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","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.","publishedAt":"2022-08-25T05:40:08.899Z","updatedAt":"2025-10-21T23:15:36.273Z","severity":{"score":8.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"CISA-ADP"},"assigner":"atlassian","products":["Atlassian Bitbucket Server","Atlassian Bitbucket Data Center"],"affected":[{"vendor":"Atlassian","product":"Bitbucket Server","versions":[{"version":"7.0.0","status":"affected","lessThan":"unspecified","versionType":"custom"},{"version":"unspecified","status":"affected","lessThan":"7.6.17","versionType":"custom"},{"version":"7.7.0","status":"affected","lessThan":"unspecified","versionType":"custom"},{"version":"unspecified","status":"affected","lessThan":"7.17.10","versionType":"custom"},{"version":"7.18.0","status":"affected","lessThan":"unspecified","versionType":"custom"},{"version":"unspecified","status":"affected","lessThan":"7.21.4","versionType":"custom"},{"version":"8.0.0","status":"affected","lessThan":"unspecified","versionType":"custom"},{"version":"unspecified","status":"affected","lessThan":"8.0.3","versionType":"custom"},{"version":"8.1.0","status":"affected","lessThan":"unspecified","versionType":"custom"},{"version":"unspecified","status":"affected","lessThan":"8.1.3","versionType":"custom"},{"version":"8.2.0","status":"affected","lessThan":"unspecified","versionType":"custom"},{"version":"unspecified","status":"affected","lessThan":"8.2.2","versionType":"custom"},{"version":"8.3.0","status":"affected","lessThan":"unspecified","versionType":"custom"},{"version":"unspecified","status":"affected","lessThan":"8.3.1","versionType":"custom"}]},{"vendor":"Atlassian","product":"Bitbucket Data Center","versions":[{"version":"7.0.0","status":"affected","lessThan":"unspecified","versionType":"custom"},{"version":"unspecified","status":"affected","lessThan":"7.6.17","versionType":"custom"},{"version":"7.7.0","status":"affected","lessThan":"unspecified","versionType":"custom"},{"version":"unspecified","status":"affected","lessThan":"7.17.10","versionType":"custom"},{"version":"7.18.0","status":"affected","lessThan":"unspecified","versionType":"custom"},{"version":"unspecified","status":"affected","lessThan":"7.21.4","versionType":"custom"},{"version":"8.0.0","status":"affected","lessThan":"unspecified","versionType":"custom"},{"version":"unspecified","status":"affected","lessThan":"8.0.3","versionType":"custom"},{"version":"8.1.0","status":"affected","lessThan":"unspecified","versionType":"custom"},{"version":"unspecified","status":"affected","lessThan":"8.1.3","versionType":"custom"},{"version":"8.2.0","status":"affected","lessThan":"unspecified","versionType":"custom"},{"version":"unspecified","status":"affected","lessThan":"8.2.2","versionType":"custom"},{"version":"8.3.0","status":"affected","lessThan":"unspecified","versionType":"custom"},{"version":"unspecified","status":"affected","lessThan":"8.3.1","versionType":"custom"}]}],"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","https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-36804"],"weaknesses":["CWE-78","CWE-88"],"ingestedAt":"2026-10-29T19:50:21.136Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/36xxx/CVE-2022-36804.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-36804","state":"PUBLISHED","datePublished":"2022-08-25T05:40:08.899Z","dateUpdated":"2025-10-21T23:15:36.273Z","assignerShortName":"atlassian","assignerOrgId":"f08a6ab8-ed46-4c22-8884-d911ccfe3c66","dateReserved":"2022-07-26T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Atlassian","product":"Bitbucket Server","versions":[{"version":"7.0.0","status":"affected","lessThan":"unspecified","versionType":"custom"},{"version":"unspecified","status":"affected","lessThan":"7.6.17","versionType":"custom"},{"version":"7.7.0","status":"affected","lessThan":"unspecified","versionType":"custom"},{"version":"unspecified","status":"affected","lessThan":"7.17.10","versionType":"custom"},{"version":"7.18.0","status":"affected","lessThan":"unspecified","versionType":"custom"},{"version":"unspecified","status":"affected","lessThan":"7.21.4","versionType":"custom"},{"version":"8.0.0","status":"affected","lessThan":"unspecified","versionType":"custom"},{"version":"unspecified","status":"affected","lessThan":"8.0.3","versionType":"custom"},{"version":"8.1.0","status":"affected","lessThan":"unspecified","versionType":"custom"},{"version":"unspecified","status":"affected","lessThan":"8.1.3","versionType":"custom"},{"version":"8.2.0","status":"affected","lessThan":"unspecified","versionType":"custom"},{"version":"unspecified","status":"affected","lessThan":"8.2.2","versionType":"custom"},{"version":"8.3.0","status":"affected","lessThan":"unspecified","versionType":"custom"},{"version":"unspecified","status":"affected","lessThan":"8.3.1","versionType":"custom"}]},{"vendor":"Atlassian","product":"Bitbucket Data Center","versions":[{"version":"7.0.0","status":"affected","lessThan":"unspecified","versionType":"custom"},{"version":"unspecified","status":"affected","lessThan":"7.6.17","versionType":"custom"},{"version":"7.7.0","status":"affected","lessThan":"unspecified","versionType":"custom"},{"version":"unspecified","status":"affected","lessThan":"7.17.10","versionType":"custom"},{"version":"7.18.0","status":"affected","lessThan":"unspecified","versionType":"custom"},{"version":"unspecified","status":"affected","lessThan":"7.21.4","versionType":"custom"},{"version":"8.0.0","status":"affected","lessThan":"unspecified","versionType":"custom"},{"version":"unspecified","status":"affected","lessThan":"8.0.3","versionType":"custom"},{"version":"8.1.0","status":"affected","lessThan":"unspecified","versionType":"custom"},{"version":"unspecified","status":"affected","lessThan":"8.1.3","versionType":"custom"},{"version":"8.2.0","status":"affected","lessThan":"unspecified","versionType":"custom"},{"version":"unspecified","status":"affected","lessThan":"8.2.2","versionType":"custom"},{"version":"8.3.0","status":"affected","lessThan":"unspecified","versionType":"custom"},{"version":"unspecified","status":"affected","lessThan":"8.3.1","versionType":"custom"}]}],"references":[{"url":"https://jira.atlassian.com/browse/BSERV-13438"},{"url":"http://packetstormsecurity.com/files/168470/Bitbucket-Git-Command-Injection.html"},{"url":"http://packetstormsecurity.com/files/171453/Bitbucket-7.0.0-Remote-Command-Execution.html"}],"problemTypes":[{"descriptions":[{"type":"text","lang":"en","description":"Remote Code Execution"}]}],"providerMetadata":{"shortName":"atlassian","orgId":"f08a6ab8-ed46-4c22-8884-d911ccfe3c66","dateUpdated":"2023-03-24T00:00:00.000Z"},"datePublic":"2022-08-24T00:00:00.000Z"},"adp":[{"title":"CVE Program Container","references":[{"url":"https://jira.atlassian.com/browse/BSERV-13438","tags":["x_transferred"]},{"url":"http://packetstormsecurity.com/files/168470/Bitbucket-Git-Command-Injection.html","tags":["x_transferred"]},{"url":"http://packetstormsecurity.com/files/171453/Bitbucket-7.0.0-Remote-Command-Execution.html","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T10:14:28.471Z"}},{"title":"CISA ADP Vulnrichment","references":[{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-36804","tags":["government-resource"]}],"metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":8.8,"attackVector":"NETWORK","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"LOW","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"id":"CVE-2022-36804","role":"CISA Coordinator","options":[{"Exploitation":"active"},{"Automatable":"no"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2025-01-29T16:19:10.861167Z"}}},{"other":{"type":"kev","content":{"dateAdded":"2022-09-30","reference":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-36804"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-78","lang":"en","type":"CWE","description":"CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')"}]},{"descriptions":[{"cweId":"CWE-88","lang":"en","type":"CWE","description":"CWE-88 Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-10-21T23:15:36.273Z"},"timeline":[{"time":"2022-09-30T00:00:00.000Z","lang":"en","value":"CVE-2022-36804 added to CISA KEV"}]}]}}}