Skip to content

CVE-2025-54886 skops: Card.get_model does not block arbitrary code execution

HighCVSS 8.4 EPSS 0.25% PoC
Published
Updated
Exploit status
Proof-of-concept only
CISA SSVC
Proof of concept public · automatable: no · technical impact: total

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
pypi skops(PyPI) < 0.13.0; = 0.1; = 0.1.dev0; = 0.2 +11 more 0.13.0 Fixed
skops-dev skops = < 0.13.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pypi skops(PyPI) < 0.13.0 0.13.0
pypi skops(PyPI) = 0.1 No fix listed
pypi skops(PyPI) = 0.1.dev0 No fix listed
pypi skops(PyPI) = 0.10.0 No fix listed
pypi skops(PyPI) = 0.11.0 No fix listed
pypi skops(PyPI) = 0.12.0 No fix listed
pypi skops(PyPI) = 0.2 No fix listed
pypi skops(PyPI) = 0.3.0 No fix listed
pypi skops(PyPI) = 0.4.0 No fix listed
pypi skops(PyPI) = 0.5.0 No fix listed
pypi skops(PyPI) = 0.6.0 No fix listed
pypi skops(PyPI) = 0.7.0 No fix listed
pypi skops(PyPI) = 0.7.post0 No fix listed
pypi skops(PyPI) = 0.8.0 No fix listed
pypi skops(PyPI) = 0.9.0 No fix listed
skops-dev skops = < 0.13.0 No fix listed

References