Arbitrary Code Execution Vulnerability in skops Python Library by skops-dev
CVE-2025-54886

8.4HIGH

Key Information:

Vendor

Skops-dev

Status
Vendor
CVE Published:
8 August 2025

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

References

CVSS V3.1

Score:
8.4
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Local
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.
CVE-2025-54886 : Arbitrary Code Execution Vulnerability in skops Python Library by skops-dev