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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2026-44295— protobufjs-cli: Code injection in pbjs static output from crafted schema names

CVSS 8.7 · High EPSS 0.03% · P10
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-44295

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: Code injection in pbjs static output from crafted schema names
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, pbjs static code generation could emit unsafe JavaScript identifiers derived from schema-controlled names. When generating static JavaScript from a crafted schema or JSON descriptor, certain namespace, enum, service, or derived full names could be written into the generated output without sufficient sanitization. This vulnerability is fixed in 1.2.1 and 2.0.2.
Source: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
Source: NVD (National Vulnerability Database)
Vulnerability Type
对生成代码的控制不恰当(代码注入)
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之前版本存在代码注入漏洞,该漏洞源于pbjs静态代码生成可能发出由模式控制名称派生的不安全JavaScript标识符,导致在生成静态JavaScript时未充分清理命名空间、枚举、服务或派生全名。
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-44295

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-44295

登录查看更多情报信息。

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

CVE-2026-442918.1 HIGHprotobufjs: Code generation gadget after prototype pollution
CVE-2026-422907.8 HIGHprotobufjs-cli: OS Command Injection
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-44295

No comments yet


Leave a comment