{"answers":{"affected":"3 open source packages ship an affected version, including skops.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-54413 exists.","fix":"Upgrade skops to 0.12.0 or later.","what":"CVE-2025-54413 is a high-severity unsafe deserialization vulnerability in skops-dev skops, published on 26 Jul 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2025-54413 and fix it if it is affected.\n\nWhat it is: CVE-2025-54413 is a high-severity unsafe deserialization vulnerability in skops-dev skops, published on 26 Jul 2025. It can only be exploited from the same machine or local network, 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-2025-54413 exists.\n\nAffected packages and fixed versions:\n- skops (PyPI): affected all versions; fixed in 0.12.0\n- skops (PyPI): affected all versions; fixed in 0.12.0\n- skops (PyPI): affected all versions; fixed in 0.12.0\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-2025-54413/ (Markdown: https://insights.sbomify.com/CVE-2025-54413/index.md)","id":"CVE-2025-54413","markdown":"https://insights.sbomify.com/CVE-2025-54413/index.md","name":"CVE-2025-54413","record":{"aliases":["GHSA-4v6w-xpmh-gfgp","PYSEC-2026-1926"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Python ML library","requires_auth":"none","summary":"Attackers can achieve arbitrary code execution when loading malicious models due to unsafe dot notation access in skops.","user_interaction":"required","vuln_class":"deserialization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":8.7,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","version":"4.0"},"cwes":[{"id":"CWE-351","name":"Insufficient Type Distinction"}],"description":"skops is a Python library which helps users share and ship their scikit-learn based models. Versions 0.11.0 and below contain an inconsistency in MethodNode, which can be exploited to access unexpected object fields through dot notation. This can be used to achieve arbitrary code execution at load time. While this issue may seem similar to GHSA-m7f4-hrc6-fwg3, it is actually more severe, as it relies on fewer assumptions about trusted types. This is fixed in version 12.0.0.","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":"Skops may allow MethodNode to access unexpected object fields through dot notation, leading to arbitrary code execution at load time","id":"CVE-2025-54413","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"deserialization","year":"2025"},"n_packages":3,"n_references":5,"next":{"headline":"Anubis accepts crafted redirect URLs in pass-challenge 'Try Again' buttons","id":"CVE-2025-54414"},"packages":[{"ecosystem":"PyPI","fixed":["0.12.0"],"introduced":["0"],"last_affected":[],"package":"skops","purl":null,"source":"GHSA-4v6w-xpmh-gfgp"},{"ecosystem":"PyPI","fixed":["0.12.0"],"introduced":["0"],"last_affected":[],"package":"skops","purl":"pkg:pypi/skops","source":"GHSA-4v6w-xpmh-gfgp"},{"ecosystem":"PyPI","fixed":["0.12.0"],"introduced":["0"],"last_affected":[],"package":"skops","purl":"pkg:pypi/skops","source":"PYSEC-2026-1926"}],"prev":{"headline":"skops' Inconsistent Trusted Type Validation Enables Hidden `operator` Methods Execution","id":"CVE-2025-54412"},"products":["skops"],"published":"2025-07-26","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":"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":"2025-07-28","vendors":["skops-dev"]},"summary":"Attackers can achieve arbitrary code execution when loading malicious models due to unsafe dot notation access in skops.","url":"https://insights.sbomify.com/CVE-2025-54413/"}