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.
References
Configurations
No configuration.
History
08 Aug 2025, 20:30
Type | Values Removed | Values Added |
---|---|---|
Summary |
|
08 Aug 2025, 01:15
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2025-08-08 01:15
Updated : 2025-08-08 20:30
NVD link : CVE-2025-54886
Mitre link : CVE-2025-54886
CVE.ORG link : CVE-2025-54886
JSON object : View
Products Affected
No product.
CWE
CWE-502
Deserialization of Untrusted Data