Command Injection Vulnerability in CycloneDX Software Bill of Materials by CycloneDX
CVE-2026-71538

8.5HIGH

Key Information:

Vendor

Cyclonedx

Vendor
CVE Published:
17 September 2026

What is CVE-2026-71538?

The CycloneDX Software Bill of Materials tool, designed to create a CycloneDX document from npm projects, is susceptible to a command injection vulnerability present in versions prior to 6.0.0. When the npm_execpath does not provide the npm CLI path, a fallback method can lead to potentially dangerous shell commands being constructed with untrusted input from the --workspace option. If an attacker can manipulate this option, they can exploit shell metacharacters to execute arbitrary commands on the operating system with the current user's privileges, posing a serious risk of unauthorized data access, file modification, or disruption of services. This issue has been addressed in version 6.0.0.

Affected Version(s)

cyclonedx-node-npm < 6.0.0

References

CVSS V4

Score:
8.5
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Local
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
Unknown

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.