CVE-2025-54886
skops is a Python library which helps users share and ship their …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/skops-dev/skops/commit/29d61ea8a92f2bde6830e8f32cc72a1a87211cda
- github.com/skops-dev/skops/security/advisories/GHSA-378x-6p4f-8jgm
- nvd.nist.gov/vuln/detail/CVE-2025-54886
- github.com/io-no/CVE-Reports/tree/main/CVE-2025-54886
- github.com/advisories/GHSA-378x-6p4f-8jgm
- nvd.nist.gov/vuln/detail/CVE-2025-54886
- cve.org/CVERecord?id=CVE-2025-54886
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.