- Home
- Vulnerabilities
- CVE-2026-115878
CVE-2026-115878
Stanza: RCE via pickle deserialization in the lemmatizer
Summary
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.
Affected products and versions
stanfordnlp (1 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| stanza | Versions not specified | — | CNA (vendor or assigner) |
Pypi (1 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| stanza | from 1.14.0 (included) to 1.15.0 (excluded) |
1.15.0 |
GitHub Advisory |
Fix
Upgrade — PyPI/stanza 1.15.0official source
Source : GitHub Advisory
Workaround
No workaround provided.
Check whether you are affected
No verification method provided.
Timeline
- — CVE published (cve)
CERT-FR advisories
- GHSA-gh9r-c94j-cmp5 — Stanza: RCE via pickle deserialization in the lemmatizer 3 Nov 2026
References
- https://github.com/stanfordnlp/stanza/security/advisories/GHSA-gh9r-c94j-cmp5x_refsource_CONFIRM
- https://github.com/stanfordnlp/stanza/pull/1649x_refsource_MISC
- https://github.com/stanfordnlp/stanza/commit/b21e1c9b47b4fccff21d3b0a6c0687a19410c2f0x_refsource_MISC
- https://github.com/stanfordnlp/stanza/releases/tag/v1.15.0x_refsource_MISC
- https://github.com/stanfordnlp/stanzaPACKAGE
Data provenance
- Status
- NVD
- Publication date
- NVD
- Description
- CNA (vendor or assigner)
- CVSS score
- CNA (vendor or assigner)
- Weakness (CWE)
- NVD
- CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H(CVSS 3.1, CNA:GitHub_M)- Weakness
- CWE-94 · Injection de commandes / code