CVE-2026-55849
@cyclonedx/cyclonedx-npm: Shell Injection via Unsanitized `--workspace` Argument
CVSS Score
0.0
EPSS Score
0.2%
EPSS Percentile
6th
@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.
| CWE | CWE-78 |
| Vendor | cyclonedx |
| Product | cyclonedx-node-npm |
| Published | Jul 8, 2026 |
| Last Updated | Jul 9, 2026 |
Stay Ahead of the Next One
Get instant alerts for cyclonedx cyclonedx-node-npm
Be the first to know when new unknown vulnerabilities affecting cyclonedx cyclonedx-node-npm are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
Affected Versions
CycloneDX / cyclonedx-node-npm
>= 2.1.0, < 5.0.0
References
github.com: https://github.com/CycloneDX/cyclonedx-node-npm/security/advisories/GHSA-v75r-vx73-82pj github.com: https://github.com/CycloneDX/cyclonedx-node-npm/pull/1476 github.com: https://github.com/CycloneDX/cyclonedx-node-npm/commit/9f646253f4263d8644dadb86e5597fad996f688f github.com: https://github.com/CycloneDX/cyclonedx-node-npm/releases/tag/v5.0.0