Untriaged
Permalink
CVE-2026-54499
7.5 HIGH
- CVSS version (CVSS): 3.1
- Attack Vector (AV): Network (N)
- Attack Complexity (AC): High (H)
- Privileges Required (PR): None (N)
- User Interaction (UI): Required (R)
- Scope (S): Unchanged (U)
- Confidentiality (C): High (H)
- Integrity (I): High (H)
- Availability (A): High (H)
- Modified Attack Vector (MAV): Network (N)
- Modified Attack Complexity (MAC): High (H)
- Modified Privileges Required (MPR): None (N)
- Modified User Interaction (MUI): Required (R)
- Modified Confidentiality (MC): High (H)
- Modified Scope (MS): Unchanged (U)
- Modified Integrity (MI): High (H)
- Modified Availability (MA): High (H)
Activity log
- Created suggestion
Stanza: Remote Code Execution via Unsafe Pickle Deserialization in Model Loaders
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.
References
-
https://github.com/stanfordnlp/stanza/security/advisories/GHSA-v5jw-96jm-7h2c x_refsource_CONFIRM
-
https://github.com/stanfordnlp/stanza/pull/1587 x_refsource_MISC
-
https://github.com/stanfordnlp/stanza/releases/tag/v1.12.2 x_refsource_MISC
Affected products
stanza
- ==< 1.12.2
Matching in nixpkgs
pkgs.python313Packages.stanza
Official Stanford NLP Python Library for Many Human Languages
pkgs.python314Packages.stanza
Official Stanford NLP Python Library for Many Human Languages
Package maintainers
-
@Stebalien Steven Allen <steven@stebalien.com>
-
@riotbib lennart <lennart@cope.cool>