{"id":"CVE-2026-71538","title":"@cyclonedx/cyclonedx-npm creates CycloneDX Software Bill of Materials from npm projects","summary":"@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 she…","severity":"high","cvss":8.5,"cvssVector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","cwe":["CWE-78"],"vendor":"CycloneDX","product":"cyclonedx-node-npm","affected":["cyclonedx-node-npm < 6.0.0"],"patched":["@cyclonedx/cyclonedx-npm 6.0.0"],"published":"2026-09-17","updated":"2026-09-17","sourceUpdated":"2026-09-17T16:17:41.190","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-71538","references":[{"url":"https://github.com/CycloneDX/cyclonedx-node-npm/commit/15d3beb5bcd2b0b6eccfdf31192f5103b3f12c0f","label":"security-advisories@github.com"},{"url":"https://github.com/CycloneDX/cyclonedx-node-npm/pull/1489","label":"security-advisories@github.com"},{"url":"https://github.com/CycloneDX/cyclonedx-node-npm/releases/tag/v6.0.0","label":"security-advisories@github.com"},{"url":"https://github.com/CycloneDX/cyclonedx-node-npm/security/advisories/GHSA-q69g-4hcv-6jg4","label":"security-advisories@github.com"},{"url":"https://github.com/advisories/GHSA-q69g-4hcv-6jg4"}],"tags":["nvd","cve.org","ghsa","npm"],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-09-17T15:30:43.634432Z"},"cvssSource":"cna","aliases":["GHSA-q69g-4hcv-6jg4"],"ecosystem":"npm","ingestedAt":"2026-09-17T15:20:38.997Z","epss":0.00149,"epssPercentile":0.04425,"slug":"CVE-2026-71538","body":"## Overview\n\n@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.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Package advisory (CVE-2026-71538)\n\nAffected packages:\n\n- `@cyclonedx/cyclonedx-npm < 6.0.0`\n\nPatched in:\n\n- `@cyclonedx/cyclonedx-npm 6.0.0`\n\nSource: https://github.com/advisories/GHSA-q69g-4hcv-6jg4","depth":"twilight","depthScore":47,"depthScoreParts":{"impact":46.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}