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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2026-42290— protobufjs-cli: OS Command Injection

CVSS 7.8 · High EPSS 0.02% · P6

Affected Version Matrix 2

VendorProductVersion RangeStatus
protobufjsprotobuf.js>= 2.0.0, < 2.0.2affected
< 1.2.1affected
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-42290

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
protobufjs-cli: OS Command Injection
Source: NVD (National Vulnerability Database)
Vulnerability Description
protobufjs-cli is the command line add-on for protobuf.js. Prior to 1.2.1 and 2.0.2, pbts invoked JSDoc by building a shell command string from input file paths and executing it through child_process.exec. File paths containing shell metacharacters could therefore be interpreted by the shell instead of being passed to JSDoc as plain arguments. This vulnerability is fixed in 1.2.1 and 2.0.2.
Source: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Source: NVD (National Vulnerability Database)
Vulnerability Type
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
Source: NVD (National Vulnerability Database)
Vulnerability Title
protobuf.js 操作系统命令注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
protobuf.js是The protobuf.js Project开源的一个纯 JavaScript 实现,具有对node.js和浏览器的TypeScript支持的协议缓冲区实现。它易于使用,速度极快,并且通过.proto文件可以开箱即用! protobuf.js 1.2.1之前版本和2.0.2之前版本存在操作系统命令注入漏洞,该漏洞源于pbts通过构建shell命令字符串执行JSDoc,文件路径中的shell元字符可能被shell解释。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
protobufjsprotobuf.js >= 2.0.0, < 2.0.2 -

II. Public POCs for CVE-2026-42290

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-42290

登录查看更多情报信息。

Same Patch Batch · protobufjs · 2026-05-13 · 10 CVEs total

CVE-2026-442958.7 HIGHprotobufjs-cli: Code injection in pbjs static output from crafted schema names
CVE-2026-442918.1 HIGHprotobufjs: Code generation gadget after prototype pollution
CVE-2026-442897.5 HIGHprotobufjs: Denial of service through unbounded protobuf recursion
CVE-2026-442907.5 HIGHprotobufjs: Process-wide denial of service through unsafe option paths
CVE-2026-457405.3 MEDIUMprotobufjs: Denial of Service via unbounded recursive JSON descriptor expansion
CVE-2026-442885.3 MEDIUMprotobufjs: Overlong UTF-8 decoding
CVE-2026-442945.3 MEDIUMprotobufjs: Denial of service from crafted field names in generated code
CVE-2026-442925.3 MEDIUMprotobufjs: Prototype injection in generated message constructors
CVE-2026-44293protobufjs: Code injection through bytes field defaults in generated toObject code

IV. Related Vulnerabilities

V. Comments for CVE-2026-42290

No comments yet


Leave a comment