CVE-2026-55849
@cyclonedx/cyclonedx-npm creates CycloneDX Software Bill of …
@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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/CycloneDX/cyclonedx-node-npm/security/advisories/GHSA-v75r-vx73-82pj
- github.com/CycloneDX/cyclonedx-node-npm/pull/1476
- github.com/CycloneDX/cyclonedx-node-npm/releases/tag/v5.0.0
- github.com/advisories/GHSA-v75r-vx73-82pj
- github.com/CycloneDX/cyclonedx-node-npm/commit/9f646253f4263d8644dadb86e5597fad996f688f
- nvd.nist.gov/vuln/detail/CVE-2026-55849
- cve.org/CVERecord?id=CVE-2026-55849
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.