CVE-2025-54886

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-54886
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-54886.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-54886
Aliases
Published
2025-08-08T01:15:25Z
Modified
2025-08-08T22:51:42.742682Z
Summary
[none]
Details

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.getmodel does not contain any logic to prevent arbitrary code execution. The Card.getmodel 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

Affected packages

Git / github.com/skops-dev/skops

Affected ranges

Type
GIT
Repo
https://github.com/skops-dev/skops
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v0.*

v0.8.0