{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-57998","published":"2026-08-22T13:16:38.263000Z","last_modified":"2026-10-12T16:10:00.220000Z","status":"Deferred","cvss":{"version":"4.0","score":8.5,"severity":"HIGH","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"disclosure@vulncheck.com","primary":false},"auth":true,"cwes":["CWE-78"],"cpes":[],"cpes_truncated":false,"vendors":["jeemok"],"products":["jeemok/better-npm-audit"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":51,"links":{"html_es":"/es/cve/CVE-2026-57998/","html_en":"/en/cve/CVE-2026-57998/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-57998","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-57998"},"untrusted":{"vendor_name":"jeemok","product_name":"better-npm-audit","desc_en":"better-npm-audit through 3.11.0, and the 4.0.0-rc.2 prerelease, builds its npm audit command by interpolating the user-supplied --registry option into a command string in src/handlers/handleInput.ts without validation or quoting, then passes that string to child_process.exec() in index.ts, which spawns a shell. A registry value containing shell metacharacters such as a semicolon, pipe, or command substitution executes arbitrary operating system commands with the privileges of the process running the audit.","affected":[{"untrusted_vendor":"jeemok","untrusted_product":"better-npm-audit","versions":[]}],"references":[{"url":"https://github.com/jeemok/better-npm-audit","tags":[]},{"url":"https://github.com/jeemok/better-npm-audit/blob/fd99a0f41ff4342b8a0a6fdbe5a17261de3d0544/index.ts#L34","tags":[]},{"url":"https://github.com/jeemok/better-npm-audit/blob/fd99a0f41ff4342b8a0a6fdbe5a17261de3d0544/src/handlers/handleInput.ts#L30-L37","tags":[]},{"url":"https://github.com/jeemok/better-npm-audit/issues/119","tags":[]},{"url":"https://github.com/jeemok/better-npm-audit/pull/120","tags":[]},{"url":"https://www.vulncheck.com/advisories/better-npm-audit-os-command-injection-via-registry-flag","tags":[]}]}}