CVE-2026-54499 Stanza: Remote Code Execution via Unsafe Pickle Deserialization in Model Loaders
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
- Technology
- Red Hat
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.
Upgrade path
5 packages: 2 fixed, 2 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat/rhceph/alloy-rhel10(Red Hat ceph_storage 9) | All versions | No fix listed | No fix yet |
| redhat/rhosdt/opentelemetry-collector-rhel9(Red Hat openshift_distributed_tracing 3) | All versions | No fix listed | No fix yet |
| pypi stanza(PyPI) | < 1.12.2; <= 1.12.1; = 0.3; = 1.0.0 +28 more | 1.12.2 | Fixed |
| stanford stanza | < 1.12.2 | 1.12.2 | Fixed |
| stanfordnlp stanza | = < 1.12.2 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| stanfordnlp stanza | = < 1.12.2 | No fix listed |
| pypi stanza(PyPI) | < 1.12.2 | 1.12.2 |
| pypi stanza(PyPI) | = 0.3 | No fix listed |
| pypi stanza(PyPI) | = 1.0.0 | No fix listed |
| pypi stanza(PyPI) | = 1.0.0rc0 | No fix listed |
| pypi stanza(PyPI) | = 1.0.1 | No fix listed |
| pypi stanza(PyPI) | = 1.1.1 | No fix listed |
| pypi stanza(PyPI) | = 1.10.0 | No fix listed |
| pypi stanza(PyPI) | = 1.10.1 | No fix listed |
| pypi stanza(PyPI) | = 1.11.0 | No fix listed |
| pypi stanza(PyPI) | = 1.11.1 | No fix listed |
| pypi stanza(PyPI) | = 1.12.0 | No fix listed |
| pypi stanza(PyPI) | = 1.12.1 | No fix listed |
| pypi stanza(PyPI) | = 1.2 | No fix listed |
| pypi stanza(PyPI) | = 1.2.1 | No fix listed |
| pypi stanza(PyPI) | = 1.2.2 | No fix listed |
| pypi stanza(PyPI) | = 1.2.3 | No fix listed |
| pypi stanza(PyPI) | = 1.3.0 | No fix listed |
| pypi stanza(PyPI) | = 1.4.0 | No fix listed |
| pypi stanza(PyPI) | = 1.4.1 | No fix listed |
| pypi stanza(PyPI) | = 1.4.2 | No fix listed |
| pypi stanza(PyPI) | = 1.5.0 | No fix listed |
| pypi stanza(PyPI) | = 1.5.1 | No fix listed |
| pypi stanza(PyPI) | = 1.6.0 | No fix listed |
| pypi stanza(PyPI) | = 1.6.1 | No fix listed |
Show 11 more
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi stanza(PyPI) | = 1.7.0 | No fix listed |
| pypi stanza(PyPI) | = 1.8.0 | No fix listed |
| pypi stanza(PyPI) | = 1.8.1 | No fix listed |
| pypi stanza(PyPI) | = 1.8.2 | No fix listed |
| pypi stanza(PyPI) | = 1.9.0 | No fix listed |
| pypi stanza(PyPI) | = 1.9.1 | No fix listed |
| pypi stanza(PyPI) | = 1.9.2 | No fix listed |
| redhat/rhceph/alloy-rhel10(Red Hat:ceph_storage:9) | All versions | No fix listed |
| redhat/rhosdt/opentelemetry-collector-rhel9(Red Hat:openshift_distributed_tracing:3) | All versions | No fix listed |
| pypi stanza(PyPI) | <= 1.12.1 | No fix listed |
| stanford stanza | < 1.12.2 | 1.12.2 |
References
- https://github.com/stanfordnlp/stanza/security/advisories/GHSA-v5jw-96jm-7h2c exploit vendor-advisory
- https://github.com/stanfordnlp/stanza/pull/1587 issue-tracking patch
- https://github.com/stanfordnlp/stanza/commit/b745008c68c9e50ccb5acd537cb6f2453f8b7ad4 patch
- https://github.com/stanfordnlp/stanza/releases/tag/v1.12.2 release-notes
- github.com product
- pypi.org product
- github.com vendor-advisory
- nvd.nist.gov vendor-advisory
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2498355 issue-tracking
- www.cve.org