CVE-2026-54499
Stanza: Remote Code Execution via Unsafe Pickle Deserialization in Model Loaders
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.
INFO
Published Date :
July 8, 2026, 11:16 p.m.
Last Modified :
July 13, 2026, 2:57 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | HIGH | [email protected] |
Solution
- Update Stanza to version 1.12.2 or later.
- Avoid loading untrusted model files.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-54499.
| URL | Resource |
|---|---|
| https://github.com/stanfordnlp/stanza/commit/b745008c68c9e50ccb5acd537cb6f2453f8b7ad4 | Patch |
| https://github.com/stanfordnlp/stanza/pull/1587 | Issue Tracking Patch |
| https://github.com/stanfordnlp/stanza/releases/tag/v1.12.2 | Release Notes |
| https://github.com/stanfordnlp/stanza/security/advisories/GHSA-v5jw-96jm-7h2c | Exploit Vendor Advisory |
| https://github.com/stanfordnlp/stanza/security/advisories/GHSA-v5jw-96jm-7h2c | Exploit Vendor Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-54499 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-54499
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-54499 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-54499 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Jul. 13, 2026
Action Type Old Value New Value Added CPE Configuration OR *cpe:2.3:a:stanford:stanza:*:*:*:*:*:python:*:* versions up to (excluding) 1.12.2 Added Reference Type GitHub, Inc.: https://github.com/stanfordnlp/stanza/commit/b745008c68c9e50ccb5acd537cb6f2453f8b7ad4 Types: Patch Added Reference Type GitHub, Inc.: https://github.com/stanfordnlp/stanza/pull/1587 Types: Issue Tracking, Patch Added Reference Type GitHub, Inc.: https://github.com/stanfordnlp/stanza/releases/tag/v1.12.2 Types: Release Notes Added Reference Type GitHub, Inc.: https://github.com/stanfordnlp/stanza/security/advisories/GHSA-v5jw-96jm-7h2c Types: Exploit, Vendor Advisory Added Reference Type CISA-ADP: https://github.com/stanfordnlp/stanza/security/advisories/GHSA-v5jw-96jm-7h2c Types: Exploit, Vendor Advisory -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jul. 09, 2026
Action Type Old Value New Value Added Reference https://github.com/stanfordnlp/stanza/security/advisories/GHSA-v5jw-96jm-7h2c Added SSVC {'id': 'CVE-2026-54499', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'poc'}, {'automatable': 'no'}, {'technicalImpact': 'total'}], 'version': '2.0.3', 'timestamp': '2026-07-09T13:13:21.918884Z'} -
New CVE Received by [email protected]
Jul. 08, 2026
Action Type Old Value New Value Added Affected [{'vendor': 'stanfordnlp', 'product': 'stanza', 'versions': [{'status': 'affected', 'version': '< 1.12.2'}]}] Added 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. Added CVSS V3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H Added CWE CWE-502 Added CWE CWE-676 Added Reference https://github.com/stanfordnlp/stanza/commit/b745008c68c9e50ccb5acd537cb6f2453f8b7ad4 Added Reference https://github.com/stanfordnlp/stanza/pull/1587 Added Reference https://github.com/stanfordnlp/stanza/releases/tag/v1.12.2 Added Reference https://github.com/stanfordnlp/stanza/security/advisories/GHSA-v5jw-96jm-7h2c