Skip to content
HighVulnerability

CVE-2026-54499: Stanza model loaders arbitrary code execution via malicious pickle files

Identifier
CVE-2026-54499
Published
Record updated
View JSON
Affected
  • stanza <= 1.12.1
Fixed in
1.12.2
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.5%

Summary

CVE-2026-54499 affects Stanza, the Stanford NLP Python library, before version 1.12.2. Model loaders such as stanza.models.common.pretrain.Pretrain.load() call torch.load(..., weights_only=True) but fall back to torch.load(..., weights_only=False) when a pickle.UnpicklingError is raised. An attacker-controlled malicious .pt pretrain or model file can therefore execute arbitrary pickle code when a Stanza NLP pipeline loads it.

Mitigation

Fixed in 1.12.2.