Home

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.

PUBLISHED Reserved 2026-06-17 | Published 2026-07-08 | Updated 2026-07-09 | Assigner GitHub_M




HIGH: 8.5CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Problem types

CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Product status

>= 2.1.0, < 5.0.0
affected

References

github.com/...de-npm/security/advisories/GHSA-v75r-vx73-82pj

github.com/CycloneDX/cyclonedx-node-npm/pull/1476

github.com/...ommit/9f646253f4263d8644dadb86e5597fad996f688f

github.com/CycloneDX/cyclonedx-node-npm/releases/tag/v5.0.0

cve.org (CVE-2026-55849)

nvd.nist.gov (CVE-2026-55849)

Download JSON