{"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-54886 exists.","fix":"Upgrade skops to 0.13.0 or later.","what":"CVE-2025-54886 is a high-severity unsafe deserialization vulnerability in skops-dev skops, published on 8 Aug 2025. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-54886 and fix it if it is affected.\n\nWhat it is: CVE-2025-54886 is a high-severity unsafe deserialization vulnerability in skops-dev skops, published on 8 Aug 2025. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-54886 exists.\n\nAffected packages and fixed versions:\n- skops (PyPI): affected all versions; fixed in 0.13.0\n- skops (PyPI): affected all versions; fixed in 0.13.0\n- skops (PyPI): affected all versions; fixed in 0.13.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-54886/ (Markdown: https://insights.sbomify.com/CVE-2025-54886/index.md)","id":"CVE-2025-54886","markdown":"https://insights.sbomify.com/CVE-2025-54886/index.md","name":"CVE-2025-54886","record":{"aliases":["GHSA-378x-6p4f-8jgm","PYSEC-2026-1925"],"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 execute arbitrary code by providing non-zip model files, as the library silently falls back to unsafe joblib loading instead of secure skops validation.","user_interaction":"not_required","vuln_class":"deserialization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":8.4,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"description":"skops is a Python library which helps users share and ship their scikit-learn based models. In versions 0.12.0 and below, the Card.get_model does not contain any logic to prevent arbitrary code execution. The Card.get_model function supports both joblib and skops for model loading. When loading .skops models, it uses skops' secure loading with trusted type validation, raising errors for untrusted types unless explicitly allowed. However, when non-.zip file formats are provided, the function silently falls back to joblib without warning. Unlike skops, joblib allows arbitrary code execution during loading, bypassing security measures and potentially enabling malicious code execution. This issue is fixed in version 0.13.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: Card.get_model does not block arbitrary code execution","id":"CVE-2025-54886","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"deserialization","year":"2025"},"n_packages":3,"n_references":2,"next":{"headline":"jwe: Missing AES-GCM authentication tag validation in encrypted JWEs","id":"CVE-2025-54887"},"packages":[{"ecosystem":"PyPI","fixed":["0.13.0"],"introduced":["0"],"last_affected":[],"package":"skops","purl":null,"source":"GHSA-378x-6p4f-8jgm"},{"ecosystem":"PyPI","fixed":["0.13.0"],"introduced":["0"],"last_affected":[],"package":"skops","purl":"pkg:pypi/skops","source":"GHSA-378x-6p4f-8jgm"},{"ecosystem":"PyPI","fixed":["0.13.0"],"introduced":["0"],"last_affected":[],"package":"skops","purl":"pkg:pypi/skops","source":"PYSEC-2026-1925"}],"prev":{"headline":"Thinbus generates insufficient entropy: 252 bits vs minimum 256 bits","id":"CVE-2025-54885"},"products":["skops"],"published":"2025-08-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":"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-08-08","vendors":["skops-dev"]},"summary":"Attackers can execute arbitrary code by providing non-zip model files, as the library silently falls back to unsafe joblib loading instead of secure skops validation.","url":"https://insights.sbomify.com/CVE-2025-54886/"}