PoC Monitor
← All CVEs
CVE-2026-54271published 22 Jun 2026 16:16 UTCData: JSON · API

Protobufjs protobufjs-cli

protobufjs-cli: Code injection in pbjs static output from crafted JSON descriptor names

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.2high · scored by CNA · CWE-94
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

protobufjs protobufjs-cli
  • < 1.3.2
  • >= 2.0.0, < 2.4.2

Fixed in 1.3.2, 2.4.2

Mitigation

Upgrade protobufjs-cli to 1.3.2 or 2.4.2 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published22 Jun 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.