CVE-2026-54271: protobufjs-cli · Code Injection
Affects protobufjs-cliSource CVE Database V5
Mentioned vulnerabilities
Not known to be exploited · CVSS 8.2 High : upgrade to 2.4.2 or 1.3.2 soon.
Data as of 5 Nov 2026, 00:01 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 23% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2.4.2, 1.3.2, 2.5.0
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:LExploitation evidence
Disclosed: evidence found.
CVE published 22 Jun 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 5 Nov 2026.
What to do
Upgrade protobufjs-cli to 2.4.2 or 1.3.2; protobufjs-cli to 2.5.0 or 1.3.2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| protobufjsprotobufjs-cli | Affected
| Fixed in
|
| protobufjsprotobufjs-cli | Affected
| Fixed in
|
npmprotobufjs-clipkg:npm/protobufjs-cliOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
This vulnerability is fixed in protobufjs-cli versions 1.3.2 and 2.5.0. Users should upgrade to at least one of these versions to remediate the issue. Since this is not a cloud service, remediation requires updating the affected software. Patch status is confirmed by the vendor advisory stating the fix in these versions.
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.