skops: Card.get_model does not block arbitrary code execution
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-502.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| skops-dev | skops | before 0.13.0 | 0.13.0 | Patch available | CNA |
| — | skops (PyPI) | before 0.13.0 | 0.13.0 | Patch available | GHSA-378x-6p4f-8jgm |
- skops Vendorskops-dev Affected before 0.13.0 Fixed in 0.13.0 Patch available CNA
- skops (PyPI) Vendor— Affected before 0.13.0 Fixed in 0.13.0 Patch available GHSA-378x-6p4f-8jgm
Remediation
- Fix · CNA skops (skops-dev) Fixed in 0.13.0
- Fix · GHSA-378x-6p4f-8jgm skops (PyPI) Fixed in 0.13.0 Advisory →
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2025-54886
- 2026-10-03 Alias added: GHSA-378x-6p4f-8jgm
References
More skops-dev vulnerabilities
- TI-2025-34219 skops' MethodNode can access unexpected object fields through dot notation, leading to… CVSS 4.0HIGH 8.7
- TI-2025-34218 skops' Inconsistent Trusted Type Validation Enables Hidden `operator` Methods Execution CVSS 4.0HIGH 8.7
- TI-2024-24603 Deserialization of untrusted data in skops-dev Skops CVSS 3.1HIGH 7.8
Sources
- CVE-2025-54886 · CVE Program
- CVE-2025-54886 · NVD
- FIRST EPSS
- GHSA-378x-6p4f-8jgm · GitHub Advisory Database · CC BY 4.0
- CVE-2025-54886 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences