CVE-2026-55849
High
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.
SeverityHigh
CVSS8.5
Exploit probability—
Product@cyclonedx/cyclonedx-npm
PublishedJul 8, 2026
First seenJul 8, 2026
Weakness typeCWE-78OS command injection
How to fix
Update
- @cyclonedx/cyclonedx-npm5.0.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| @cyclonedx/cyclonedx-npmnpm | 2.1.0 ≤ v < 5.0.0 | 5.0.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.