Live threats

All CVEs / Protobufjs Project

CVE-2026-54271Protobufjs Project Protobufjs-cli

High 8.2 No auth needed

Priority
64
CVSS 3.1
8.2
EPSS
—
Auth required
No
Published
Jun 22, 2026
Updated
Oct 25, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-94
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:L

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Protobufjs-cli.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm protobufjs-cli < 1.3.2 1.3.2 npm install protobufjs-cli@1.3.2
npm protobufjs-cli ≥ 2.0.0 < 2.5.0 2.5.0 npm install protobufjs-cli@2.5.0

Per OSV / GitHub Advisories (GHSA-pr59-h9ph-3fr8). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
protobufjs_projectprotobufjs-cli< 1.3.2
protobufjs_projectprotobufjs-cli≥ 2.0.0 < 2.5.0

Official sources

References

Links published by the sources. Open them with care.