Skip to main content
← All vulnerabilities
CVE-2025-54886PYSEC-2026-1925GHSA-378X-6P4F-8JGM

skops: Card.get_model does not block arbitrary code execution

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.13.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • skops-dev skops

    fixed in 0.13.0

  • skopsPyPI

    fixed in 0.13.0

References 2

GitHub · skops-dev/skops