# CVE-2026-44295: protobufjs-cli: Code injection in pbjs static output from crafted schema names

- Severity: High 8.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.40%, higher than 35% of CVEs (2026-12-01)
- Published: 2026-05-12T15:06:22.000Z
- Modified: 2026-11-11T20:10:00.273Z
- Also known as: GHSA-6r35-46g8-jcw9
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: 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.

(As written by CVE List.)

## Affected

- protobufjs protobuf.js: >= 2.0.0, < 2.0.2; < 1.2.1
- protobufjs-cli (npm): before 1.2.1; from 2.0.0 before 2.0.2
- protobufjs_project protobufjs-cli: before 1.2.1; from 2.0.0 before 2.0.2

## Every score

- GitHub_M: CVSS:3.1 8.7 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N`
- GitHub: CVSS:3.1 8.7 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N`
- NVD: CVSS:3.1 8.7 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N`

## References

- <https://github.com/protobufjs/protobuf.js/security/advisories/GHSA-6r35-46g8-jcw9> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-44295> (advisory)
- <https://github.com/protobufjs/protobuf.js> (package)
- <https://github.com/protobufjs/protobuf.js/releases/tag/protobufjs-cli-v1.2.1> (web)
- <https://github.com/protobufjs/protobuf.js/releases/tag/protobufjs-cli-v2.0.2> (web)

## Sources

- CVE List: [CVE-2026-44295](https://www.cve.org/CVERecord?id=CVE-2026-44295), CVE Terms of Use, modified 2026-05-13
- GitHub Advisory Database: [GHSA-6r35-46g8-jcw9](https://github.com/advisories/GHSA-6r35-46g8-jcw9), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-44295](https://nvd.nist.gov/vuln/detail/CVE-2026-44295), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-44295 · Whole record: https://cve.day/CVE-2026-44295.json · Rebuilt by cve.day 2026-11-25T22:59:21.593Z
