CVE-2026-44295CWE-94

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

High · published May 13, 2026

CVSS v3.1
8.7
EPSS
0%
Percentile
28.7
In the wild
Unconfirmed
What it is

protobufjs-cli is the command line add-on for protobuf.js. Prior to 1.2.1 and 2.0.2, pbjs static code generation could emit unsafe JavaScript identifiers derived from schema-controlled names. When generating static JavaScript from a crafted schema or JSON descriptor, certain namespace, enum, service, or derived full names could be written into the generated output without sufficient sanitization. This vulnerability is fixed in 1.2.1 and 2.0.2.

The record
Technical detail
CVSS v3.1
8.7 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00361 · 28.7th percentile
Weakness
CWE-94 · Improper Control of Generation of Code ('Code Injection')
Published
2026-05-13T14:50Z
EPSS history
Timeline
  • 13 MAY 14:50Z
    protobufjs-cli: Code injection in pbjs static output from crafted schema names
    cvelistv5