Skip to content
Fencer Vulns
high 7.5

CVE-2026-54499 json

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

published 2026-06-19 4 mo ago modified 2026-10-25 15 d ago also GHSA-v5jw-96jm-7h2c , PYSEC-2026-3075 , EUVD-2026-42474

cvss
7.5
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.5%
EPSS 0.5% chance of exploitation in 30 days, percentile 44%
public exploits
0
none known

Summary

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.

Patch / fix

  • pypi stanza 1.12.2
  • stanford stanza 1.12.2

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-54499 updated cvss 7.5

stanza: Stanza: Remote Code Execution via unsafe deserialization in model loaders

  • Red Hat Ceph Storage 9 rhceph/alloy-rhel10
    affected: workaround, no fix available “Fix deferred”
  • Red Hat OpenShift distributed tracing 3 rhosdt/opentelemetry-collector-rhel9
    affected: workaround, no fix planned “Will not fix”
  • Red Hat Enterprise Linux 9 opentelemetry-collector
    not affected: component not present
  • Red Hat Enterprise Linux 10 opentelemetry-collector
    not affected: vulnerable code not present
  • Red Hat Hardened Images opentelemetry-collector-contrib 0.155.0-0.1.hum1
    not affected: component not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
Proof of concept is public
Automatable
no
Technical impact
total
Assessed
4 mo ago

Exploit prediction

0.52% chance of exploitation in the next 30 days, higher than 44% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • github.com https://github.com/stanfordnlp/stanza/security/advisories/GHSA-v5jw-96jm-7h2c referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 3.1 7.5 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
GitHub 3.1 7.5 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
OSV 3.1 7.5 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
pypi stanza
<1.12.2
1.12.2

Affected products

  • stanfordnlp stanza

Classification

Weakness
  • CWE-502 Deserialization of Untrusted Data
  • CWE-676 Use of Potentially Dangerous Function

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.