CVE-2025-54886

skops: Card.get_model does not block arbitrary code execution

Published Aug 8, 2025 CVSS 3.1 · 8.4 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-23967 SKOPS Card.get_model happily allows arbitrary code execution
Github GHSA Github GHSA GHSA-378x-6p4f-8jgm SKOPS Card.get_model happily allows arbitrary code execution
History
Type Values Removed Values Added
First Time appeared Skops Project
Skops Project skops
Vendors & Products Skops Project
Skops Project skops
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title skops: Card.get_model does not block arbitrary code execution
Weaknesses CWE-502
References
Metrics cvssV3_1

{'score': 8.4, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 8, 2025, 4:54 PM
Reserved
Jul 31, 2025, 5:23 PM
Status
Deferred
Published
Aug 8, 2025, 1:15 AM
Modified
Jun 17, 2026, 9:40 AM
Severity
Moderate
Public date
Aug 8, 2025, 12:03 AM