{
  "id": "CVE-2026-71538",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-71538",
  "published_at": "2026-09-17T14:35:39.144Z",
  "title": "@cyclonedx/cyclonedx-npm: Shell Injection via Unsanitized --workspace Argument on Windows",
  "vendor": "CycloneDX",
  "product": "cyclonedx-node-npm",
  "cvss": {
    "score": 8.5,
    "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"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-78",
  "cvss_by_source": {
    "cna": 8.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "CycloneDX",
        "product": "cyclonedx-node-npm",
        "ranges": [
          "\u003c 6.0.0"
        ],
        "fixed_in": [
          "6.0.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade cyclonedx-node-npm to 6.0.0 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/CycloneDX/cyclonedx-node-npm/security/advisories/GHSA-q69g-4hcv-6jg4"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/CycloneDX/cyclonedx-node-npm/pull/1489"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/CycloneDX/cyclonedx-node-npm/commit/15d3beb5bcd2b0b6eccfdf31192f5103b3f12c0f"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/CycloneDX/cyclonedx-node-npm/releases/tag/v6.0.0"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
