{"id":"CVE-2026-54499","summary":"Stanza: Remote Code Execution via Unsafe Pickle Deserialization in Model Loaders","details":"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.","aliases":["GHSA-v5jw-96jm-7h2c","PYSEC-2026-3075"],"modified":"2026-07-16T03:48:39.114702323Z","published":"2026-07-08T22:23:02.664Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54499.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-502","CWE-676"]},"references":[{"type":"WEB","url":"https://github.com/stanfordnlp/stanza/releases/tag/v1.12.2"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54499.json"},{"type":"ADVISORY","url":"https://github.com/stanfordnlp/stanza/security/advisories/GHSA-v5jw-96jm-7h2c"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54499"},{"type":"FIX","url":"https://github.com/stanfordnlp/stanza/commit/b745008c68c9e50ccb5acd537cb6f2453f8b7ad4"},{"type":"FIX","url":"https://github.com/stanfordnlp/stanza/pull/1587"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/stanfordnlp/stanza","events":[{"introduced":"0"},{"fixed":"8e745c81b03fd477fe06322a7efabdce1ac28106"},{"fixed":"b745008c68c9e50ccb5acd537cb6f2453f8b7ad4"}],"database_specific":{"cpe":"cpe:2.3:a:stanford:stanza:*:*:*:*:*:python:*:*","extracted_events":[{"introduced":"0"},{"fixed":"1.12.2"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["v1.12.0","v1.12.1","v1.11.1","v1.11.0","v1.10.1","v1.10.0","v1.9.2","v1.9.1","v1.9.0","v1.8.2","v1.8.1","v1.8.0","v1.7.0","v1.6.1","v1.6.0","v1.5.1","v1.5.0","v1.4.2","v1.4.1","v1.4.0","v1.3.0","v1.2.3","v1.2.2","v1.2.1","v1.2.0","v1.1.1","v1.0.1","1.0.1","v1.0.0","v0.2.0","v0.1.2","v0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-54499.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}