CVE-2026-54271: protobufjs_project protobufjs-cli Code Injection
Vulnerability summary
CVE-2026-54271 is a high (CVSS 8.2) Code Injection vulnerability in protobufjs_project protobufjs-cli. EPSS estimates a 0.30% chance of exploitation in the next 30 days, higher than 21.6% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 0 · Related 1Timeline
- 22-06-2026PublishedVulnerability first disclosed.
- 23-06-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 5 sources · 1 version- OSV · WolfiEcosystem advisory · calculated8.2HighCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:L
- OSV · NpmEcosystem advisory · calculated8.2HighCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:L
- OSV · ChainguardEcosystem advisory · calculated8.2HighCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:L
- NVDNIST8.2HighCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:L
EPSS trend
Probability
0.30%
Chance of exploitation in the next 30 days
Percentile
22%
Versus all other CVEs
30-day change
0.00 pp
From 0.30% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Chainguard3 products
- vitess-22All versions (No fix recorded)
- vitess-24< 24.0.1-r4
- vitess-24-compat< 24.0.3-r7
Wolfi2 products
- vitess-24< 24.0.1-r4
- vitess-24-compat< 24.0.3-r7
Npm1 product
- protobufjs-cli< 1.3.2 | ≥ 2.0.0, < 2.5.0
Protobufjs1 product
- protobufjs-cli< 1.3.2 | ≥ 2.0.0, < 2.4.2
Protobufjs_project1 product
- protobufjs-cli< 1.3.2 | ≥ 2.0.0, < 2.5.0
5 vendors · 8 products
References
4 links- github.com/protobufjs/protobuf.js/security/advisories/GHSA-pr59-h9ph-3fr8X Refsource CONFIRMAdvisoryWEBMitigationVendor Advisory