THREATOPS
THREAT OPS › Threat News › [GHSA] GHSA-gh9r-c94j-cmp5 (high) — Stanza: RCE via pickle deserialization in the lemmatizer

[GHSA] GHSA-gh9r-c94j-cmp5 (high) — Stanza: RCE via pickle deserialization in the lemmatizer

medgithub_advisoriesPublished 2026-11-03

GHSA-gh9r-c94j-cmp5 Severity: high CVE: CVE-2026-115878

Stanza: RCE via pickle deserialization in the lemmatizer

## TL;DR

Loading an attacker-supplied lemma `.pt` runs arbitrary code as the loading user. Since 1.14.0 the lemmatizer stores `pos_dict` as a gzip-compressed pickle in the checkpoint's `dicts` field (a `bytes` value). `torch.load(weights_only=True)` treats `bytes` as a primitive and

Indicators of compromise

Original source: https://github.com/advisories/GHSA-gh9r-c94j-cmp5