Vulnerability

CVE-2026-71538

highCVSS 4.0 8.5Published 17 Sep 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

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

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /CycloneDX/cyclonedx-node-npm/commit/15d3beb5bcd2b0b6eccfdf…
  • github.com /CycloneDX/cyclonedx-node-npm/pull/1489
  • github.com /CycloneDX/cyclonedx-node-npm/releases/tag/v6.0.0
  • github.com /CycloneDX/cyclonedx-node-npm/security/advisories/GHSA-q69g…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning