Skip to main content
VulnerabilityPublished

CVE-2026-54271: protobufjs-cli · Code Injection

Affects protobufjs-cliSource CVE Database V5

0
Compare

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

CVSS 3.1 base score
8.2High
How severe the flaw is on the 0–10 CVSS scale.
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:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 22 Jun 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
protobufjsprotobufjs-cliAffected
  • >=2.0.0 <2.4.2
Fixed in
  • 2.4.2
protobufjsprotobufjs-cliAffected
  • <1.3.2
Fixed in
  • 1.3.2
npmprotobufjs-clipkg:npm/protobufjs-cliOther threatsAffected
  • <1.3.2
  • <2.5.0
Fixed in
  • 1.3.2
  • 2.5.0

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.

References

Community reviews

Loading reviews…