CVE-2026-55849

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

No CVSS.

Configurations

No configuration.

History

08 Jul 2026, 22:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-07-08 22:17

Updated : 2026-07-10 19:15


NVD link : CVE-2026-55849

Mitre link : CVE-2026-55849

CVE.ORG link : CVE-2026-55849


JSON object : View

Products Affected

No product.

CWE
CWE-78

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')