{"id":"CVE-2022-43781","aliases":["EUVD-2022-46751","GHSA-3883-h64p-r3xm"],"status":"published","title":"There is a command injection vulnerability using environment variables in Bitbucket Server and...","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”.","severity":{"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","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.98035,"percentile":0.9991,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"cwes":["CWE-77"],"published":"2022-11-17T00:00:01Z","modified":"2026-06-17T05:07:20Z","exploits":[{"source":"metasploit","id":"exploit/multi/http/bitbucket_env_var_rce","title":"Bitbucket Environment Variable RCE","type":"exploit","platform":"Linux,Unix,Windows","date":"2022-11-16","verified":true,"url":"https://www.rapid7.com/db/modules/exploit/multi/http/bitbucket_env_var_rce"}],"products":[{"vendor":"atlassian","product":"bitbucket"},{"vendor":"atlassian","product":"bitbucket data center"},{"vendor":"atlassian","product":"bitbucket server"}],"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"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-43781"},{"url":"https://github.com/advisories/GHSA-3883-h64p-r3xm"}],"sources":{"cve":[{"id":"CVE-2022-43781","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”.","status":"published","published":"2022-11-17T00:00:01.21Z","modified":"2024-10-02T14:56:09.693Z","cvss":[{"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","level":"critical","assessor":"adp"}],"cwes":["CWE-77"],"updated_at":"2026-11-02T14:34:25.308772Z"}],"euvd":[{"id":"EUVD-2022-46751","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”.","status":"published","published":"2022-11-17T00:00:01Z","modified":"2024-10-02T14:56:09Z","cvss":[{"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","level":"critical"}],"updated_at":"2026-11-03T00:27:58.959241Z"}],"ghsa":[{"id":"GHSA-3883-h64p-r3xm","title":"There is a command injection vulnerability using environment variables in Bitbucket Server and...","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”.","status":"published","published":"2023-07-06T19:24:04Z","modified":"2024-04-04T05:30:22Z","cvss":[{"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","level":"critical"}],"cwes":["CWE-77"],"updated_at":"2026-11-02T14:56:32.75662Z"}],"nvd":[{"id":"CVE-2022-43781","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”.","status":"published","published":"2022-11-17T00:15:18.483Z","modified":"2026-06-17T05:07:20.38Z","cvss":[{"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","level":"critical","assessor":"primary"},{"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","level":"critical","assessor":"secondary"}],"cwes":["CWE-77"],"updated_at":"2026-11-02T14:07:32.395456Z"}]}}
