Vulnerability 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.
Related Weaknesses (CWE)
References
- https://github.com/CycloneDX/cyclonedx-node-npm/commit/9f646253f4263d8644dadb86e
- https://github.com/CycloneDX/cyclonedx-node-npm/pull/1476
- https://github.com/CycloneDX/cyclonedx-node-npm/releases/tag/v5.0.0
- https://github.com/CycloneDX/cyclonedx-node-npm/security/advisories/GHSA-v75r-vx
FAQ
What is CVE-2026-55849?
CVE-2026-55849 is a documented vulnerability. @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 sanitizat...
How severe is CVE-2026-55849?
CVSS scoring is not yet available for CVE-2026-55849. Check NVD for updates.
Is there a patch for CVE-2026-55849?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.