Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-54499: CWE-502: Deserialization of Untrusted Data in stanfordnlp stanza

0
High
VulnerabilityCVE-2026-54499cvecve-2026-54499cwe-502cwe-676
Published: 07/08/2026 (07/08/2026, 22:23:02 UTC)
Source: CVE Database V5
Vendor/Project: stanfordnlp
Product: stanza

Description

A deserialization vulnerability exists in the Stanford NLP Python library Stanza prior to version 1.12.2. The issue arises when model loaders fall back to untrusted pickle deserialization, allowing execution of arbitrary code via malicious .pt model files. This vulnerability is fixed in version 1.12.2.

CVSS v3.1

Score 7.5high

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected software

stanza
pkg:pypi/stanza
Affected versions
<1.12.2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/09/2026, 08:10:33 UTC

Technical Analysis

CVE-2026-54499 describes a deserialization of untrusted data vulnerability (CWE-502) in the Stanford NLP library Stanza. Specifically, before version 1.12.2, Stanza's model loaders such as stanza.models.common.pretrain.Pretrain.load() attempt to load model files using torch.load with weights_only=True, but if a pickle.UnpicklingError occurs, they fall back to torch.load with weights_only=False. This fallback allows an attacker to craft a malicious .pt pretrain or model file that executes arbitrary pickle code during loading, leading to remote code execution. The issue is resolved in Stanza version 1.12.2.

Potential Impact

Successful exploitation allows an attacker to execute arbitrary code on the system loading a malicious Stanza model file. This can lead to full compromise of confidentiality, integrity, and availability of the affected system. The CVSS score of 7.5 reflects high impact with network attack vector, high confidentiality, integrity, and availability impact, but requiring user interaction and high attack complexity.

Mitigation Recommendations

A fix is available in Stanza version 1.12.2. Users should upgrade to version 1.12.2 or later to remediate this vulnerability. No other official remediation or temporary fix is documented. Until upgraded, avoid loading untrusted or attacker-controlled .pt model files with Stanza.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-06-15T18:01:15.511Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a4f575268715ace43edbe14

Added to database: 07/09/2026, 08:09:54 UTC

Last enriched: 07/09/2026, 08:10:33 UTC

Last updated: 07/09/2026, 08:54:11 UTC

Views: 8

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses