# CVE-2026-54499: Stanza: Remote Code Execution via Unsafe Pickle Deserialization in Model Loaders

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.41%, higher than 37% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-19T19:35:54.000Z
- Modified: 2026-10-25T17:10:00.197Z
- Also known as: GHSA-v5jw-96jm-7h2c, PYSEC-2026-3075
- Weaknesses: CWE-502, CWE-676
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- stanfordnlp stanza: < 1.12.2
- stanza (PyPI): before 1.12.2
- stanford stanza: before 1.12.2

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/stanfordnlp/stanza/security/advisories/GHSA-v5jw-96jm-7h2c> (exploit, vendor-advisory, web)
- <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)
- <https://github.com/stanfordnlp/stanza> (package)
- <https://pypi.org/project/stanza> (package)
- <https://github.com/advisories/GHSA-v5jw-96jm-7h2c> (advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-54499> (advisory)

## Sources

- CVE List: [CVE-2026-54499](https://www.cve.org/CVERecord?id=CVE-2026-54499), CVE Terms of Use, modified 2026-07-09
- GitHub Advisory Database: [GHSA-v5jw-96jm-7h2c](https://github.com/advisories/GHSA-v5jw-96jm-7h2c), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2026-54499](https://nvd.nist.gov/vuln/detail/CVE-2026-54499), Public domain, modified 2026-10-25
- PyPA Advisory Database: [PYSEC-2026-3075](https://osv.dev/vulnerability/PYSEC-2026-3075), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-54499 · Whole record: https://cve.day/CVE-2026-54499.json · Rebuilt by cve.day 2026-11-25T22:59:27.464Z
