# CVE-2026-59876: protobufjs: Text Format string map parsing can mutate returned map object prototype

- Priority: **Routine**
- Reason: Not severe (CVSS 4.8, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-07-08 · Modified: 2026-07-09
- Aliases: GHSA-jfj6-75fj-8934, CGA-22pp-vw5p-q4vh, CGA-27jm-87j2-6gwj, CGA-2gc2-2r5c-9457, CGA-345f-xjhj-m234, CGA-375x-8r2f-xr3w, CGA-495v-qrr5-3rvq, CGA-49rw-w3j7-rj63, CGA-5855-cx65-8rg3, CGA-6c78-fv76-jpvq, CGA-92qq-fffr-wphq, CGA-9fvr-r29q-fp8m, CGA-f2q8-xqfg-pj3f, CGA-jh4v-q3fp-q4h7, CGA-mfj3-9mxw-jw2h, CGA-mhx6-7p9v-jxfm, CGA-mrrv-gvm8-q3vx, CGA-ppfm-2fh7-f87h, CGA-qwv4-666m-f6mr, CGA-v9h2-jx5w-wrv5, CGA-w22j-wm39-pvhj, CGA-wvmg-x735-5jvh, CGA-ww43-mgwv-98p9
- Record: https://cvemate.com/vulnerability/CVE-2026-59876 · JSON: https://cvemate.com/vulnerability/CVE-2026-59876/json

## Description

```text
protobufjs compiles protobuf definitions into JavaScript (JS) functions. From 8.2.0 until 8.6.5, the protobufjs Text Format extension parsed string-keyed map entries using ordinary property assignment, allowing a map entry with key __proto__ to change the prototype of the returned map object instead of creating an own map entry in protobufjs/ext/textformat. This issue is fixed in version 8.6.5.
```

## Signals

- CVSS: 4.8 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
- EPSS: 0.219%, percentile 13.22%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- chainguard librechat (Chainguard): \< 0.8.7-r5
- Npm protobufjs (Npm): ≥ 8.2.0, \< 8.6.5
- protobufjs\_project protobufjs: ≥ 8.2.0, \< 8.6.5
- protobufjs protobufjs: ≥ 8.2.0, \< 8.6.5

## References

- <https://github.com/protobufjs/protobuf.js/security/advisories/GHSA-jfj6-75fj-8934>
- <https://github.com/protobufjs/protobuf.js/pull/2335>
- <https://github.com/protobufjs/protobuf.js/commit/9f97fe413072d3beb52c74e62d88ea8adc9444d8>
- <https://github.com/protobufjs/protobuf.js/releases/tag/protobufjs-v8.6.5>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-59876>
- <https://github.com/protobufjs/protobuf.js>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59876.json>

---

Data as of 2026-12-05T03:08:30.954Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
