CVE-2026-71538

published 17 Sep 2026 · updated 17 Sep 2026

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

8.5HighCVSS 8.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.

@cyclonedx/cyclonedx-npm creates CycloneDX Software Bill of Materials from npm projects. Prior to version 6.0.0, the Windows fallback path in src/npmRunner.ts, used when npm_execpath does not provide the npm CLI path, can construct a shell command containing an untrusted value from the --workspace option. When an attacker can influence that option and the fallback npm execution path is reached, shell metacharacters in the workspace value can execute arbitrary operating-system commands with the privileges of the user running the CLI, allowing data access, file modification, or service disruption. This issue is fixed in version 6.0.0.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
CycloneDX<6.0.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-71538 severity on Zeptric[![CVE-2026-71538](https://zeptric.io/badge/cve/CVE-2026-71538.svg)](https://zeptric.io/cve/CVE-2026-71538)