CVE-2026-44295
published high CVSS 3.1 · 8.7protobufjs-cli: Code injection in pbjs static output from crafted schema names
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| protobufjs | — | protobuf.js>= 2.0.0, < 2.0.2 · < 1.2.1 | Affected | Not stated | GitHub_M |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| protobufjs | protobuf.js | >= 2.0.0, < 2.0.2 (affected)< 1.2.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-94 CWE-94: Improper Control of Generation of Code ('Code Injection')
References
1Provider assertions
2GitHub_M · cna
protobufjs-cli: Code injection in pbjs static output from crafted schema names
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 67e8d2b4e0f8e37fe9674fe79f29dea6b12ddefdce7c95cf83a8e57d651254ad
- Ingested
- 23 Sep 2026, 09:15:17 UTC
- Source record
- Official CVE record