cve.bz

CVE-2026-54499 stanford stanza: Deserialization of Untrusted Data

7.5 highExploit referenceEPSS 0.5%Fix available

High (7.5) in stanford stanza. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in stanza 1.12.2.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 45th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: total, assessed 2026-07-09. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-502 Deserialization of Untrusted Data
CWE-676 Use of Potentially Dangerous Function
OWASP Top 10
A06:2025 Insecure Design, A08:2025 Software or Data Integrity Failures
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-54499 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-54499?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-54499?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-54499 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
stanford:stanzabefore 1.12.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-v5jw-96jm-7h2cPyPIstanza<1.12.21.12.2
PYSEC-2026-3075PyPIstanza<1.12.21.12.2

Red Hat

Red Hat rates this Important.

Red Hat's statement

An unsafe deserialization vulnerability in the Stanza Python library can lead to remote code execution. A malicious model pretrain file from an untrusted or compromised source can trigger an insecure deserialization fallback during model loading, resulting in arbitrary code execution with the privileges of the affected process.

Red Hat's mitigation

To mitigate this vulnerability, ensure that Stanza model pretrain files are exclusively sourced from trusted repositories and locations. Avoid loading model files from untrusted or unverified sources, as this could lead to the execution of arbitrary code. Implement strict access controls on directories where Stanza models are stored to prevent the introduction of malicious files.

ProductPackageStateAdvisory
Red Hat Ceph Storage 9rhceph/alloy-rhel10Fix deferred
Red Hat Enterprise Linux 10opentelemetry-collectorNot affected
Red Hat Enterprise Linux 9opentelemetry-collectorNot affected
Red Hat Hardened Imagesopentelemetry-collector-contribNot affected
Red Hat OpenShift distributed tracing 3rhosdt/opentelemetry-collector-rhel9Will not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-54499.

Attack patterns (CAPEC)

  • CAPEC-586 Object Injection Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON