CVE-2026-71538
CVE-2026-71538 · @cyclonedx/cyclonedx-npm: Shell Injection via Unsanitized --workspace Argument on Windows
Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.
@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.
CVSS 8.5 · Élevée · EPSS 0,2% · Correctif disponible
- Publication
- Mise à jour
Pile logicielle: node
Produits et versions concernés
cyclonedx-node-npm
- Versions du logiciel
- < 6.0.0: Concernée
Aucun correctif publié
@cyclonedx/cyclonedx-npm npm
- Plages de versions concernées
- SEMVER: < 6.0.0
Mettez à jour vers 6.0.0
Sources originales
- https://github.com/CycloneDX/cyclonedx-node-npm/security/advisories/GHSA-q69g-4hcv-6jg4
- https://github.com/CycloneDX/cyclonedx-node-npm/pull/1489
- https://github.com/CycloneDX/cyclonedx-node-npm/commit/15d3beb5bcd2b0b6eccfdf31192f5103b3f12c0f
- https://github.com/CycloneDX/cyclonedx-node-npm/releases/tag/v6.0.0
- https://nvd.nist.gov/vuln/detail/CVE-2026-71538