CVE Explorer
CVE-2026-55849
@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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"cyclonedx-node-npm","vendor":"CycloneDX","versions":[{"status":"affected","version":">= 2.1.0, < 5.0.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:e240ab2816080fa27e96035d35b2ca8522d9abd2aa7c32bd29c3a0a98a175d25 · sha256:afafc505944950cd… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"LOCAL","baseScore":8.5,"baseSeverity":"HIGH","privilegesRequired":"NONE","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"PASSIVE","vectorString":"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","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:e240ab2816080fa27e96035d35b2ca8522d9abd2aa7c32bd29c3a0a98a175d25 · sha256:afafc505944950cd… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-78","description":"CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:e240ab2816080fa27e96035d35b2ca8522d9abd2aa7c32bd29c3a0a98a175d25 · sha256:afafc505944950cd… · /containers/cna/problemTypes/0/descriptions/0
Source references
4 source assertions{"name":"https://github.com/CycloneDX/cyclonedx-node-npm/commit/9f646253f4263d8644dadb86e5597fad996f688f","tags":["x_refsource_MISC"],"url":"https://github.com/CycloneDX/cyclonedx-node-npm/commit/9f646253f4263d8644dadb86e5597fad996f688f"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:e240ab2816080fa27e96035d35b2ca8522d9abd2aa7c32bd29c3a0a98a175d25 · sha256:afafc505944950cd… · /containers/cna/references/2
{"name":"https://github.com/CycloneDX/cyclonedx-node-npm/pull/1476","tags":["x_refsource_MISC"],"url":"https://github.com/CycloneDX/cyclonedx-node-npm/pull/1476"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:e240ab2816080fa27e96035d35b2ca8522d9abd2aa7c32bd29c3a0a98a175d25 · sha256:afafc505944950cd… · /containers/cna/references/1
{"name":"https://github.com/CycloneDX/cyclonedx-node-npm/releases/tag/v5.0.0","tags":["x_refsource_MISC"],"url":"https://github.com/CycloneDX/cyclonedx-node-npm/releases/tag/v5.0.0"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:e240ab2816080fa27e96035d35b2ca8522d9abd2aa7c32bd29c3a0a98a175d25 · sha256:afafc505944950cd… · /containers/cna/references/3
{"name":"https://github.com/CycloneDX/cyclonedx-node-npm/security/advisories/GHSA-v75r-vx73-82pj","tags":["x_refsource_CONFIRM"],"url":"https://github.com/CycloneDX/cyclonedx-node-npm/security/advisories/GHSA-v75r-vx73-82pj"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:e240ab2816080fa27e96035d35b2ca8522d9abd2aa7c32bd29c3a0a98a175d25 · sha256:afafc505944950cd… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.