{"answers":{"affected":"3 open source packages ship an affected version, including stanza. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-54499 exists.","fix":"Upgrade stanza to 1.12.2 or later.","what":"CVE-2026-54499 is a high-severity unsafe deserialization vulnerability in stanfordnlp stanza, published on 8 Jul 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-54499 and fix it if it is affected.\n\nWhat it is: CVE-2026-54499 is a high-severity unsafe deserialization vulnerability in stanfordnlp stanza, published on 8 Jul 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-54499 exists.\n\nAffected packages and fixed versions:\n- stanza (PyPI): affected all versions; fixed in 1.12.2\n- stanza (PyPI): affected all versions; fixed in 1.12.2\n- stanza (PyPI): affected all versions; fixed in 1.12.2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-54499/ (Markdown: https://insights.sbomify.com/CVE-2026-54499/index.md)","id":"CVE-2026-54499","markdown":"https://insights.sbomify.com/CVE-2026-54499/index.md","name":"CVE-2026-54499","record":{"aliases":["GHSA-v5jw-96jm-7h2c","PYSEC-2026-3075"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Python NLP library","requires_auth":"none","summary":"Attackers can execute arbitrary code by providing malicious model files to Stanza NLP pipelines due to unsafe pickle deserialization fallbacks.","user_interaction":"required","vuln_class":"deserialization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"stanza","vendor":"stanford"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-676","name":"Use of Potentially Dangerous Function"},{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"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.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Stanza: Remote Code Execution via Unsafe Pickle Deserialization in Model Loaders","id":"CVE-2026-54499","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"deserialization","year":"2026"},"n_packages":3,"n_references":4,"next":{"headline":"Oj: intern.c form_attr has an uninitialized stack read","id":"CVE-2026-54500"},"packages":[{"ecosystem":"PyPI","fixed":["1.12.2"],"introduced":["0"],"last_affected":[],"package":"stanza","purl":null,"source":"GHSA-v5jw-96jm-7h2c"},{"ecosystem":"PyPI","fixed":["1.12.2"],"introduced":["0"],"last_affected":[],"package":"stanza","purl":"pkg:pypi/stanza","source":"GHSA-v5jw-96jm-7h2c"},{"ecosystem":"PyPI","fixed":["1.12.2"],"introduced":["0"],"last_affected":[],"package":"stanza","purl":"pkg:pypi/stanza","source":"PYSEC-2026-3075"}],"prev":{"headline":"view_component: around_render HTML-Safety Bypass","id":"CVE-2026-54498"},"products":["stanza"],"published":"2026-07-08","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-07-09","vendors":["stanfordnlp"]},"summary":"Attackers can execute arbitrary code by providing malicious model files to Stanza NLP pipelines due to unsafe pickle deserialization fallbacks.","url":"https://insights.sbomify.com/CVE-2026-54499/"}