{
  "id": "CVE-2026-55849",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-55849",
  "published_at": "2026-07-08T21:10:15.798Z",
  "title": "@cyclonedx/cyclonedx-npm: Shell Injection via Unsanitized `--workspace` Argument",
  "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. From 2.1.0 before 5.0.0, the CLI passes user-supplied --workspace values to a subshell without proper sanitization when npm_execpath is unset or empty, allowing arbitrary OS command execution with the privileges of the invoking user. This issue is fixed in version 5.0.0.",
  "cwe": "CWE-78",
  "cvss_by_source": {
    "cna": 8.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "CycloneDX",
        "product": "cyclonedx-node-npm",
        "ranges": [
          "\u003e= 2.1.0, \u003c 5.0.0"
        ],
        "fixed_in": [
          "5.0.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade cyclonedx-node-npm to 5.0.0 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/CycloneDX/cyclonedx-node-npm/security/advisories/GHSA-v75r-vx73-82pj"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/CycloneDX/cyclonedx-node-npm/pull/1476"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/CycloneDX/cyclonedx-node-npm/commit/9f646253f4263d8644dadb86e5597fad996f688f"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/CycloneDX/cyclonedx-node-npm/releases/tag/v5.0.0"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
