# CVE-2026-115878: Stanza: RCE via pickle deserialization in the lemmatizer

- Severity: High 7.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- 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.46%, higher than 41% of CVEs (2026-12-01)
- Published: 2026-11-03T20:26:02.220Z
- Modified: 2026-11-12T20:04:52.377Z
- Also known as: GHSA-gh9r-c94j-cmp5
- Weaknesses: CWE-94, CWE-502
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

Stanza is a Stanford NLP Python library for tokenization, sentence segmentation, NER, and parsing of many human languages. From 1.14.0 until 1.15.0, loading an attacker-supplied lemmatizer checkpoint can execute arbitrary code because stanza/models/lemma/trainer.py stores pos_dict as gzip-compressed pickle bytes and Trainer.load passes the decompressed stream to unrestricted pickle.loads. The outer torch.load call uses weights_only=True, but the nested bytes are treated as a primitive and are not inspected by that allowlist. The path is reachable during pipeline construction through a caller-influenced lemma_model_path, before inference begins. This issue is fixed in version 1.15.0.

(As written by CVE List.)

## Affected

- stanfordnlp stanza: = 1.14.0
- stanza (PyPI): from 1.14.0 before 1.15.0

## Every score

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

## References

- <https://github.com/stanfordnlp/stanza/security/advisories/GHSA-gh9r-c94j-cmp5> (web)
- <https://github.com/stanfordnlp/stanza/pull/1649> (web)
- <https://github.com/stanfordnlp/stanza/commit/b21e1c9b47b4fccff21d3b0a6c0687a19410c2f0> (web)
- <https://github.com/stanfordnlp/stanza/releases/tag/v1.15.0> (web)
- <https://github.com/stanfordnlp/stanza> (package)

## Sources

- CVE List: [CVE-2026-115878](https://www.cve.org/CVERecord?id=CVE-2026-115878), CVE Terms of Use, modified 2026-11-03
- GitHub Advisory Database: [GHSA-gh9r-c94j-cmp5](https://github.com/advisories/GHSA-gh9r-c94j-cmp5), CC-BY-4.0, modified 2026-11-03
- NVD: [CVE-2026-115878](https://nvd.nist.gov/vuln/detail/CVE-2026-115878), Public domain, modified 2026-11-12

---

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