{"answers":{"affected":"2 open source packages ship an affected version, including @cyclonedx/cyclonedx-npm.","exploited":"There is no known exploitation of CVE-2026-71538 in the wild and no public exploit code.","fix":"Upgrade @cyclonedx/cyclonedx-npm to 6.0.0 or later.","what":"CVE-2026-71538 is a high-severity command injection vulnerability in cyclonedx-node-npm, published on 17 Sep 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-71538 and fix it if it is affected.\n\nWhat it is: CVE-2026-71538 is a high-severity command injection vulnerability in cyclonedx-node-npm, published on 17 Sep 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-71538 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- @cyclonedx/cyclonedx-npm (npm): affected all versions; fixed in 6.0.0\n- @cyclonedx/cyclonedx-npm (npm): affected all versions; fixed in 6.0.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-71538/ (Markdown: https://insights.sbomify.com/CVE-2026-71538/index.md)","id":"CVE-2026-71538","markdown":"https://insights.sbomify.com/CVE-2026-71538/index.md","name":"CVE-2026-71538","record":{"aliases":["GHSA-q69g-4hcv-6jg4"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["code_execution","data_read","data_modify","denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"CycloneDX npm CLI","requires_auth":"none","summary":"Attackers can execute arbitrary OS commands on Windows via unsanitized workspace arguments in the CycloneDX npm CLI fallback path.","user_interaction":"required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":8.5,"severity":"high","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"@cyclonedx/cyclonedx-npm: Shell Injection via Unsanitized --workspace Argument on Windows","id":"CVE-2026-71538","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"command_injection","year":"2026"},"n_packages":2,"n_references":4,"next":{"headline":"n8n: Race Condition in Git Clone Node Allows Authenticated Users to Achieve Remote Code Execution","id":"CVE-2026-71539"},"packages":[{"ecosystem":"npm","fixed":["6.0.0"],"introduced":["0"],"last_affected":[],"package":"@cyclonedx/cyclonedx-npm","purl":null,"source":"GHSA-q69g-4hcv-6jg4"},{"ecosystem":"npm","fixed":["6.0.0"],"introduced":["0"],"last_affected":[],"package":"@cyclonedx/cyclonedx-npm","purl":"pkg:npm/%40cyclonedx/cyclonedx-npm","source":"GHSA-q69g-4hcv-6jg4"}],"prev":{"headline":"Paymenter: Credit-refund double-spend race condition in service downgrade (doUpgrade)","id":"CVE-2026-71537"},"products":["cyclonedx-node-npm"],"published":"2026-09-17","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-09-17","vendors":["CycloneDX"]},"summary":"Attackers can execute arbitrary OS commands on Windows via unsanitized workspace arguments in the CycloneDX npm CLI fallback path.","url":"https://insights.sbomify.com/CVE-2026-71538/"}