Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-55849— @cyclonedx/cyclonedx-npm: Shell Injection via Unsanitized `--workspace` Argument

AI Predicted 7.8 Difficulty: Easy EPSS 0.16% · P6

Possible ATT&CK Techniques 1AI

T1059 · Command and Scripting Interpreter

Affected Version Matrix 1

VendorProductVersion RangeStatus
CycloneDXcyclonedx-node-npm>= 2.1.0, < 5.0.0affected
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-55849

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
@cyclonedx/cyclonedx-npm: Shell Injection via Unsanitized `--workspace` Argument
Source: NVD (National Vulnerability Database)
Vulnerability 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.
Source: NVD (National Vulnerability Database)
CVSS Information
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Type
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
Source: NVD (National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
CycloneDXcyclonedx-node-npm >= 2.1.0, < 5.0.0 -

II. Public POCs for CVE-2026-55849

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-55849

登录查看更多情报信息。

Patches & Fixes for CVE-2026-55849 (3)

Vendor Advisories for CVE-2026-55849 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-55849

No comments yet


Leave a comment