stanza
A Python NLP Library for Many Human Languages, by the Stanford NLP Group
Activity
- Latest release
- 2mo ago
- Total releases
- 33
- Cadence
- ~2 months
- Last 12 months
- 7
Reach
- Stars
- —
Details
- License
- Apache-2.0
- First release
- May 21, 2017
| Version | Released | |
|---|---|---|
1.14.0
minor
| ||
1.13.0
minor
| ||
1.12.2
patch
| ||
1.12.1
patch
1 CVE
CVE-2026-54499
PYSEC-2026-3075
GHSA-v5jw-96jm-7h2c
Jul 13, 2026
Stanza: Remote Code Execution via Unsafe Pickle Deserialization in Model Loaders
7.5
/ 10
High
Network
High
None
Required
Unchanged
High
High
High
SummaryStanza 1.12.0 attempts to safely load PyTorch checkpoint files using An attacker who can place a malicious pretrain or model file on disk (via supply-chain compromise, a poisoned model repository, or a shared model cache) can achieve arbitrary code execution on any machine that loads a Stanza NLP pipeline. Code execution occurs inside the Stanza pretrain-loading API, not merely by calling DetailsThe vulnerable code is in pretrain.py#L59-L67 (Stanza 1.12.0):
When The fallback is triggered reliably and intentionally: an attacker embeds one unsupported pickle global (e.g., The same try/except pattern exists in at least five additional loaders in Stanza 1.12.0: | File | Lines |
|------|-------|
| Additionally, The call chain from the public API to the vulnerable fallback is:
PoCEnvironment: Python 3.11, Step 1: Install dependencies:
Step 2: Save the following as
Step 3 : Run:
Expected output (confirmed):
The sentinel is created exclusively by the Stanza pretrain-loading API invoking the unsafe fallback : not by a direct ImpactVulnerability class: CWE-502 : Deserialization of Untrusted Data Who is impacted: Any user, researcher, CI/CD pipeline, or production NLP service that loads a Stanza model pretrain file from a source that is not under the victim's exclusive cryptographic control. Concretely:
Attack prerequisites: The attacker must be able to place a malicious
What an attacker achieves: Arbitrary code execution with the full privileges of the process running Recommended fix: Remove the unsafe fallback entirely. If
If legacy NumPy-containing pretrain files must be supported, use PyTorch's Affected versions
0.3
1.0.0
1.0.0rc0
1.0.1
1.1.1
1.10.0
1.10.1
1.11.0
1.11.1
1.12.0
1.12.1
1.2
+ 18 more Show less
1.2.1
1.2.2
1.2.3
1.3.0
1.4.0
1.4.1
1.4.2
1.5.0
1.5.1
1.6.0
1.6.1
1.7.0
1.8.0
1.8.1
1.8.2
1.9.0
1.9.1
1.9.2
Fixed in
1.12.2
References Updated Jul 13, 2026 · Source: OSV.dev | ||
1.12.0
minor
1 CVE
CVE-2026-54499
PYSEC-2026-3075
GHSA-v5jw-96jm-7h2c
Jul 13, 2026
Stanza: Remote Code Execution via Unsafe Pickle Deserialization in Model Loaders
7.5
/ 10
High
Network
High
None
Required
Unchanged
High
High
High
SummaryStanza 1.12.0 attempts to safely load PyTorch checkpoint files using An attacker who can place a malicious pretrain or model file on disk (via supply-chain compromise, a poisoned model repository, or a shared model cache) can achieve arbitrary code execution on any machine that loads a Stanza NLP pipeline. Code execution occurs inside the Stanza pretrain-loading API, not merely by calling DetailsThe vulnerable code is in pretrain.py#L59-L67 (Stanza 1.12.0):
When The fallback is triggered reliably and intentionally: an attacker embeds one unsupported pickle global (e.g., The same try/except pattern exists in at least five additional loaders in Stanza 1.12.0: | File | Lines |
|------|-------|
| Additionally, The call chain from the public API to the vulnerable fallback is:
PoCEnvironment: Python 3.11, Step 1: Install dependencies:
Step 2: Save the following as
Step 3 : Run:
Expected output (confirmed):
The sentinel is created exclusively by the Stanza pretrain-loading API invoking the unsafe fallback : not by a direct ImpactVulnerability class: CWE-502 : Deserialization of Untrusted Data Who is impacted: Any user, researcher, CI/CD pipeline, or production NLP service that loads a Stanza model pretrain file from a source that is not under the victim's exclusive cryptographic control. Concretely:
Attack prerequisites: The attacker must be able to place a malicious
What an attacker achieves: Arbitrary code execution with the full privileges of the process running Recommended fix: Remove the unsafe fallback entirely. If
If legacy NumPy-containing pretrain files must be supported, use PyTorch's Affected versions
0.3
1.0.0
1.0.0rc0
1.0.1
1.1.1
1.10.0
1.10.1
1.11.0
1.11.1
1.12.0
1.12.1
1.2
+ 18 more Show less
1.2.1
1.2.2
1.2.3
1.3.0
1.4.0
1.4.1
1.4.2
1.5.0
1.5.1
1.6.0
1.6.1
1.7.0
1.8.0
1.8.1
1.8.2
1.9.0
1.9.1
1.9.2
Fixed in
1.12.2
References Updated Jul 13, 2026 · Source: OSV.dev | ||
1.11.1
patch
1 CVE
CVE-2026-54499
PYSEC-2026-3075
GHSA-v5jw-96jm-7h2c
Jul 13, 2026
Stanza: Remote Code Execution via Unsafe Pickle Deserialization in Model Loaders
7.5
/ 10
High
Network
High
None
Required
Unchanged
High
High
High
SummaryStanza 1.12.0 attempts to safely load PyTorch checkpoint files using An attacker who can place a malicious pretrain or model file on disk (via supply-chain compromise, a poisoned model repository, or a shared model cache) can achieve arbitrary code execution on any machine that loads a Stanza NLP pipeline. Code execution occurs inside the Stanza pretrain-loading API, not merely by calling DetailsThe vulnerable code is in pretrain.py#L59-L67 (Stanza 1.12.0):
When The fallback is triggered reliably and intentionally: an attacker embeds one unsupported pickle global (e.g., The same try/except pattern exists in at least five additional loaders in Stanza 1.12.0: | File | Lines |
|------|-------|
| Additionally, The call chain from the public API to the vulnerable fallback is:
PoCEnvironment: Python 3.11, Step 1: Install dependencies:
Step 2: Save the following as
Step 3 : Run:
Expected output (confirmed):
The sentinel is created exclusively by the Stanza pretrain-loading API invoking the unsafe fallback : not by a direct ImpactVulnerability class: CWE-502 : Deserialization of Untrusted Data Who is impacted: Any user, researcher, CI/CD pipeline, or production NLP service that loads a Stanza model pretrain file from a source that is not under the victim's exclusive cryptographic control. Concretely:
Attack prerequisites: The attacker must be able to place a malicious
What an attacker achieves: Arbitrary code execution with the full privileges of the process running Recommended fix: Remove the unsafe fallback entirely. If
If legacy NumPy-containing pretrain files must be supported, use PyTorch's Affected versions
0.3
1.0.0
1.0.0rc0
1.0.1
1.1.1
1.10.0
1.10.1
1.11.0
1.11.1
1.12.0
1.12.1
1.2
+ 18 more Show less
1.2.1
1.2.2
1.2.3
1.3.0
1.4.0
1.4.1
1.4.2
1.5.0
1.5.1
1.6.0
1.6.1
1.7.0
1.8.0
1.8.1
1.8.2
1.9.0
1.9.1
1.9.2
Fixed in
1.12.2
References Updated Jul 13, 2026 · Source: OSV.dev | ||
1.11.0
minor
1 CVE
CVE-2026-54499
PYSEC-2026-3075
GHSA-v5jw-96jm-7h2c
Jul 13, 2026
Stanza: Remote Code Execution via Unsafe Pickle Deserialization in Model Loaders
7.5
/ 10
High
Network
High
None
Required
Unchanged
High
High
High
SummaryStanza 1.12.0 attempts to safely load PyTorch checkpoint files using An attacker who can place a malicious pretrain or model file on disk (via supply-chain compromise, a poisoned model repository, or a shared model cache) can achieve arbitrary code execution on any machine that loads a Stanza NLP pipeline. Code execution occurs inside the Stanza pretrain-loading API, not merely by calling DetailsThe vulnerable code is in pretrain.py#L59-L67 (Stanza 1.12.0):
When The fallback is triggered reliably and intentionally: an attacker embeds one unsupported pickle global (e.g., The same try/except pattern exists in at least five additional loaders in Stanza 1.12.0: | File | Lines |
|------|-------|
| Additionally, The call chain from the public API to the vulnerable fallback is:
PoCEnvironment: Python 3.11, Step 1: Install dependencies:
Step 2: Save the following as
Step 3 : Run:
Expected output (confirmed):
The sentinel is created exclusively by the Stanza pretrain-loading API invoking the unsafe fallback : not by a direct ImpactVulnerability class: CWE-502 : Deserialization of Untrusted Data Who is impacted: Any user, researcher, CI/CD pipeline, or production NLP service that loads a Stanza model pretrain file from a source that is not under the victim's exclusive cryptographic control. Concretely:
Attack prerequisites: The attacker must be able to place a malicious
What an attacker achieves: Arbitrary code execution with the full privileges of the process running Recommended fix: Remove the unsafe fallback entirely. If
If legacy NumPy-containing pretrain files must be supported, use PyTorch's Affected versions
0.3
1.0.0
1.0.0rc0
1.0.1
1.1.1
1.10.0
1.10.1
1.11.0
1.11.1
1.12.0
1.12.1
1.2
+ 18 more Show less
1.2.1
1.2.2
1.2.3
1.3.0
1.4.0
1.4.1
1.4.2
1.5.0
1.5.1
1.6.0
1.6.1
1.7.0
1.8.0
1.8.1
1.8.2
1.9.0
1.9.1
1.9.2
Fixed in
1.12.2
References Updated Jul 13, 2026 · Source: OSV.dev | ||
1.10.1
patch
1 CVE
CVE-2026-54499
PYSEC-2026-3075
GHSA-v5jw-96jm-7h2c
Jul 13, 2026
Stanza: Remote Code Execution via Unsafe Pickle Deserialization in Model Loaders
7.5
/ 10
High
Network
High
None
Required
Unchanged
High
High
High
SummaryStanza 1.12.0 attempts to safely load PyTorch checkpoint files using An attacker who can place a malicious pretrain or model file on disk (via supply-chain compromise, a poisoned model repository, or a shared model cache) can achieve arbitrary code execution on any machine that loads a Stanza NLP pipeline. Code execution occurs inside the Stanza pretrain-loading API, not merely by calling DetailsThe vulnerable code is in pretrain.py#L59-L67 (Stanza 1.12.0):
When The fallback is triggered reliably and intentionally: an attacker embeds one unsupported pickle global (e.g., The same try/except pattern exists in at least five additional loaders in Stanza 1.12.0: | File | Lines |
|------|-------|
| Additionally, The call chain from the public API to the vulnerable fallback is:
PoCEnvironment: Python 3.11, Step 1: Install dependencies:
Step 2: Save the following as
Step 3 : Run:
Expected output (confirmed):
The sentinel is created exclusively by the Stanza pretrain-loading API invoking the unsafe fallback : not by a direct ImpactVulnerability class: CWE-502 : Deserialization of Untrusted Data Who is impacted: Any user, researcher, CI/CD pipeline, or production NLP service that loads a Stanza model pretrain file from a source that is not under the victim's exclusive cryptographic control. Concretely:
Attack prerequisites: The attacker must be able to place a malicious
What an attacker achieves: Arbitrary code execution with the full privileges of the process running Recommended fix: Remove the unsafe fallback entirely. If
If legacy NumPy-containing pretrain files must be supported, use PyTorch's Affected versions
0.3
1.0.0
1.0.0rc0
1.0.1
1.1.1
1.10.0
1.10.1
1.11.0
1.11.1
1.12.0
1.12.1
1.2
+ 18 more Show less
1.2.1
1.2.2
1.2.3
1.3.0
1.4.0
1.4.1
1.4.2
1.5.0
1.5.1
1.6.0
1.6.1
1.7.0
1.8.0
1.8.1
1.8.2
1.9.0
1.9.1
1.9.2
Fixed in
1.12.2
References Updated Jul 13, 2026 · Source: OSV.dev | ||
1.10.0
minor
1 CVE
CVE-2026-54499
PYSEC-2026-3075
GHSA-v5jw-96jm-7h2c
Jul 13, 2026
Stanza: Remote Code Execution via Unsafe Pickle Deserialization in Model Loaders
7.5
/ 10
High
Network
High
None
Required
Unchanged
High
High
High
SummaryStanza 1.12.0 attempts to safely load PyTorch checkpoint files using An attacker who can place a malicious pretrain or model file on disk (via supply-chain compromise, a poisoned model repository, or a shared model cache) can achieve arbitrary code execution on any machine that loads a Stanza NLP pipeline. Code execution occurs inside the Stanza pretrain-loading API, not merely by calling DetailsThe vulnerable code is in pretrain.py#L59-L67 (Stanza 1.12.0):
When The fallback is triggered reliably and intentionally: an attacker embeds one unsupported pickle global (e.g., The same try/except pattern exists in at least five additional loaders in Stanza 1.12.0: | File | Lines |
|------|-------|
| Additionally, The call chain from the public API to the vulnerable fallback is:
PoCEnvironment: Python 3.11, Step 1: Install dependencies:
Step 2: Save the following as
Step 3 : Run:
Expected output (confirmed):
The sentinel is created exclusively by the Stanza pretrain-loading API invoking the unsafe fallback : not by a direct ImpactVulnerability class: CWE-502 : Deserialization of Untrusted Data Who is impacted: Any user, researcher, CI/CD pipeline, or production NLP service that loads a Stanza model pretrain file from a source that is not under the victim's exclusive cryptographic control. Concretely:
Attack prerequisites: The attacker must be able to place a malicious
What an attacker achieves: Arbitrary code execution with the full privileges of the process running Recommended fix: Remove the unsafe fallback entirely. If
If legacy NumPy-containing pretrain files must be supported, use PyTorch's Affected versions
0.3
1.0.0
1.0.0rc0
1.0.1
1.1.1
1.10.0
1.10.1
1.11.0
1.11.1
1.12.0
1.12.1
1.2
+ 18 more Show less
1.2.1
1.2.2
1.2.3
1.3.0
1.4.0
1.4.1
1.4.2
1.5.0
1.5.1
1.6.0
1.6.1
1.7.0
1.8.0
1.8.1
1.8.2
1.9.0
1.9.1
1.9.2
Fixed in
1.12.2
References Updated Jul 13, 2026 · Source: OSV.dev | ||
1.9.2
patch
1 CVE
CVE-2026-54499
PYSEC-2026-3075
GHSA-v5jw-96jm-7h2c
Jul 13, 2026
Stanza: Remote Code Execution via Unsafe Pickle Deserialization in Model Loaders
7.5
/ 10
High
Network
High
None
Required
Unchanged
High
High
High
SummaryStanza 1.12.0 attempts to safely load PyTorch checkpoint files using An attacker who can place a malicious pretrain or model file on disk (via supply-chain compromise, a poisoned model repository, or a shared model cache) can achieve arbitrary code execution on any machine that loads a Stanza NLP pipeline. Code execution occurs inside the Stanza pretrain-loading API, not merely by calling DetailsThe vulnerable code is in pretrain.py#L59-L67 (Stanza 1.12.0):
When The fallback is triggered reliably and intentionally: an attacker embeds one unsupported pickle global (e.g., The same try/except pattern exists in at least five additional loaders in Stanza 1.12.0: | File | Lines |
|------|-------|
| Additionally, The call chain from the public API to the vulnerable fallback is:
PoCEnvironment: Python 3.11, Step 1: Install dependencies:
Step 2: Save the following as
Step 3 : Run:
Expected output (confirmed):
The sentinel is created exclusively by the Stanza pretrain-loading API invoking the unsafe fallback : not by a direct ImpactVulnerability class: CWE-502 : Deserialization of Untrusted Data Who is impacted: Any user, researcher, CI/CD pipeline, or production NLP service that loads a Stanza model pretrain file from a source that is not under the victim's exclusive cryptographic control. Concretely:
Attack prerequisites: The attacker must be able to place a malicious
What an attacker achieves: Arbitrary code execution with the full privileges of the process running Recommended fix: Remove the unsafe fallback entirely. If
If legacy NumPy-containing pretrain files must be supported, use PyTorch's Affected versions
0.3
1.0.0
1.0.0rc0
1.0.1
1.1.1
1.10.0
1.10.1
1.11.0
1.11.1
1.12.0
1.12.1
1.2
+ 18 more Show less
1.2.1
1.2.2
1.2.3
1.3.0
1.4.0
1.4.1
1.4.2
1.5.0
1.5.1
1.6.0
1.6.1
1.7.0
1.8.0
1.8.1
1.8.2
1.9.0
1.9.1
1.9.2
Fixed in
1.12.2
References Updated Jul 13, 2026 · Source: OSV.dev | ||
1.9.1
patch
1 CVE
CVE-2026-54499
PYSEC-2026-3075
GHSA-v5jw-96jm-7h2c
Jul 13, 2026
Stanza: Remote Code Execution via Unsafe Pickle Deserialization in Model Loaders
7.5
/ 10
High
Network
High
None
Required
Unchanged
High
High
High
SummaryStanza 1.12.0 attempts to safely load PyTorch checkpoint files using An attacker who can place a malicious pretrain or model file on disk (via supply-chain compromise, a poisoned model repository, or a shared model cache) can achieve arbitrary code execution on any machine that loads a Stanza NLP pipeline. Code execution occurs inside the Stanza pretrain-loading API, not merely by calling DetailsThe vulnerable code is in pretrain.py#L59-L67 (Stanza 1.12.0):
When The fallback is triggered reliably and intentionally: an attacker embeds one unsupported pickle global (e.g., The same try/except pattern exists in at least five additional loaders in Stanza 1.12.0: | File | Lines |
|------|-------|
| Additionally, The call chain from the public API to the vulnerable fallback is:
PoCEnvironment: Python 3.11, Step 1: Install dependencies:
Step 2: Save the following as
Step 3 : Run:
Expected output (confirmed):
The sentinel is created exclusively by the Stanza pretrain-loading API invoking the unsafe fallback : not by a direct ImpactVulnerability class: CWE-502 : Deserialization of Untrusted Data Who is impacted: Any user, researcher, CI/CD pipeline, or production NLP service that loads a Stanza model pretrain file from a source that is not under the victim's exclusive cryptographic control. Concretely:
Attack prerequisites: The attacker must be able to place a malicious
What an attacker achieves: Arbitrary code execution with the full privileges of the process running Recommended fix: Remove the unsafe fallback entirely. If
If legacy NumPy-containing pretrain files must be supported, use PyTorch's Affected versions
0.3
1.0.0
1.0.0rc0
1.0.1
1.1.1
1.10.0
1.10.1
1.11.0
1.11.1
1.12.0
1.12.1
1.2
+ 18 more Show less
1.2.1
1.2.2
1.2.3
1.3.0
1.4.0
1.4.1
1.4.2
1.5.0
1.5.1
1.6.0
1.6.1
1.7.0
1.8.0
1.8.1
1.8.2
1.9.0
1.9.1
1.9.2
Fixed in
1.12.2
References Updated Jul 13, 2026 · Source: OSV.dev | ||
1.9.0
minor
1 CVE
CVE-2026-54499
PYSEC-2026-3075
GHSA-v5jw-96jm-7h2c
Jul 13, 2026
Stanza: Remote Code Execution via Unsafe Pickle Deserialization in Model Loaders
7.5
/ 10
High
Network
High
None
Required
Unchanged
High
High
High
SummaryStanza 1.12.0 attempts to safely load PyTorch checkpoint files using An attacker who can place a malicious pretrain or model file on disk (via supply-chain compromise, a poisoned model repository, or a shared model cache) can achieve arbitrary code execution on any machine that loads a Stanza NLP pipeline. Code execution occurs inside the Stanza pretrain-loading API, not merely by calling DetailsThe vulnerable code is in pretrain.py#L59-L67 (Stanza 1.12.0):
When The fallback is triggered reliably and intentionally: an attacker embeds one unsupported pickle global (e.g., The same try/except pattern exists in at least five additional loaders in Stanza 1.12.0: | File | Lines |
|------|-------|
| Additionally, The call chain from the public API to the vulnerable fallback is:
PoCEnvironment: Python 3.11, Step 1: Install dependencies:
Step 2: Save the following as
Step 3 : Run:
Expected output (confirmed):
The sentinel is created exclusively by the Stanza pretrain-loading API invoking the unsafe fallback : not by a direct ImpactVulnerability class: CWE-502 : Deserialization of Untrusted Data Who is impacted: Any user, researcher, CI/CD pipeline, or production NLP service that loads a Stanza model pretrain file from a source that is not under the victim's exclusive cryptographic control. Concretely:
Attack prerequisites: The attacker must be able to place a malicious
What an attacker achieves: Arbitrary code execution with the full privileges of the process running Recommended fix: Remove the unsafe fallback entirely. If
If legacy NumPy-containing pretrain files must be supported, use PyTorch's Affected versions
0.3
1.0.0
1.0.0rc0
1.0.1
1.1.1
1.10.0
1.10.1
1.11.0
1.11.1
1.12.0
1.12.1
1.2
+ 18 more Show less
1.2.1
1.2.2
1.2.3
1.3.0
1.4.0
1.4.1
1.4.2
1.5.0
1.5.1
1.6.0
1.6.1
1.7.0
1.8.0
1.8.1
1.8.2
1.9.0
1.9.1
1.9.2
Fixed in
1.12.2
References Updated Jul 13, 2026 · Source: OSV.dev | ||
1.8.2
patch
1 CVE
CVE-2026-54499
PYSEC-2026-3075
GHSA-v5jw-96jm-7h2c
Jul 13, 2026
Stanza: Remote Code Execution via Unsafe Pickle Deserialization in Model Loaders
7.5
/ 10
High
Network
High
None
Required
Unchanged
High
High
High
SummaryStanza 1.12.0 attempts to safely load PyTorch checkpoint files using An attacker who can place a malicious pretrain or model file on disk (via supply-chain compromise, a poisoned model repository, or a shared model cache) can achieve arbitrary code execution on any machine that loads a Stanza NLP pipeline. Code execution occurs inside the Stanza pretrain-loading API, not merely by calling DetailsThe vulnerable code is in pretrain.py#L59-L67 (Stanza 1.12.0):
When The fallback is triggered reliably and intentionally: an attacker embeds one unsupported pickle global (e.g., The same try/except pattern exists in at least five additional loaders in Stanza 1.12.0: | File | Lines |
|------|-------|
| Additionally, The call chain from the public API to the vulnerable fallback is:
PoCEnvironment: Python 3.11, Step 1: Install dependencies:
Step 2: Save the following as
Step 3 : Run:
Expected output (confirmed):
The sentinel is created exclusively by the Stanza pretrain-loading API invoking the unsafe fallback : not by a direct ImpactVulnerability class: CWE-502 : Deserialization of Untrusted Data Who is impacted: Any user, researcher, CI/CD pipeline, or production NLP service that loads a Stanza model pretrain file from a source that is not under the victim's exclusive cryptographic control. Concretely:
Attack prerequisites: The attacker must be able to place a malicious
What an attacker achieves: Arbitrary code execution with the full privileges of the process running Recommended fix: Remove the unsafe fallback entirely. If
If legacy NumPy-containing pretrain files must be supported, use PyTorch's Affected versions
0.3
1.0.0
1.0.0rc0
1.0.1
1.1.1
1.10.0
1.10.1
1.11.0
1.11.1
1.12.0
1.12.1
1.2
+ 18 more Show less
1.2.1
1.2.2
1.2.3
1.3.0
1.4.0
1.4.1
1.4.2
1.5.0
1.5.1
1.6.0
1.6.1
1.7.0
1.8.0
1.8.1
1.8.2
1.9.0
1.9.1
1.9.2
Fixed in
1.12.2
References Updated Jul 13, 2026 · Source: OSV.dev | ||
1.8.1
patch
1 CVE
CVE-2026-54499
PYSEC-2026-3075
GHSA-v5jw-96jm-7h2c
Jul 13, 2026
Stanza: Remote Code Execution via Unsafe Pickle Deserialization in Model Loaders
7.5
/ 10
High
Network
High
None
Required
Unchanged
High
High
High
SummaryStanza 1.12.0 attempts to safely load PyTorch checkpoint files using An attacker who can place a malicious pretrain or model file on disk (via supply-chain compromise, a poisoned model repository, or a shared model cache) can achieve arbitrary code execution on any machine that loads a Stanza NLP pipeline. Code execution occurs inside the Stanza pretrain-loading API, not merely by calling DetailsThe vulnerable code is in pretrain.py#L59-L67 (Stanza 1.12.0):
When The fallback is triggered reliably and intentionally: an attacker embeds one unsupported pickle global (e.g., The same try/except pattern exists in at least five additional loaders in Stanza 1.12.0: | File | Lines |
|------|-------|
| Additionally, The call chain from the public API to the vulnerable fallback is:
PoCEnvironment: Python 3.11, Step 1: Install dependencies:
Step 2: Save the following as
Step 3 : Run:
Expected output (confirmed):
The sentinel is created exclusively by the Stanza pretrain-loading API invoking the unsafe fallback : not by a direct ImpactVulnerability class: CWE-502 : Deserialization of Untrusted Data Who is impacted: Any user, researcher, CI/CD pipeline, or production NLP service that loads a Stanza model pretrain file from a source that is not under the victim's exclusive cryptographic control. Concretely:
Attack prerequisites: The attacker must be able to place a malicious
What an attacker achieves: Arbitrary code execution with the full privileges of the process running Recommended fix: Remove the unsafe fallback entirely. If
If legacy NumPy-containing pretrain files must be supported, use PyTorch's Affected versions
0.3
1.0.0
1.0.0rc0
1.0.1
1.1.1
1.10.0
1.10.1
1.11.0
1.11.1
1.12.0
1.12.1
1.2
+ 18 more Show less
1.2.1
1.2.2
1.2.3
1.3.0
1.4.0
1.4.1
1.4.2
1.5.0
1.5.1
1.6.0
1.6.1
1.7.0
1.8.0
1.8.1
1.8.2
1.9.0
1.9.1
1.9.2
Fixed in
1.12.2
References Updated Jul 13, 2026 · Source: OSV.dev | ||
1.8.0
minor
1 CVE
CVE-2026-54499
PYSEC-2026-3075
GHSA-v5jw-96jm-7h2c
Jul 13, 2026
Stanza: Remote Code Execution via Unsafe Pickle Deserialization in Model Loaders
7.5
/ 10
High
Network
High
None
Required
Unchanged
High
High
High
SummaryStanza 1.12.0 attempts to safely load PyTorch checkpoint files using An attacker who can place a malicious pretrain or model file on disk (via supply-chain compromise, a poisoned model repository, or a shared model cache) can achieve arbitrary code execution on any machine that loads a Stanza NLP pipeline. Code execution occurs inside the Stanza pretrain-loading API, not merely by calling DetailsThe vulnerable code is in pretrain.py#L59-L67 (Stanza 1.12.0):
When The fallback is triggered reliably and intentionally: an attacker embeds one unsupported pickle global (e.g., The same try/except pattern exists in at least five additional loaders in Stanza 1.12.0: | File | Lines |
|------|-------|
| Additionally, The call chain from the public API to the vulnerable fallback is:
PoCEnvironment: Python 3.11, Step 1: Install dependencies:
Step 2: Save the following as
Step 3 : Run:
Expected output (confirmed):
The sentinel is created exclusively by the Stanza pretrain-loading API invoking the unsafe fallback : not by a direct ImpactVulnerability class: CWE-502 : Deserialization of Untrusted Data Who is impacted: Any user, researcher, CI/CD pipeline, or production NLP service that loads a Stanza model pretrain file from a source that is not under the victim's exclusive cryptographic control. Concretely:
Attack prerequisites: The attacker must be able to place a malicious
What an attacker achieves: Arbitrary code execution with the full privileges of the process running Recommended fix: Remove the unsafe fallback entirely. If
If legacy NumPy-containing pretrain files must be supported, use PyTorch's Affected versions
0.3
1.0.0
1.0.0rc0
1.0.1
1.1.1
1.10.0
1.10.1
1.11.0
1.11.1
1.12.0
1.12.1
1.2
+ 18 more Show less
1.2.1
1.2.2
1.2.3
1.3.0
1.4.0
1.4.1
1.4.2
1.5.0
1.5.1
1.6.0
1.6.1
1.7.0
1.8.0
1.8.1
1.8.2
1.9.0
1.9.1
1.9.2
Fixed in
1.12.2
References Updated Jul 13, 2026 · Source: OSV.dev | ||
1.7.0
minor
1 CVE
CVE-2026-54499
PYSEC-2026-3075
GHSA-v5jw-96jm-7h2c
Jul 13, 2026
Stanza: Remote Code Execution via Unsafe Pickle Deserialization in Model Loaders
7.5
/ 10
High
Network
High
None
Required
Unchanged
High
High
High
SummaryStanza 1.12.0 attempts to safely load PyTorch checkpoint files using An attacker who can place a malicious pretrain or model file on disk (via supply-chain compromise, a poisoned model repository, or a shared model cache) can achieve arbitrary code execution on any machine that loads a Stanza NLP pipeline. Code execution occurs inside the Stanza pretrain-loading API, not merely by calling DetailsThe vulnerable code is in pretrain.py#L59-L67 (Stanza 1.12.0):
When The fallback is triggered reliably and intentionally: an attacker embeds one unsupported pickle global (e.g., The same try/except pattern exists in at least five additional loaders in Stanza 1.12.0: | File | Lines |
|------|-------|
| Additionally, The call chain from the public API to the vulnerable fallback is:
PoCEnvironment: Python 3.11, Step 1: Install dependencies:
Step 2: Save the following as
Step 3 : Run:
Expected output (confirmed):
The sentinel is created exclusively by the Stanza pretrain-loading API invoking the unsafe fallback : not by a direct ImpactVulnerability class: CWE-502 : Deserialization of Untrusted Data Who is impacted: Any user, researcher, CI/CD pipeline, or production NLP service that loads a Stanza model pretrain file from a source that is not under the victim's exclusive cryptographic control. Concretely:
Attack prerequisites: The attacker must be able to place a malicious
What an attacker achieves: Arbitrary code execution with the full privileges of the process running Recommended fix: Remove the unsafe fallback entirely. If
If legacy NumPy-containing pretrain files must be supported, use PyTorch's Affected versions
0.3
1.0.0
1.0.0rc0
1.0.1
1.1.1
1.10.0
1.10.1
1.11.0
1.11.1
1.12.0
1.12.1
1.2
+ 18 more Show less
1.2.1
1.2.2
1.2.3
1.3.0
1.4.0
1.4.1
1.4.2
1.5.0
1.5.1
1.6.0
1.6.1
1.7.0
1.8.0
1.8.1
1.8.2
1.9.0
1.9.1
1.9.2
Fixed in
1.12.2
References Updated Jul 13, 2026 · Source: OSV.dev | ||
1.6.1
patch
1 CVE
CVE-2026-54499
PYSEC-2026-3075
GHSA-v5jw-96jm-7h2c
Jul 13, 2026
Stanza: Remote Code Execution via Unsafe Pickle Deserialization in Model Loaders
7.5
/ 10
High
Network
High
None
Required
Unchanged
High
High
High
SummaryStanza 1.12.0 attempts to safely load PyTorch checkpoint files using An attacker who can place a malicious pretrain or model file on disk (via supply-chain compromise, a poisoned model repository, or a shared model cache) can achieve arbitrary code execution on any machine that loads a Stanza NLP pipeline. Code execution occurs inside the Stanza pretrain-loading API, not merely by calling DetailsThe vulnerable code is in pretrain.py#L59-L67 (Stanza 1.12.0):
When The fallback is triggered reliably and intentionally: an attacker embeds one unsupported pickle global (e.g., The same try/except pattern exists in at least five additional loaders in Stanza 1.12.0: | File | Lines |
|------|-------|
| Additionally, The call chain from the public API to the vulnerable fallback is:
PoCEnvironment: Python 3.11, Step 1: Install dependencies:
Step 2: Save the following as
Step 3 : Run:
Expected output (confirmed):
The sentinel is created exclusively by the Stanza pretrain-loading API invoking the unsafe fallback : not by a direct ImpactVulnerability class: CWE-502 : Deserialization of Untrusted Data Who is impacted: Any user, researcher, CI/CD pipeline, or production NLP service that loads a Stanza model pretrain file from a source that is not under the victim's exclusive cryptographic control. Concretely:
Attack prerequisites: The attacker must be able to place a malicious
What an attacker achieves: Arbitrary code execution with the full privileges of the process running Recommended fix: Remove the unsafe fallback entirely. If
If legacy NumPy-containing pretrain files must be supported, use PyTorch's Affected versions
0.3
1.0.0
1.0.0rc0
1.0.1
1.1.1
1.10.0
1.10.1
1.11.0
1.11.1
1.12.0
1.12.1
1.2
+ 18 more Show less
1.2.1
1.2.2
1.2.3
1.3.0
1.4.0
1.4.1
1.4.2
1.5.0
1.5.1
1.6.0
1.6.1
1.7.0
1.8.0
1.8.1
1.8.2
1.9.0
1.9.1
1.9.2
Fixed in
1.12.2
References Updated Jul 13, 2026 · Source: OSV.dev | ||
1.6.0
minor
1 CVE
CVE-2026-54499
PYSEC-2026-3075
GHSA-v5jw-96jm-7h2c
Jul 13, 2026
Stanza: Remote Code Execution via Unsafe Pickle Deserialization in Model Loaders
7.5
/ 10
High
Network
High
None
Required
Unchanged
High
High
High
SummaryStanza 1.12.0 attempts to safely load PyTorch checkpoint files using An attacker who can place a malicious pretrain or model file on disk (via supply-chain compromise, a poisoned model repository, or a shared model cache) can achieve arbitrary code execution on any machine that loads a Stanza NLP pipeline. Code execution occurs inside the Stanza pretrain-loading API, not merely by calling DetailsThe vulnerable code is in pretrain.py#L59-L67 (Stanza 1.12.0):
When The fallback is triggered reliably and intentionally: an attacker embeds one unsupported pickle global (e.g., The same try/except pattern exists in at least five additional loaders in Stanza 1.12.0: | File | Lines |
|------|-------|
| Additionally, The call chain from the public API to the vulnerable fallback is:
PoCEnvironment: Python 3.11, Step 1: Install dependencies:
Step 2: Save the following as
Step 3 : Run:
Expected output (confirmed):
The sentinel is created exclusively by the Stanza pretrain-loading API invoking the unsafe fallback : not by a direct ImpactVulnerability class: CWE-502 : Deserialization of Untrusted Data Who is impacted: Any user, researcher, CI/CD pipeline, or production NLP service that loads a Stanza model pretrain file from a source that is not under the victim's exclusive cryptographic control. Concretely:
Attack prerequisites: The attacker must be able to place a malicious
What an attacker achieves: Arbitrary code execution with the full privileges of the process running Recommended fix: Remove the unsafe fallback entirely. If
If legacy NumPy-containing pretrain files must be supported, use PyTorch's Affected versions
0.3
1.0.0
1.0.0rc0
1.0.1
1.1.1
1.10.0
1.10.1
1.11.0
1.11.1
1.12.0
1.12.1
1.2
+ 18 more Show less
1.2.1
1.2.2
1.2.3
1.3.0
1.4.0
1.4.1
1.4.2
1.5.0
1.5.1
1.6.0
1.6.1
1.7.0
1.8.0
1.8.1
1.8.2
1.9.0
1.9.1
1.9.2
Fixed in
1.12.2
References Updated Jul 13, 2026 · Source: OSV.dev | ||
1.5.1
patch
1 CVE
CVE-2026-54499
PYSEC-2026-3075
GHSA-v5jw-96jm-7h2c
Jul 13, 2026
Stanza: Remote Code Execution via Unsafe Pickle Deserialization in Model Loaders
7.5
/ 10
High
Network
High
None
Required
Unchanged
High
High
High
SummaryStanza 1.12.0 attempts to safely load PyTorch checkpoint files using An attacker who can place a malicious pretrain or model file on disk (via supply-chain compromise, a poisoned model repository, or a shared model cache) can achieve arbitrary code execution on any machine that loads a Stanza NLP pipeline. Code execution occurs inside the Stanza pretrain-loading API, not merely by calling DetailsThe vulnerable code is in pretrain.py#L59-L67 (Stanza 1.12.0):
When The fallback is triggered reliably and intentionally: an attacker embeds one unsupported pickle global (e.g., The same try/except pattern exists in at least five additional loaders in Stanza 1.12.0: | File | Lines |
|------|-------|
| Additionally, The call chain from the public API to the vulnerable fallback is:
PoCEnvironment: Python 3.11, Step 1: Install dependencies:
Step 2: Save the following as
Step 3 : Run:
Expected output (confirmed):
The sentinel is created exclusively by the Stanza pretrain-loading API invoking the unsafe fallback : not by a direct ImpactVulnerability class: CWE-502 : Deserialization of Untrusted Data Who is impacted: Any user, researcher, CI/CD pipeline, or production NLP service that loads a Stanza model pretrain file from a source that is not under the victim's exclusive cryptographic control. Concretely:
Attack prerequisites: The attacker must be able to place a malicious
What an attacker achieves: Arbitrary code execution with the full privileges of the process running Recommended fix: Remove the unsafe fallback entirely. If
If legacy NumPy-containing pretrain files must be supported, use PyTorch's Affected versions
0.3
1.0.0
1.0.0rc0
1.0.1
1.1.1
1.10.0
1.10.1
1.11.0
1.11.1
1.12.0
1.12.1
1.2
+ 18 more Show less
1.2.1
1.2.2
1.2.3
1.3.0
1.4.0
1.4.1
1.4.2
1.5.0
1.5.1
1.6.0
1.6.1
1.7.0
1.8.0
1.8.1
1.8.2
1.9.0
1.9.1
1.9.2
Fixed in
1.12.2
References Updated Jul 13, 2026 · Source: OSV.dev | ||
1.5.0
minor
1 CVE
CVE-2026-54499
PYSEC-2026-3075
GHSA-v5jw-96jm-7h2c
Jul 13, 2026
Stanza: Remote Code Execution via Unsafe Pickle Deserialization in Model Loaders
7.5
/ 10
High
Network
High
None
Required
Unchanged
High
High
High
SummaryStanza 1.12.0 attempts to safely load PyTorch checkpoint files using An attacker who can place a malicious pretrain or model file on disk (via supply-chain compromise, a poisoned model repository, or a shared model cache) can achieve arbitrary code execution on any machine that loads a Stanza NLP pipeline. Code execution occurs inside the Stanza pretrain-loading API, not merely by calling DetailsThe vulnerable code is in pretrain.py#L59-L67 (Stanza 1.12.0):
When The fallback is triggered reliably and intentionally: an attacker embeds one unsupported pickle global (e.g., The same try/except pattern exists in at least five additional loaders in Stanza 1.12.0: | File | Lines |
|------|-------|
| Additionally, The call chain from the public API to the vulnerable fallback is:
PoCEnvironment: Python 3.11, Step 1: Install dependencies:
Step 2: Save the following as
Step 3 : Run:
Expected output (confirmed):
The sentinel is created exclusively by the Stanza pretrain-loading API invoking the unsafe fallback : not by a direct ImpactVulnerability class: CWE-502 : Deserialization of Untrusted Data Who is impacted: Any user, researcher, CI/CD pipeline, or production NLP service that loads a Stanza model pretrain file from a source that is not under the victim's exclusive cryptographic control. Concretely:
Attack prerequisites: The attacker must be able to place a malicious
What an attacker achieves: Arbitrary code execution with the full privileges of the process running Recommended fix: Remove the unsafe fallback entirely. If
If legacy NumPy-containing pretrain files must be supported, use PyTorch's Affected versions
0.3
1.0.0
1.0.0rc0
1.0.1
1.1.1
1.10.0
1.10.1
1.11.0
1.11.1
1.12.0
1.12.1
1.2
+ 18 more Show less
1.2.1
1.2.2
1.2.3
1.3.0
1.4.0
1.4.1
1.4.2
1.5.0
1.5.1
1.6.0
1.6.1
1.7.0
1.8.0
1.8.1
1.8.2
1.9.0
1.9.1
1.9.2
Fixed in
1.12.2
References Updated Jul 13, 2026 · Source: OSV.dev | ||
1.4.2
patch
1 CVE
CVE-2026-54499
PYSEC-2026-3075
GHSA-v5jw-96jm-7h2c
Jul 13, 2026
Stanza: Remote Code Execution via Unsafe Pickle Deserialization in Model Loaders
7.5
/ 10
High
Network
High
None
Required
Unchanged
High
High
High
SummaryStanza 1.12.0 attempts to safely load PyTorch checkpoint files using An attacker who can place a malicious pretrain or model file on disk (via supply-chain compromise, a poisoned model repository, or a shared model cache) can achieve arbitrary code execution on any machine that loads a Stanza NLP pipeline. Code execution occurs inside the Stanza pretrain-loading API, not merely by calling DetailsThe vulnerable code is in pretrain.py#L59-L67 (Stanza 1.12.0):
When The fallback is triggered reliably and intentionally: an attacker embeds one unsupported pickle global (e.g., The same try/except pattern exists in at least five additional loaders in Stanza 1.12.0: | File | Lines |
|------|-------|
| Additionally, The call chain from the public API to the vulnerable fallback is:
PoCEnvironment: Python 3.11, Step 1: Install dependencies:
Step 2: Save the following as
Step 3 : Run:
Expected output (confirmed):
The sentinel is created exclusively by the Stanza pretrain-loading API invoking the unsafe fallback : not by a direct ImpactVulnerability class: CWE-502 : Deserialization of Untrusted Data Who is impacted: Any user, researcher, CI/CD pipeline, or production NLP service that loads a Stanza model pretrain file from a source that is not under the victim's exclusive cryptographic control. Concretely:
Attack prerequisites: The attacker must be able to place a malicious
What an attacker achieves: Arbitrary code execution with the full privileges of the process running Recommended fix: Remove the unsafe fallback entirely. If
If legacy NumPy-containing pretrain files must be supported, use PyTorch's Affected versions
0.3
1.0.0
1.0.0rc0
1.0.1
1.1.1
1.10.0
1.10.1
1.11.0
1.11.1
1.12.0
1.12.1
1.2
+ 18 more Show less
1.2.1
1.2.2
1.2.3
1.3.0
1.4.0
1.4.1
1.4.2
1.5.0
1.5.1
1.6.0
1.6.1
1.7.0
1.8.0
1.8.1
1.8.2
1.9.0
1.9.1
1.9.2
Fixed in
1.12.2
References Updated Jul 13, 2026 · Source: OSV.dev | ||
1.4.1
patch
1 CVE
CVE-2026-54499
PYSEC-2026-3075
GHSA-v5jw-96jm-7h2c
Jul 13, 2026
Stanza: Remote Code Execution via Unsafe Pickle Deserialization in Model Loaders
7.5
/ 10
High
Network
High
None
Required
Unchanged
High
High
High
SummaryStanza 1.12.0 attempts to safely load PyTorch checkpoint files using An attacker who can place a malicious pretrain or model file on disk (via supply-chain compromise, a poisoned model repository, or a shared model cache) can achieve arbitrary code execution on any machine that loads a Stanza NLP pipeline. Code execution occurs inside the Stanza pretrain-loading API, not merely by calling DetailsThe vulnerable code is in pretrain.py#L59-L67 (Stanza 1.12.0):
When The fallback is triggered reliably and intentionally: an attacker embeds one unsupported pickle global (e.g., The same try/except pattern exists in at least five additional loaders in Stanza 1.12.0: | File | Lines |
|------|-------|
| Additionally, The call chain from the public API to the vulnerable fallback is:
PoCEnvironment: Python 3.11, Step 1: Install dependencies:
Step 2: Save the following as
Step 3 : Run:
Expected output (confirmed):
The sentinel is created exclusively by the Stanza pretrain-loading API invoking the unsafe fallback : not by a direct ImpactVulnerability class: CWE-502 : Deserialization of Untrusted Data Who is impacted: Any user, researcher, CI/CD pipeline, or production NLP service that loads a Stanza model pretrain file from a source that is not under the victim's exclusive cryptographic control. Concretely:
Attack prerequisites: The attacker must be able to place a malicious
What an attacker achieves: Arbitrary code execution with the full privileges of the process running Recommended fix: Remove the unsafe fallback entirely. If
If legacy NumPy-containing pretrain files must be supported, use PyTorch's Affected versions
0.3
1.0.0
1.0.0rc0
1.0.1
1.1.1
1.10.0
1.10.1
1.11.0
1.11.1
1.12.0
1.12.1
1.2
+ 18 more Show less
1.2.1
1.2.2
1.2.3
1.3.0
1.4.0
1.4.1
1.4.2
1.5.0
1.5.1
1.6.0
1.6.1
1.7.0
1.8.0
1.8.1
1.8.2
1.9.0
1.9.1
1.9.2
Fixed in
1.12.2
References Updated Jul 13, 2026 · Source: OSV.dev | ||
1.4.0
minor
1 CVE
CVE-2026-54499
PYSEC-2026-3075
GHSA-v5jw-96jm-7h2c
Jul 13, 2026
Stanza: Remote Code Execution via Unsafe Pickle Deserialization in Model Loaders
7.5
/ 10
High
Network
High
None
Required
Unchanged
High
High
High
SummaryStanza 1.12.0 attempts to safely load PyTorch checkpoint files using An attacker who can place a malicious pretrain or model file on disk (via supply-chain compromise, a poisoned model repository, or a shared model cache) can achieve arbitrary code execution on any machine that loads a Stanza NLP pipeline. Code execution occurs inside the Stanza pretrain-loading API, not merely by calling DetailsThe vulnerable code is in pretrain.py#L59-L67 (Stanza 1.12.0):
When The fallback is triggered reliably and intentionally: an attacker embeds one unsupported pickle global (e.g., The same try/except pattern exists in at least five additional loaders in Stanza 1.12.0: | File | Lines |
|------|-------|
| Additionally, The call chain from the public API to the vulnerable fallback is:
PoCEnvironment: Python 3.11, Step 1: Install dependencies:
Step 2: Save the following as
Step 3 : Run:
Expected output (confirmed):
The sentinel is created exclusively by the Stanza pretrain-loading API invoking the unsafe fallback : not by a direct ImpactVulnerability class: CWE-502 : Deserialization of Untrusted Data Who is impacted: Any user, researcher, CI/CD pipeline, or production NLP service that loads a Stanza model pretrain file from a source that is not under the victim's exclusive cryptographic control. Concretely:
Attack prerequisites: The attacker must be able to place a malicious
What an attacker achieves: Arbitrary code execution with the full privileges of the process running Recommended fix: Remove the unsafe fallback entirely. If
If legacy NumPy-containing pretrain files must be supported, use PyTorch's Affected versions
0.3
1.0.0
1.0.0rc0
1.0.1
1.1.1
1.10.0
1.10.1
1.11.0
1.11.1
1.12.0
1.12.1
1.2
+ 18 more Show less
1.2.1
1.2.2
1.2.3
1.3.0
1.4.0
1.4.1
1.4.2
1.5.0
1.5.1
1.6.0
1.6.1
1.7.0
1.8.0
1.8.1
1.8.2
1.9.0
1.9.1
1.9.2
Fixed in
1.12.2
References Updated Jul 13, 2026 · Source: OSV.dev | ||
1.3.0
minor
1 CVE
CVE-2026-54499
PYSEC-2026-3075
GHSA-v5jw-96jm-7h2c
Jul 13, 2026
Stanza: Remote Code Execution via Unsafe Pickle Deserialization in Model Loaders
7.5
/ 10
High
Network
High
None
Required
Unchanged
High
High
High
SummaryStanza 1.12.0 attempts to safely load PyTorch checkpoint files using An attacker who can place a malicious pretrain or model file on disk (via supply-chain compromise, a poisoned model repository, or a shared model cache) can achieve arbitrary code execution on any machine that loads a Stanza NLP pipeline. Code execution occurs inside the Stanza pretrain-loading API, not merely by calling DetailsThe vulnerable code is in pretrain.py#L59-L67 (Stanza 1.12.0):
When The fallback is triggered reliably and intentionally: an attacker embeds one unsupported pickle global (e.g., The same try/except pattern exists in at least five additional loaders in Stanza 1.12.0: | File | Lines |
|------|-------|
| Additionally, The call chain from the public API to the vulnerable fallback is:
PoCEnvironment: Python 3.11, Step 1: Install dependencies:
Step 2: Save the following as
Step 3 : Run:
Expected output (confirmed):
The sentinel is created exclusively by the Stanza pretrain-loading API invoking the unsafe fallback : not by a direct ImpactVulnerability class: CWE-502 : Deserialization of Untrusted Data Who is impacted: Any user, researcher, CI/CD pipeline, or production NLP service that loads a Stanza model pretrain file from a source that is not under the victim's exclusive cryptographic control. Concretely:
Attack prerequisites: The attacker must be able to place a malicious
What an attacker achieves: Arbitrary code execution with the full privileges of the process running Recommended fix: Remove the unsafe fallback entirely. If
If legacy NumPy-containing pretrain files must be supported, use PyTorch's Affected versions
0.3
1.0.0
1.0.0rc0
1.0.1
1.1.1
1.10.0
1.10.1
1.11.0
1.11.1
1.12.0
1.12.1
1.2
+ 18 more Show less
1.2.1
1.2.2
1.2.3
1.3.0
1.4.0
1.4.1
1.4.2
1.5.0
1.5.1
1.6.0
1.6.1
1.7.0
1.8.0
1.8.1
1.8.2
1.9.0
1.9.1
1.9.2
Fixed in
1.12.2
References Updated Jul 13, 2026 · Source: OSV.dev | ||
1.2.3
patch
1 CVE
CVE-2026-54499
PYSEC-2026-3075
GHSA-v5jw-96jm-7h2c
Jul 13, 2026
Stanza: Remote Code Execution via Unsafe Pickle Deserialization in Model Loaders
7.5
/ 10
High
Network
High
None
Required
Unchanged
High
High
High
SummaryStanza 1.12.0 attempts to safely load PyTorch checkpoint files using An attacker who can place a malicious pretrain or model file on disk (via supply-chain compromise, a poisoned model repository, or a shared model cache) can achieve arbitrary code execution on any machine that loads a Stanza NLP pipeline. Code execution occurs inside the Stanza pretrain-loading API, not merely by calling DetailsThe vulnerable code is in pretrain.py#L59-L67 (Stanza 1.12.0):
When The fallback is triggered reliably and intentionally: an attacker embeds one unsupported pickle global (e.g., The same try/except pattern exists in at least five additional loaders in Stanza 1.12.0: | File | Lines |
|------|-------|
| Additionally, The call chain from the public API to the vulnerable fallback is:
PoCEnvironment: Python 3.11, Step 1: Install dependencies:
Step 2: Save the following as
Step 3 : Run:
Expected output (confirmed):
The sentinel is created exclusively by the Stanza pretrain-loading API invoking the unsafe fallback : not by a direct ImpactVulnerability class: CWE-502 : Deserialization of Untrusted Data Who is impacted: Any user, researcher, CI/CD pipeline, or production NLP service that loads a Stanza model pretrain file from a source that is not under the victim's exclusive cryptographic control. Concretely:
Attack prerequisites: The attacker must be able to place a malicious
What an attacker achieves: Arbitrary code execution with the full privileges of the process running Recommended fix: Remove the unsafe fallback entirely. If
If legacy NumPy-containing pretrain files must be supported, use PyTorch's Affected versions
0.3
1.0.0
1.0.0rc0
1.0.1
1.1.1
1.10.0
1.10.1
1.11.0
1.11.1
1.12.0
1.12.1
1.2
+ 18 more Show less
1.2.1
1.2.2
1.2.3
1.3.0
1.4.0
1.4.1
1.4.2
1.5.0
1.5.1
1.6.0
1.6.1
1.7.0
1.8.0
1.8.1
1.8.2
1.9.0
1.9.1
1.9.2
Fixed in
1.12.2
References Updated Jul 13, 2026 · Source: OSV.dev | ||
1.2.2
patch
1 CVE
CVE-2026-54499
PYSEC-2026-3075
GHSA-v5jw-96jm-7h2c
Jul 13, 2026
Stanza: Remote Code Execution via Unsafe Pickle Deserialization in Model Loaders
7.5
/ 10
High
Network
High
None
Required
Unchanged
High
High
High
SummaryStanza 1.12.0 attempts to safely load PyTorch checkpoint files using An attacker who can place a malicious pretrain or model file on disk (via supply-chain compromise, a poisoned model repository, or a shared model cache) can achieve arbitrary code execution on any machine that loads a Stanza NLP pipeline. Code execution occurs inside the Stanza pretrain-loading API, not merely by calling DetailsThe vulnerable code is in pretrain.py#L59-L67 (Stanza 1.12.0):
When The fallback is triggered reliably and intentionally: an attacker embeds one unsupported pickle global (e.g., The same try/except pattern exists in at least five additional loaders in Stanza 1.12.0: | File | Lines |
|------|-------|
| Additionally, The call chain from the public API to the vulnerable fallback is:
PoCEnvironment: Python 3.11, Step 1: Install dependencies:
Step 2: Save the following as
Step 3 : Run:
Expected output (confirmed):
The sentinel is created exclusively by the Stanza pretrain-loading API invoking the unsafe fallback : not by a direct ImpactVulnerability class: CWE-502 : Deserialization of Untrusted Data Who is impacted: Any user, researcher, CI/CD pipeline, or production NLP service that loads a Stanza model pretrain file from a source that is not under the victim's exclusive cryptographic control. Concretely:
Attack prerequisites: The attacker must be able to place a malicious
What an attacker achieves: Arbitrary code execution with the full privileges of the process running Recommended fix: Remove the unsafe fallback entirely. If
If legacy NumPy-containing pretrain files must be supported, use PyTorch's Affected versions
0.3
1.0.0
1.0.0rc0
1.0.1
1.1.1
1.10.0
1.10.1
1.11.0
1.11.1
1.12.0
1.12.1
1.2
+ 18 more Show less
1.2.1
1.2.2
1.2.3
1.3.0
1.4.0
1.4.1
1.4.2
1.5.0
1.5.1
1.6.0
1.6.1
1.7.0
1.8.0
1.8.1
1.8.2
1.9.0
1.9.1
1.9.2
Fixed in
1.12.2
References Updated Jul 13, 2026 · Source: OSV.dev | ||
1.2.1
patch
1 CVE
CVE-2026-54499
PYSEC-2026-3075
GHSA-v5jw-96jm-7h2c
Jul 13, 2026
Stanza: Remote Code Execution via Unsafe Pickle Deserialization in Model Loaders
7.5
/ 10
High
Network
High
None
Required
Unchanged
High
High
High
SummaryStanza 1.12.0 attempts to safely load PyTorch checkpoint files using An attacker who can place a malicious pretrain or model file on disk (via supply-chain compromise, a poisoned model repository, or a shared model cache) can achieve arbitrary code execution on any machine that loads a Stanza NLP pipeline. Code execution occurs inside the Stanza pretrain-loading API, not merely by calling DetailsThe vulnerable code is in pretrain.py#L59-L67 (Stanza 1.12.0):
When The fallback is triggered reliably and intentionally: an attacker embeds one unsupported pickle global (e.g., The same try/except pattern exists in at least five additional loaders in Stanza 1.12.0: | File | Lines |
|------|-------|
| Additionally, The call chain from the public API to the vulnerable fallback is:
PoCEnvironment: Python 3.11, Step 1: Install dependencies:
Step 2: Save the following as
Step 3 : Run:
Expected output (confirmed):
The sentinel is created exclusively by the Stanza pretrain-loading API invoking the unsafe fallback : not by a direct ImpactVulnerability class: CWE-502 : Deserialization of Untrusted Data Who is impacted: Any user, researcher, CI/CD pipeline, or production NLP service that loads a Stanza model pretrain file from a source that is not under the victim's exclusive cryptographic control. Concretely:
Attack prerequisites: The attacker must be able to place a malicious
What an attacker achieves: Arbitrary code execution with the full privileges of the process running Recommended fix: Remove the unsafe fallback entirely. If
If legacy NumPy-containing pretrain files must be supported, use PyTorch's Affected versions
0.3
1.0.0
1.0.0rc0
1.0.1
1.1.1
1.10.0
1.10.1
1.11.0
1.11.1
1.12.0
1.12.1
1.2
+ 18 more Show less
1.2.1
1.2.2
1.2.3
1.3.0
1.4.0
1.4.1
1.4.2
1.5.0
1.5.1
1.6.0
1.6.1
1.7.0
1.8.0
1.8.1
1.8.2
1.9.0
1.9.1
1.9.2
Fixed in
1.12.2
References Updated Jul 13, 2026 · Source: OSV.dev | ||
1.2
minor
1 CVE
CVE-2026-54499
PYSEC-2026-3075
GHSA-v5jw-96jm-7h2c
Jul 13, 2026
Stanza: Remote Code Execution via Unsafe Pickle Deserialization in Model Loaders
7.5
/ 10
High
Network
High
None
Required
Unchanged
High
High
High
SummaryStanza 1.12.0 attempts to safely load PyTorch checkpoint files using An attacker who can place a malicious pretrain or model file on disk (via supply-chain compromise, a poisoned model repository, or a shared model cache) can achieve arbitrary code execution on any machine that loads a Stanza NLP pipeline. Code execution occurs inside the Stanza pretrain-loading API, not merely by calling DetailsThe vulnerable code is in pretrain.py#L59-L67 (Stanza 1.12.0):
When The fallback is triggered reliably and intentionally: an attacker embeds one unsupported pickle global (e.g., The same try/except pattern exists in at least five additional loaders in Stanza 1.12.0: | File | Lines |
|------|-------|
| Additionally, The call chain from the public API to the vulnerable fallback is:
PoCEnvironment: Python 3.11, Step 1: Install dependencies:
Step 2: Save the following as
Step 3 : Run:
Expected output (confirmed):
The sentinel is created exclusively by the Stanza pretrain-loading API invoking the unsafe fallback : not by a direct ImpactVulnerability class: CWE-502 : Deserialization of Untrusted Data Who is impacted: Any user, researcher, CI/CD pipeline, or production NLP service that loads a Stanza model pretrain file from a source that is not under the victim's exclusive cryptographic control. Concretely:
Attack prerequisites: The attacker must be able to place a malicious
What an attacker achieves: Arbitrary code execution with the full privileges of the process running Recommended fix: Remove the unsafe fallback entirely. If
If legacy NumPy-containing pretrain files must be supported, use PyTorch's Affected versions
0.3
1.0.0
1.0.0rc0
1.0.1
1.1.1
1.10.0
1.10.1
1.11.0
1.11.1
1.12.0
1.12.1
1.2
+ 18 more Show less
1.2.1
1.2.2
1.2.3
1.3.0
1.4.0
1.4.1
1.4.2
1.5.0
1.5.1
1.6.0
1.6.1
1.7.0
1.8.0
1.8.1
1.8.2
1.9.0
1.9.1
1.9.2
Fixed in
1.12.2
References Updated Jul 13, 2026 · Source: OSV.dev | ||
1.1.1
minor
1 CVE
CVE-2026-54499
PYSEC-2026-3075
GHSA-v5jw-96jm-7h2c
Jul 13, 2026
Stanza: Remote Code Execution via Unsafe Pickle Deserialization in Model Loaders
7.5
/ 10
High
Network
High
None
Required
Unchanged
High
High
High
SummaryStanza 1.12.0 attempts to safely load PyTorch checkpoint files using An attacker who can place a malicious pretrain or model file on disk (via supply-chain compromise, a poisoned model repository, or a shared model cache) can achieve arbitrary code execution on any machine that loads a Stanza NLP pipeline. Code execution occurs inside the Stanza pretrain-loading API, not merely by calling DetailsThe vulnerable code is in pretrain.py#L59-L67 (Stanza 1.12.0):
When The fallback is triggered reliably and intentionally: an attacker embeds one unsupported pickle global (e.g., The same try/except pattern exists in at least five additional loaders in Stanza 1.12.0: | File | Lines |
|------|-------|
| Additionally, The call chain from the public API to the vulnerable fallback is:
PoCEnvironment: Python 3.11, Step 1: Install dependencies:
Step 2: Save the following as
Step 3 : Run:
Expected output (confirmed):
The sentinel is created exclusively by the Stanza pretrain-loading API invoking the unsafe fallback : not by a direct ImpactVulnerability class: CWE-502 : Deserialization of Untrusted Data Who is impacted: Any user, researcher, CI/CD pipeline, or production NLP service that loads a Stanza model pretrain file from a source that is not under the victim's exclusive cryptographic control. Concretely:
Attack prerequisites: The attacker must be able to place a malicious
What an attacker achieves: Arbitrary code execution with the full privileges of the process running Recommended fix: Remove the unsafe fallback entirely. If
If legacy NumPy-containing pretrain files must be supported, use PyTorch's Affected versions
0.3
1.0.0
1.0.0rc0
1.0.1
1.1.1
1.10.0
1.10.1
1.11.0
1.11.1
1.12.0
1.12.1
1.2
+ 18 more Show less
1.2.1
1.2.2
1.2.3
1.3.0
1.4.0
1.4.1
1.4.2
1.5.0
1.5.1
1.6.0
1.6.1
1.7.0
1.8.0
1.8.1
1.8.2
1.9.0
1.9.1
1.9.2
Fixed in
1.12.2
References Updated Jul 13, 2026 · Source: OSV.dev | ||
1.0.1
patch
1 CVE
CVE-2026-54499
PYSEC-2026-3075
GHSA-v5jw-96jm-7h2c
Jul 13, 2026
Stanza: Remote Code Execution via Unsafe Pickle Deserialization in Model Loaders
7.5
/ 10
High
Network
High
None
Required
Unchanged
High
High
High
SummaryStanza 1.12.0 attempts to safely load PyTorch checkpoint files using An attacker who can place a malicious pretrain or model file on disk (via supply-chain compromise, a poisoned model repository, or a shared model cache) can achieve arbitrary code execution on any machine that loads a Stanza NLP pipeline. Code execution occurs inside the Stanza pretrain-loading API, not merely by calling DetailsThe vulnerable code is in pretrain.py#L59-L67 (Stanza 1.12.0):
When The fallback is triggered reliably and intentionally: an attacker embeds one unsupported pickle global (e.g., The same try/except pattern exists in at least five additional loaders in Stanza 1.12.0: | File | Lines |
|------|-------|
| Additionally, The call chain from the public API to the vulnerable fallback is:
PoCEnvironment: Python 3.11, Step 1: Install dependencies:
Step 2: Save the following as
Step 3 : Run:
Expected output (confirmed):
The sentinel is created exclusively by the Stanza pretrain-loading API invoking the unsafe fallback : not by a direct ImpactVulnerability class: CWE-502 : Deserialization of Untrusted Data Who is impacted: Any user, researcher, CI/CD pipeline, or production NLP service that loads a Stanza model pretrain file from a source that is not under the victim's exclusive cryptographic control. Concretely:
Attack prerequisites: The attacker must be able to place a malicious
What an attacker achieves: Arbitrary code execution with the full privileges of the process running Recommended fix: Remove the unsafe fallback entirely. If
If legacy NumPy-containing pretrain files must be supported, use PyTorch's Affected versions
0.3
1.0.0
1.0.0rc0
1.0.1
1.1.1
1.10.0
1.10.1
1.11.0
1.11.1
1.12.0
1.12.1
1.2
+ 18 more Show less
1.2.1
1.2.2
1.2.3
1.3.0
1.4.0
1.4.1
1.4.2
1.5.0
1.5.1
1.6.0
1.6.1
1.7.0
1.8.0
1.8.1
1.8.2
1.9.0
1.9.1
1.9.2
Fixed in
1.12.2
References Updated Jul 13, 2026 · Source: OSV.dev | ||
1.0.0
major
1 CVE
CVE-2026-54499
PYSEC-2026-3075
GHSA-v5jw-96jm-7h2c
Jul 13, 2026
Stanza: Remote Code Execution via Unsafe Pickle Deserialization in Model Loaders
7.5
/ 10
High
Network
High
None
Required
Unchanged
High
High
High
SummaryStanza 1.12.0 attempts to safely load PyTorch checkpoint files using An attacker who can place a malicious pretrain or model file on disk (via supply-chain compromise, a poisoned model repository, or a shared model cache) can achieve arbitrary code execution on any machine that loads a Stanza NLP pipeline. Code execution occurs inside the Stanza pretrain-loading API, not merely by calling DetailsThe vulnerable code is in pretrain.py#L59-L67 (Stanza 1.12.0):
When The fallback is triggered reliably and intentionally: an attacker embeds one unsupported pickle global (e.g., The same try/except pattern exists in at least five additional loaders in Stanza 1.12.0: | File | Lines |
|------|-------|
| Additionally, The call chain from the public API to the vulnerable fallback is:
PoCEnvironment: Python 3.11, Step 1: Install dependencies:
Step 2: Save the following as
Step 3 : Run:
Expected output (confirmed):
The sentinel is created exclusively by the Stanza pretrain-loading API invoking the unsafe fallback : not by a direct ImpactVulnerability class: CWE-502 : Deserialization of Untrusted Data Who is impacted: Any user, researcher, CI/CD pipeline, or production NLP service that loads a Stanza model pretrain file from a source that is not under the victim's exclusive cryptographic control. Concretely:
Attack prerequisites: The attacker must be able to place a malicious
What an attacker achieves: Arbitrary code execution with the full privileges of the process running Recommended fix: Remove the unsafe fallback entirely. If
If legacy NumPy-containing pretrain files must be supported, use PyTorch's Affected versions
0.3
1.0.0
1.0.0rc0
1.0.1
1.1.1
1.10.0
1.10.1
1.11.0
1.11.1
1.12.0
1.12.1
1.2
+ 18 more Show less
1.2.1
1.2.2
1.2.3
1.3.0
1.4.0
1.4.1
1.4.2
1.5.0
1.5.1
1.6.0
1.6.1
1.7.0
1.8.0
1.8.1
1.8.2
1.9.0
1.9.1
1.9.2
Fixed in
1.12.2
References Updated Jul 13, 2026 · Source: OSV.dev | ||
1.0.0rc0
pre
1 CVE
CVE-2026-54499
PYSEC-2026-3075
GHSA-v5jw-96jm-7h2c
Jul 13, 2026
Stanza: Remote Code Execution via Unsafe Pickle Deserialization in Model Loaders
7.5
/ 10
High
Network
High
None
Required
Unchanged
High
High
High
SummaryStanza 1.12.0 attempts to safely load PyTorch checkpoint files using An attacker who can place a malicious pretrain or model file on disk (via supply-chain compromise, a poisoned model repository, or a shared model cache) can achieve arbitrary code execution on any machine that loads a Stanza NLP pipeline. Code execution occurs inside the Stanza pretrain-loading API, not merely by calling DetailsThe vulnerable code is in pretrain.py#L59-L67 (Stanza 1.12.0):
When The fallback is triggered reliably and intentionally: an attacker embeds one unsupported pickle global (e.g., The same try/except pattern exists in at least five additional loaders in Stanza 1.12.0: | File | Lines |
|------|-------|
| Additionally, The call chain from the public API to the vulnerable fallback is:
PoCEnvironment: Python 3.11, Step 1: Install dependencies:
Step 2: Save the following as
Step 3 : Run:
Expected output (confirmed):
The sentinel is created exclusively by the Stanza pretrain-loading API invoking the unsafe fallback : not by a direct ImpactVulnerability class: CWE-502 : Deserialization of Untrusted Data Who is impacted: Any user, researcher, CI/CD pipeline, or production NLP service that loads a Stanza model pretrain file from a source that is not under the victim's exclusive cryptographic control. Concretely:
Attack prerequisites: The attacker must be able to place a malicious
What an attacker achieves: Arbitrary code execution with the full privileges of the process running Recommended fix: Remove the unsafe fallback entirely. If
If legacy NumPy-containing pretrain files must be supported, use PyTorch's Affected versions
0.3
1.0.0
1.0.0rc0
1.0.1
1.1.1
1.10.0
1.10.1
1.11.0
1.11.1
1.12.0
1.12.1
1.2
+ 18 more Show less
1.2.1
1.2.2
1.2.3
1.3.0
1.4.0
1.4.1
1.4.2
1.5.0
1.5.1
1.6.0
1.6.1
1.7.0
1.8.0
1.8.1
1.8.2
1.9.0
1.9.1
1.9.2
Fixed in
1.12.2
References Updated Jul 13, 2026 · Source: OSV.dev | ||
0.3
initial
1 CVE
CVE-2026-54499
PYSEC-2026-3075
GHSA-v5jw-96jm-7h2c
Jul 13, 2026
Stanza: Remote Code Execution via Unsafe Pickle Deserialization in Model Loaders
7.5
/ 10
High
Network
High
None
Required
Unchanged
High
High
High
SummaryStanza 1.12.0 attempts to safely load PyTorch checkpoint files using An attacker who can place a malicious pretrain or model file on disk (via supply-chain compromise, a poisoned model repository, or a shared model cache) can achieve arbitrary code execution on any machine that loads a Stanza NLP pipeline. Code execution occurs inside the Stanza pretrain-loading API, not merely by calling DetailsThe vulnerable code is in pretrain.py#L59-L67 (Stanza 1.12.0):
When The fallback is triggered reliably and intentionally: an attacker embeds one unsupported pickle global (e.g., The same try/except pattern exists in at least five additional loaders in Stanza 1.12.0: | File | Lines |
|------|-------|
| Additionally, The call chain from the public API to the vulnerable fallback is:
PoCEnvironment: Python 3.11, Step 1: Install dependencies:
Step 2: Save the following as
Step 3 : Run:
Expected output (confirmed):
The sentinel is created exclusively by the Stanza pretrain-loading API invoking the unsafe fallback : not by a direct ImpactVulnerability class: CWE-502 : Deserialization of Untrusted Data Who is impacted: Any user, researcher, CI/CD pipeline, or production NLP service that loads a Stanza model pretrain file from a source that is not under the victim's exclusive cryptographic control. Concretely:
Attack prerequisites: The attacker must be able to place a malicious
What an attacker achieves: Arbitrary code execution with the full privileges of the process running Recommended fix: Remove the unsafe fallback entirely. If
If legacy NumPy-containing pretrain files must be supported, use PyTorch's Affected versions
0.3
1.0.0
1.0.0rc0
1.0.1
1.1.1
1.10.0
1.10.1
1.11.0
1.11.1
1.12.0
1.12.1
1.2
+ 18 more Show less
1.2.1
1.2.2
1.2.3
1.3.0
1.4.0
1.4.1
1.4.2
1.5.0
1.5.1
1.6.0
1.6.1
1.7.0
1.8.0
1.8.1
1.8.2
1.9.0
1.9.1
1.9.2
Fixed in
1.12.2
References Updated Jul 13, 2026 · Source: OSV.dev |