skops' Inconsistent Trusted Type Validation Enables Hidden `operator` Methods Execution
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Active
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub.
Summary
skops is a Python library which helps users share and ship their scikit-learn based models. Versions 0.11.0 and below contain a inconsistency in the OperatorFuncNode which can be exploited to hide the execution of untrusted operator methods. This can then be used in a code reuse attack to invoke seemingly safe functions and escalate to arbitrary code execution with minimal and misleading trusted types. This is fixed in version 0.12.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.12.0 | 0.12.0 | Patch available | CNA |
| — | skops (PyPI) | before 0.12.0 | 0.12.0 | Patch available | GHSA-m7f4-hrc6-fwg3 |
- skops Vendorskops-dev Affected before 0.12.0 Fixed in 0.12.0 Patch available CNA
- skops (PyPI) Vendor— Affected before 0.12.0 Fixed in 0.12.0 Patch available GHSA-m7f4-hrc6-fwg3
Remediation
- Fix · CNA skops (skops-dev) Fixed in 0.12.0
- Fix · GHSA-m7f4-hrc6-fwg3 skops (PyPI) Fixed in 0.12.0 Advisory →
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2025-54412
- 2026-10-03 Alias added: GHSA-m7f4-hrc6-fwg3
References
Other 6
- https://github.com/skops-dev/skops/security/advisories/GHSA-m7f4-hrc6-fwg3
- https://github.com/skops-dev/skops/commit/0aeca055509dfb48c1506870aabdd9e247adf603
- https://github.com/skops-dev/skops/releases/tag/v0.12.0
- https://drive.google.com/file/d/1c2KrjayE_S1siaou0vDmGK7_MQ7_YCUZ/view?usp=sharing
- https://github.com/io-no/CVE-Reports/tree/main/CVE-2025-54412
- https://github.com/skops-dev/skops
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-34620 skops: Card.get_model does not block arbitrary code execution CVSS 3.1HIGH 8.4
- TI-2024-24603 Deserialization of untrusted data in skops-dev Skops CVSS 3.1HIGH 7.8
Sources
- CVE-2025-54412 · CVE Program
- CVE-2025-54412 · NVD
- FIRST EPSS
- GHSA-m7f4-hrc6-fwg3 · GitHub Advisory Database · CC BY 4.0
- CVE-2025-54412 · 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