CVE-2025-54886

HIGH

skops < 0.13.0 - Remote Code Execution via Joblib Fallback in Card.get_model

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 8.4
EPSS 0.0042
EPSS Percentile 62.2%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact total

Details

CWE
CWE-502
Status published
Products (2)
pypi/skops 0 - 0.13.0PyPI
skops-dev/skops < 0.13.0
Published Aug 08, 2025
Tracked Since Feb 18, 2026