CVE-2025-54886 Details
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.
A vulnerability allowing arbitrary code execution has been identified in the Skops library, specifically in versions prior to 0.13.0. The issue arises in the Card.get_model function, which facilitates loading scikit-learn models. When models are loaded from non-.zip file formats, the function defaults to using Joblib, a library that permits arbitrary code execution, without any warning. This behavior bypasses Skops' security measures, which are designed to prevent such risks. The vulnerability can be exploited by crafting a malicious model file that, when loaded, executes code on the user's machine. This issue has been addressed in Skops version 0.13.0.
Users can upgrade to Skops version 0.13.0 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Aug 8, 2025CISA-ADP
Assessed Aug 8, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/skops-dev/skops/commit/29d61ea8a92f2bde6830e8f32cc72a1a87211cda | [email protected] | Source CodeVendor |
| https://github.com/skops-dev/skops/security/advisories/GHSA-378x-6p4f-8jgm | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-502 | Deserialization of Untrusted Data | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| skops | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Aug 8, 2025 | New CVE Received | [email protected] |
Volerion