Arbitrary Code Execution Vulnerability in skops Python Library by skops-dev
CVE-2025-54886
8.4HIGH
What is CVE-2025-54886?
The skops Python library, utilized for sharing and shipping scikit-learn based models, has a security flaw in versions 0.12.0 and earlier. The Card.get_model function lacks sufficient checks to prevent arbitrary code execution when handling model files. Specifically, although skops employs secure loading methods for verified types, it defaults to joblib for non-.zip files without any notification to users. This transition to joblib circumvents established security protocols, allowing potentially harmful code to be executed during the loading process. The vulnerability has been addressed in version 0.13.0, which reinforces model loading security.
Affected Version(s)
skops < 0.13.0