{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-43781","id":"CVE-2022-43781","title":"There is a command injection vulnerability using environment variables in Bitbucket Server and Data Center","description":"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”.","descriptionLong":"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”.","published":"2022-11-17T00:00:01.210Z","updated":"2026-06-17T05:07:20.380Z","reserved":"2022-10-26T14:49:11.114Z","status":"Modified","rejected":false,"assigner":"atlassian","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},"metrics":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"CISA-ADP"}],"rating":"critical","products":["Atlassian Bitbucket Data Center","Atlassian Bitbucket Server"],"affectedProducts":[{"vendor":"Atlassian","product":"Bitbucket Data Center","defaultStatus":null,"versions":[{"version":"before 7.0","status":"unaffected"},{"version":"before 7.17.12","status":"affected"},{"version":"before 7.21.6","status":"affected"},{"version":"before 7.6.19","status":"affected"},{"version":"before 8.0.5","status":"affected"},{"version":"before 8.1.5","status":"affected"},{"version":"before 8.2.4","status":"affected"},{"version":"before 8.3.3","status":"affected"},{"version":"before 8.4.2","status":"affected"},{"version":"before 8.5.0","status":"affected"}],"platforms":[]},{"vendor":"Atlassian","product":"Bitbucket Server","defaultStatus":null,"versions":[{"version":"before 7.0","status":"unaffected"},{"version":"before 7.17.12","status":"affected"},{"version":"before 7.21.6","status":"affected"},{"version":"before 7.6.19","status":"affected"},{"version":"before 8.0.5","status":"affected"},{"version":"before 8.1.5","status":"affected"},{"version":"before 8.2.4","status":"affected"},{"version":"before 8.3.3","status":"affected"},{"version":"before 8.4.2","status":"affected"},{"version":"before 8.5.0","status":"affected"}],"platforms":[]}],"packages":[],"cwes":["CWE-77"],"aliases":[],"references":[{"url":"https://confluence.atlassian.com/x/Y4hXRg","tags":["x_transferred","Mitigation","Release Notes","Vendor Advisory"]},{"url":"https://jira.atlassian.com/browse/BSERV-13522","tags":["x_transferred","Issue Tracking","Patch","Vendor Advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total"},"epss":0.98035,"epssPercentile":0.99911,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-43781","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-43781","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-43781","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-43781","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["atlassian"],"critical":["CVSS 9.8 in a widely used technology","EPSS 98% with CVSS 9.8"],"attention":null}