{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-55849","id":"CVE-2026-55849","title":"@cyclonedx/cyclonedx-npm: Shell Injection via Unsanitized `--workspace` Argument","description":"@cyclonedx/cyclonedx-npm creates CycloneDX Software Bill of Materials from npm projects. From 2.1.0 before 5.0.0, the CLI passes user-supplied --workspace values to a subshell without proper sanitization when npm_execpath is unset or empty, allowing arbitrary OS command execution with the privileges of the invoking user. This issue is fixed in version 5.0.0.","descriptionLong":"@cyclonedx/cyclonedx-npm creates CycloneDX Software Bill of Materials from npm projects. From 2.1.0 before 5.0.0, the CLI passes user-supplied --workspace values to a subshell without proper sanitization when npm_execpath is unset or empty, allowing arbitrary OS command execution with the privileges of the invoking user. This issue is fixed in version 5.0.0.","published":"2026-07-08T21:10:15.798Z","updated":"2026-10-28T02:30:58.787769732Z","reserved":"2026-06-17T16:44:40.994Z","status":"Awaiting Analysis","rejected":false,"assigner":"GitHub_M","metric":{"version":"4.0","score":8.5,"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","rating":"high","source":"GitHub_M"},"metrics":[{"version":"4.0","score":8.5,"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","rating":"high","source":"GitHub_M"},{"version":"4.0","score":8.5,"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","rating":"high","source":"github.com"},{"version":"4.0","score":null,"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","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"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","rating":"high","source":"GitHub"}],"rating":"high","products":["cyclonedx-node-npm"],"affectedProducts":[{"vendor":"CycloneDX","product":"cyclonedx-node-npm","defaultStatus":null,"versions":[{"version":">= 2.1.0, < 5.0.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"@cyclonedx/cyclonedx-npm","purl":"pkg:npm/%40cyclonedx/cyclonedx-npm","ranges":[">=2.1.0 <5.0.0"],"fixed":["5.0.0"],"advisory":"GHSA-v75r-vx73-82pj"}],"cwes":["CWE-78"],"aliases":["GHSA-v75r-vx73-82pj"],"references":[{"url":"https://github.com/CycloneDX/cyclonedx-node-npm/security/advisories/GHSA-v75r-vx73-82pj","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/CycloneDX/cyclonedx-node-npm/pull/1476","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/CycloneDX/cyclonedx-node-npm/commit/9f646253f4263d8644dadb86e5597fad996f688f","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/CycloneDX/cyclonedx-node-npm/releases/tag/v5.0.0","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/55xxx/CVE-2026-55849.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-55849","tags":["advisory"]},{"url":"https://github.com/CycloneDX/cyclonedx-node-npm","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00235,"epssPercentile":0.14687,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-55849","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-55849","ok":true,"note":"Awaiting Analysis"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-55849","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-v75r-vx73-82pj","ok":true,"note":"GHSA-v75r-vx73-82pj"},{"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-2026-55849","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}