CVE-2025-54886CWE-502

skops: Card.get_model does not block arbitrary code execution

High · published August 8, 2025

CVSS v3.1
8.4
EPSS
0%
Percentile
11.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.4 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00218 · 11.6th percentile
Weakness
CWE-502 · Deserialization of Untrusted Data
Published
2025-08-08T00:03Z
EPSS history
Timeline
  • 08 AUG 00:03Z
    skops: Card.get_model does not block arbitrary code execution
    cvelistv5