CVE Catalog

CVE-2026-55849

HighCVSS 8.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.16%

6th percentile - higher than 6% of all known CVEs

Summary

A vulnerability in @cyclonedx/cyclonedx-npm allows arbitrary OS command execution. The issue affects versions 2.1.0 through 5.0.0 when the --workspace parameter is passed to a subshell without proper sanitization and npm_execpath is unset or empty.

Risk Assessment

An attacker can exploit this vulnerability to execute arbitrary commands with the privileges of the invoking user, potentially leading to system compromise or data theft.

Recommendation

Immediately update @cyclonedx/cyclonedx-npm to version 5.0.0 or later. Until updated, avoid using the --workspace parameter with untrusted input.

Related vulnerabilities

Original NVD description (English source)

@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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS