{"id":"CVE-2026-115878","summary":"Stanza: RCE via pickle deserialization in the lemmatizer","details":"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.","aliases":["GHSA-gh9r-c94j-cmp5"],"modified":"2026-11-14T02:30:46.887231883Z","published":"2026-11-03T20:26:02.220Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-502","CWE-94"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/115xxx/CVE-2026-115878.json"},"references":[{"type":"WEB","url":"https://github.com/stanfordnlp/stanza/releases/tag/v1.15.0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/115xxx/CVE-2026-115878.json"},{"type":"ADVISORY","url":"https://github.com/stanfordnlp/stanza/security/advisories/GHSA-gh9r-c94j-cmp5"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-115878"},{"type":"FIX","url":"https://github.com/stanfordnlp/stanza/commit/b21e1c9b47b4fccff21d3b0a6c0687a19410c2f0"},{"type":"FIX","url":"https://github.com/stanfordnlp/stanza/pull/1649"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/stanfordnlp/stanza","events":[{"introduced":"1f4bfdd2bff400969444cf9f290d402448c9d6d5"},{"fixed":"b21e1c9b47b4fccff21d3b0a6c0687a19410c2f0"},{"fixed":"c9a2158a87502dd63f757ab1aa933230b0acbce7"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandaloneSingleVersion","range":[{"introduced":"= 1.14.0"},{"last_affected":"= 1.14.0"}]},{"range":[{"fixed":"b21e1c9b47b4fccff21d3b0a6c0687a19410c2f0"}],"source":"REFERENCES_COMMIT"},{"original_tag":"v1.15.0","range":[{"fixed":"c9a2158a87502dd63f757ab1aa933230b0acbce7"}],"source":"REFERENCES_TAG"}]}}],"versions":["= 1.14.0","v1.14.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-115878.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}