CVE-2026-54499

Stanza: Remote Code Execution via Unsafe Pickle Deserialization in Model Loaders

HIGH
7.5
CVSS Score
Published: July 8, 2026 at 10:23 PM UTC
Updated: October 25, 2026 at 05:10 PM UTC
2 products affected across 2 vendorsStanzaStanza

Using stanza by stanfordnlp?

Get instant alerts when new vulnerabilities affect stanza - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.5
Exploit prediction
EPSS 0.5%
SSVC
PoC

Description

Stanza is a Stanford NLP Python library for tokenization, sentence segmentation, NER, and parsing of many human languages. Prior to 1.12.2, Stanza model loaders such as stanza.models.common.pretrain.Pretrain.load() attempt torch.load(..., weights_only=True) but fall back to torch.load(..., weights_only=False) on attacker-controllable pickle.UnpicklingError, allowing a malicious .pt pretrain or model file to execute arbitrary pickle code when a Stanza NLP pipeline loads it. This issue is fixed in version 1.12.2.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 1.12.2
Affected range stops below 1.12.2, so it looks safe — our inference, not a vendor statement
v < 1.12.2
Affected range stops below 1.12.2, so it looks safe — our inference, not a vendor statement

References (4)

x_refsource_CONFIRMExploitVendor Advisory
Source: cverecord
https://github.com/stanfordnlp/stanza/security/advisories/GHSA-v5jw-96jm-7h2c
x_refsource_MISCIssue TrackingPatch
Source: cverecord
https://github.com/stanfordnlp/stanza/pull/1587
x_refsource_MISCRelease Notes
Source: cverecord
https://github.com/stanfordnlp/stanza/releases/tag/v1.12.2

SSVC — Action Prioritization

SSVCPoCNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.5HIGHGitHub_M
Attack Vector
NETWORK
Complexity
HIGH
Privileges
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-502CWE-676

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card