{"id":"CVE-2026-54499","published":"2026-07-08T22:23:02Z","modified":"2026-07-09T13:13:28Z","title":"Stanza: Remote Code Execution via Unsafe Pickle Deserialization in Model Loaders","vendor":"stanfordnlp","product":"stanza","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00519,"percentile":0.37386,"provenance":"source"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"},{"id":"CWE-676","name":"Use of Potentially Dangerous Function"}],"references":[{"url":"https://github.com/stanfordnlp/stanza/security/advisories/GHSA-v5jw-96jm-7h2c","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/stanfordnlp/stanza/pull/1587","tags":["x_refsource_MISC"]},{"url":"https://github.com/stanfordnlp/stanza/commit/b745008c68c9e50ccb5acd537cb6f2453f8b7ad4","tags":["x_refsource_MISC"]},{"url":"https://github.com/stanfordnlp/stanza/releases/tag/v1.12.2","tags":["x_refsource_MISC"]}],"priority":{"score":12.7,"factors":[{"name":"EPSS percentile","points":7.48},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"stanfordnlp","affectedVersions":[{"vendor":"stanfordnlp","product":"stanza","versions":["< 1.12.2"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-07-09T13:13:21.918884Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"stanza","vulnerableRanges":["<1.12.2"],"patched":["1.12.2"],"from":["GHSA-v5jw-96jm-7h2c","PYSEC-2026-3075"],"provenance":"source"}],"summary":{"text":"The flaw is in Stanza, the Stanford NLP Python library, specifically in its model loaders (for example Pretrain.load()), which fall back to an unrestricted torch.load() when a weights-only load fails on a pickle error. An attacker who supplies a malicious .pt pretrain or model file can get arbitrary pickle code executed when a Stanza NLP pipeline loads it, provided the attacker can get the file loaded and a user must take an action (UI:R) such as running the pipeline on that file, with the attack complexity noted as high.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:35:57Z"},"euvd":{"id":"EUVD-2026-42474","exploited":false,"provenance":"source"}}