1. Home
  2. Vulnerabilities
  3. CVE-2026-115878

CVE-2026-115878

Stanza: RCE via pickle deserialization in the lemmatizer

Published 3 Nov 2026 · modified 12 Nov 2026 · Sources: NVD, CNA (vendor or assigner), CERT-FR, EPSS (FIRST)

Medium 41/100

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))
stanfordnlp
ProductVersionsFixed inSource
stanza Versions not specified — CNA (vendor or assigner)
Pypi (1 line(s))
Pypi
ProductVersionsFixed inSource
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

  1. — CVE published (cve)

CERT-FR advisories

References

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

How this data is obtained and calculated