{"id":"CVE-2026-55849","revision":"890082b38c634527a8684bb3911354e6","records":[{"revision":"890082b38c634527a8684bb3911354e6","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-55849","aliases":[],"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.","state":0,"publishedAt":"2026-07-08T21:10:15.798+00:00","modifiedAt":"2026-07-09T19:36:40.011+00:00","affected":[{"ecosystem":"Vendor product","name":"cyclonedx-node-npm","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"CycloneDX\",\n                    \"product\": \"cyclonedx-node-npm\",\n                    \"versions\": [\n                        {\n                            \"version\": \">= 2.1.0, < 5.0.0\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 4.0","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","score":8.5,"severity":"HIGH"}],"references":["https://github.com/CycloneDX/cyclonedx-node-npm/security/advisories/GHSA-v75r-vx73-82pj","https://github.com/CycloneDX/cyclonedx-node-npm/pull/1476","https://github.com/CycloneDX/cyclonedx-node-npm/commit/9f646253f4263d8644dadb86e5597fad996f688f","https://github.com/CycloneDX/cyclonedx-node-npm/releases/tag/v5.0.0"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-55849","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-55849","identifiers":["CVE-2026-55849"]},"retained":false,"historicalAffected":[]}],"coverage":[]}