CVE-2026-44295 json
protobufjs-cli: Code injection in pbjs static output from crafted schema names
published 2026-05-12 5 mo ago modified 2026-09-10 1 mo ago also EUVD-2026-30033 , GHSA-6r35-46g8-jcw9
- cvss
- 8.7
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 34%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm protobufjs-cli 1.2.1, 2.0.2
- protobufjs_project protobufjs-cli 1.2.1, 2.0.2
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 5 mo ago
Exploit prediction
0.40% chance of exploitation in the next 30 days, higher than 34% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N |
| GitHub | 3.1 | 8.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N |
| NVD | 3.1 | 8.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | protobufjs-cli | <1.2.1 >=2.0.0, <2.0.2 |
1.2.1 2.0.2 |
Affected products
- protobufjs protobuf.js
Classification
- Weakness
-
- CWE-94 Improper Control of Generation of Code
References
-
github.com
/protobufjs/protobuf.js/security/advisories/GHSA-6r35-46g8-jcw9
web, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-44295
advisory
-
github.com
/protobufjs/protobuf.js
package
-
github.com
/protobufjs/protobuf.js/releases/tag/protobufjs-cli-v1.2.1
web
-
github.com
/protobufjs/protobuf.js/releases/tag/protobufjs-cli-v2.0.2
web
Sources
- CVE List CVE-2026-44295
- GitHub Advisory GHSA-6r35-46g8-jcw9
- NVD CVE-2026-44295
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.