Skip to main content
← All vulnerabilities
CVE-2026-55849GHSA-V75R-VX73-82PJ

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.0.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • CycloneDX cyclonedx-node-npm

    From 2.1.0 · fixed in 5.0.0

  • @cyclonedx/cyclonedx-npmnpm

    From 2.1.0 · fixed in 5.0.0

References 4

GitHub · CycloneDX/cyclonedx-node-npm