{"id":"CVE-2026-54499","state":"PUBLISHED","title":"Stanza: Remote Code Execution via Unsafe Pickle Deserialization in Model Loaders","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.","publishedAt":"2026-07-08T22:23:02.664Z","updatedAt":"2026-07-09T13:13:28.368Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["stanfordnlp stanza"],"affected":[{"vendor":"stanfordnlp","product":"stanza","versions":[{"version":"< 1.12.2","status":"affected"}]}],"references":["https://github.com/stanfordnlp/stanza/security/advisories/GHSA-v5jw-96jm-7h2c","https://github.com/stanfordnlp/stanza/pull/1587","https://github.com/stanfordnlp/stanza/commit/b745008c68c9e50ccb5acd537cb6f2453f8b7ad4","https://github.com/stanfordnlp/stanza/releases/tag/v1.12.2"],"weaknesses":["CWE-502","CWE-676"],"ingestedAt":"2026-10-29T20:12:24.861Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/54xxx/CVE-2026-54499.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-54499","state":"PUBLISHED","datePublished":"2026-07-08T22:23:02.664Z","dateUpdated":"2026-07-09T13:13:28.368Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-06-15T18:01:15.511Z"},"containers":{"cna":{"title":"Stanza: Remote Code Execution via Unsafe Pickle Deserialization in Model Loaders","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"stanfordnlp","product":"stanza","versions":[{"version":"< 1.12.2","status":"affected"}]}],"references":[{"url":"https://github.com/stanfordnlp/stanza/security/advisories/GHSA-v5jw-96jm-7h2c","name":"https://github.com/stanfordnlp/stanza/security/advisories/GHSA-v5jw-96jm-7h2c","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/stanfordnlp/stanza/pull/1587","name":"https://github.com/stanfordnlp/stanza/pull/1587","tags":["x_refsource_MISC"]},{"url":"https://github.com/stanfordnlp/stanza/commit/b745008c68c9e50ccb5acd537cb6f2453f8b7ad4","name":"https://github.com/stanfordnlp/stanza/commit/b745008c68c9e50ccb5acd537cb6f2453f8b7ad4","tags":["x_refsource_MISC"]},{"url":"https://github.com/stanfordnlp/stanza/releases/tag/v1.12.2","name":"https://github.com/stanfordnlp/stanza/releases/tag/v1.12.2","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-502","lang":"en","description":"CWE-502: Deserialization of Untrusted Data","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-676","lang":"en","description":"CWE-676: Use of Potentially Dangerous Function","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-07-08T22:23:02.664Z"},"source":{"advisory":"GHSA-v5jw-96jm-7h2c","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/stanfordnlp/stanza/security/advisories/GHSA-v5jw-96jm-7h2c","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-09T13:13:21.918884Z","id":"CVE-2026-54499","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-09T13:13:28.368Z"}}]}}}