Read the docs
TI-2026-40311 Aliases CVE-2026-55849GHSA-v75r-vx73-82pj

@cyclonedx/cyclonedx-npm: Shell Injection via Unsanitized `--workspace` Argument

Priority LOW 38CWE-78Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
Passive
Attack complexity
Low
Attack requirements
None
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-78.

Summary

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

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00235 14th percentileScored 2026-11-07
Fix Fixed cyclonedx-node-npm (CycloneDX): 5.0.0@cyclonedx/cyclonedx-npm (npm): 5.0.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
CycloneDXcyclonedx-node-npm2.1.0 to before 5.0.05.0.0Patch availableCNA
—@cyclonedx/cyclonedx-npm (npm)2.1.0 to before 5.0.05.0.0Patch availableGHSA-v75r-vx73-82pj
  • cyclonedx-node-npm VendorCycloneDX Affected 2.1.0 to before 5.0.0 Fixed in 5.0.0 Patch available CNA
  • @cyclonedx/cyclonedx-npm (npm) Vendor— Affected 2.1.0 to before 5.0.0 Fixed in 5.0.0 Patch available GHSA-v75r-vx73-82pj

Remediation

  • Fix · CNA cyclonedx-node-npm (CycloneDX) Fixed in 5.0.0
  • Fix · GHSA-v75r-vx73-82pj @cyclonedx/cyclonedx-npm (npm) Fixed in 5.0.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-55849
  2. 2026-10-03 Alias added: GHSA-v75r-vx73-82pj

References

  • TI-2024-25631 Improper Restriction of XML External Entity Reference in org.cyclonedx:cyclonedx-core-java CVSS 3.1HIGH 7.5
  • TI-2024-22686 @cyclonedx/cyclonedx-library Improper Restriction of XML External Entity Reference vulnerability CVSS 3.1HIGH 8.1
  • TI-2025-39908 CycloneDX Core (Java): BOM validation is vulnerable to XML External Entity injection CVSS 3.1HIGH 7.5
  • TI-2026-50119 @cyclonedx/cyclonedx-npm: Shell Injection via Unsanitized --workspace Argument on Windows CVSS 4.0HIGH 8.5
  • TI-2022-08588 Improper Input Validation leading to Path Traversal in CycloneDX BOM Repository Server CVSS 3.1HIGH 8.1

Sources