Skip to content
OpenAdvisories
High · 7.8 Public exploit CVE-2026-115878 EUVD-2026-116216GHSA-gh9r-c94j-cmp5

Stanza: RCE via pickle deserialization in the lemmatizer

Published Nov 3, 2026 · Updated Nov 3, 2026 · 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.

Affected products

VendorProductAffectedFixed
stanfordnlp stanza = 1.14.0 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI stanza >= 1.14.0, < 1.15.0 1.15.0 GHSA-gh9r-c94j-cmp5

References