CVE-2025-54886
HIGH 8.4CVSS 3.1SKOPS Card.get_model happily allows arbitrary code execution
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.
- Published
- 8 Aug 2025
- Last modified
- 7 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-502
- Also known as
- GHSA-378x-6p4f-8jgmPYSEC-2026-1925
- Sources
- NVDJSONOSV GHSA-378x-6p4f-8jgmJSONOSV PYSEC-2026-1925JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.4 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.4 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | PyPA | CVSS 3.1 | HIGH 8.4 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | skops | < 0.13.0 | 0.13.0 |
References
- https://github.com/skops-dev/skops/commit/29d61ea8a92f2bde6830e8f32cc72a1a87211cda · WEB
- https://github.com/skops-dev/skops/security/advisories/GHSA-378x-6p4f-8jgm · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-54886 · ADVISORY
- https://github.com/io-no/CVE-Reports/tree/main/CVE-2025-54886 · WEB
- https://github.com/skops-dev/skops · PACKAGE
- https://pypi.org/project/skops · PACKAGE
- https://github.com/advisories/GHSA-378x-6p4f-8jgm · ADVISORY
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 8 Aug 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 7 Aug 2025)