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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-54271— protobufjs-cli: Code injection in pbjs static output from crafted JSON descriptor names

Quick assessment

Affected
protobufjs protobufjs-cli
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

protobufjs project protobufjs-cli是protobufjs project的命令行工具。 protobufjs project protobufjs-cli 1.3.2之前版本和2.0.0至2.4.2版本存在代码注入漏洞,该漏洞源于pbjs静态代码生成中不安全的名称处理修复不完整,可能导致攻击者通过特制JSON描述符输入生成包含攻击者控制代码的JavaScript输出。

CVSS 8.2 · High EPSS 0.30% · P21

Affected Version Matrix 2

VendorProduct Version RangeStatus
protobufjs protobufjs-cli < 1.3.2 affected
>= 2.0.0, < 2.4.2 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-54271

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 JSON descriptor names
Source: CVE Program / CVE List V5
Vulnerability Description
protobufjs-cli is the command line add-on for protobuf.js. Prior to 1.3.2 and 2.5.0, a previous fix for unsafe name handling in pbjs static / static-module code generation was incomplete. Affected versions of protobufjs-cli could still emit unsafe JavaScript references when generating static output from crafted JSON descriptor input. The common case of parsing schemas from .proto files is not affected. This is a bypass of CVE-2026-44295. An attacker who can provide or influence pre-parsed JSON descriptors passed to pbjs static code generation may be able to cause generated JavaScript output to contain attacker-controlled code. The injected code may execute if the generated file is later executed or imported and an affected generated API path is invoked. This vulnerability is fixed in 1.3.2 and 2.5.0.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
对生成代码的控制不恰当(代码注入)
Source: CVE Program / CVE List V5
Vulnerability Title
protobufjs project protobufjs-cli 代码注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
protobufjs project protobufjs-cli是protobufjs project的命令行工具。 protobufjs project protobufjs-cli 1.3.2之前版本和2.0.0至2.4.2版本存在代码注入漏洞,该漏洞源于pbjs静态代码生成中不安全的名称处理修复不完整,可能导致攻击者通过特制JSON描述符输入生成包含攻击者控制代码的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

Vendor Product Affected Versions CPE Subscribe
protobufjs protobufjs-cli < 1.3.2 -

II. Public POCs for CVE-2026-54271

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
Qwen3.6-35B-A3B · 8569 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-54271

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-54271 (1)

Same Patch Batch · protobufjs · 2026-06-22 · 4 CVEs total

CVE-2026-48712 7.5 HIGH protobufjs: Denial of service through unbounded Any expansion during JSON conversion
CVE-2026-54269 5.3 MEDIUM protobufjs: Schema-derived names can shadow runtime-significant properties
CVE-2026-54270 5.3 MEDIUM protobufjs: Memory amplification from preserved unknown fields in binary decode

IV. Related Vulnerabilities

V. Comments for CVE-2026-54271

No comments yet


Leave a comment