{"id":"CVE-2026-115878","state":"PUBLISHED","title":"Stanza: RCE via pickle deserialization in the lemmatizer","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.","publishedAt":"2026-11-03T20:26:02.220Z","updatedAt":"2026-11-03T22:39:36.547Z","severity":{"score":7.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["stanfordnlp stanza"],"affected":[{"vendor":"stanfordnlp","product":"stanza","versions":[{"version":"= 1.14.0","status":"affected"}]}],"references":["https://github.com/stanfordnlp/stanza/security/advisories/GHSA-gh9r-c94j-cmp5","https://github.com/stanfordnlp/stanza/pull/1649","https://github.com/stanfordnlp/stanza/commit/b21e1c9b47b4fccff21d3b0a6c0687a19410c2f0","https://github.com/stanfordnlp/stanza/releases/tag/v1.15.0"],"weaknesses":["CWE-94","CWE-502"],"ingestedAt":"2026-11-03T22:48:06.583Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/115xxx/CVE-2026-115878.json","commit":"cb56657f761c5a9589427c72bf49eea28ac61f6e","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-115878","state":"PUBLISHED","datePublished":"2026-11-03T20:26:02.220Z","dateUpdated":"2026-11-03T22:39:36.547Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-10-23T19:37:27.176Z"},"containers":{"cna":{"title":"Stanza: RCE via pickle deserialization in the lemmatizer","descriptions":[{"lang":"en","value":"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":[{"vendor":"stanfordnlp","product":"stanza","versions":[{"version":"= 1.14.0","status":"affected"}]}],"references":[{"url":"https://github.com/stanfordnlp/stanza/security/advisories/GHSA-gh9r-c94j-cmp5","name":"https://github.com/stanfordnlp/stanza/security/advisories/GHSA-gh9r-c94j-cmp5","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/stanfordnlp/stanza/pull/1649","name":"https://github.com/stanfordnlp/stanza/pull/1649","tags":["x_refsource_MISC"]},{"url":"https://github.com/stanfordnlp/stanza/commit/b21e1c9b47b4fccff21d3b0a6c0687a19410c2f0","name":"https://github.com/stanfordnlp/stanza/commit/b21e1c9b47b4fccff21d3b0a6c0687a19410c2f0","tags":["x_refsource_MISC"]},{"url":"https://github.com/stanfordnlp/stanza/releases/tag/v1.15.0","name":"https://github.com/stanfordnlp/stanza/releases/tag/v1.15.0","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":7.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-94","lang":"en","description":"CWE-94: Improper Control of Generation of Code ('Code Injection')","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-502","lang":"en","description":"CWE-502: Deserialization of Untrusted Data","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-11-03T20:26:02.220Z"},"source":{"advisory":"GHSA-gh9r-c94j-cmp5","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-11-03T22:36:42.446948Z","id":"CVE-2026-115878","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-11-03T22:39:36.547Z"}}]}}}