Skip to main content
VulnerabilityPublished

CVE-2026-55849: cyclonedx-node-npm · OS Command Injection

Affects cyclonedx-node-npmSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 8.5 High : upgrade to 5.0.0 soon.

Data as of 20 Nov 2026, 17:35 UTC

CVSS 4.0 base score
8.5High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 14% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 5.0.0
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 8 Jul 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 20 Nov 2026.

What to do

Upgrade cyclonedx-node-npm and @cyclonedx/cyclonedx-npm to 5.0.0.

Affected software

ProductAffectedFixed in
CycloneDXcyclonedx-node-npmAffected
  • >=2.1.0 <5.0.0
Fixed in
  • 5.0.0
npm@cyclonedx/cyclonedx-npmpkg:npm/@cyclonedx/cyclonedx-npmOther threatsAffected
  • <5.0.0 >=2.1.0
Fixed in
  • 5.0.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade to cyclonedx-node-npm version 5.0.0 or later, where this vulnerability is fixed. No other official remediation or temporary fixes are documented. Patch status is not explicitly stated but the fix is included in version 5.0.0.

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.

References

Community reviews

Loading reviews…