{"id":"GHSA-4j66-8f4r-3pjx","summary":"bun vulnerable to OS Command Injection","details":"All versions of the package bun are vulnerable to Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in the $ shell API due to improper neutralization of user input. An attacker can exploit this by providing specially crafted input that includes command-line arguments or shell metacharacters, leading to unintended command execution.","aliases":["CVE-2025-8022"],"modified":"2025-07-23T17:42:18.941869Z","published":"2025-07-23T06:33:50Z","database_specific":{"nvd_published_at":"2025-07-23T05:15:30Z","severity":"HIGH","cwe_ids":["CWE-78"],"github_reviewed_at":"2025-07-23T16:38:39Z","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-8022"},{"type":"WEB","url":"https://gist.github.com/lirantal/9780d664037f29d5277d7b2bc569d213"},{"type":"PACKAGE","url":"https://github.com/oven-sh/bun"},{"type":"WEB","url":"https://security.snyk.io/vuln/SNYK-JS-BUN-9510752"}],"affected":[{"package":{"name":"bun","ecosystem":"npm","purl":"pkg:npm/bun"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"1.1.39"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/07/GHSA-4j66-8f4r-3pjx/GHSA-4j66-8f4r-3pjx.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P"}]}