CVE-2025-54412 skops' Inconsistent Trusted Type Validation Enables Hidden `operator` Methods Execution
HighCVSS 8.7
EPSS 0.16%
PoC
- Published
- Updated
- Exploit status
- Proof-of-concept only
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
Description
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| pypi skops(PyPI) | < 0.12.0; = 0.1; = 0.1.dev0; = 0.2 +10 more | 0.12.0 | Fixed |
| skops-dev skops | = < 0.12.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi skops(PyPI) | < 0.12.0 | 0.12.0 |
| pypi skops(PyPI) | = 0.1 | No fix listed |
| pypi skops(PyPI) | = 0.1.dev0 | No fix listed |
| pypi skops(PyPI) | = 0.10.0 | No fix listed |
| pypi skops(PyPI) | = 0.11.0 | No fix listed |
| pypi skops(PyPI) | = 0.2 | No fix listed |
| pypi skops(PyPI) | = 0.3.0 | No fix listed |
| pypi skops(PyPI) | = 0.4.0 | No fix listed |
| pypi skops(PyPI) | = 0.5.0 | No fix listed |
| pypi skops(PyPI) | = 0.6.0 | No fix listed |
| pypi skops(PyPI) | = 0.7.0 | No fix listed |
| pypi skops(PyPI) | = 0.7.post0 | No fix listed |
| pypi skops(PyPI) | = 0.8.0 | No fix listed |
| pypi skops(PyPI) | = 0.9.0 | No fix listed |
| skops-dev skops | = < 0.12.0 | No fix listed |
References
- https://github.com/skops-dev/skops/security/advisories/GHSA-m7f4-hrc6-fwg3 vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/skops-dev/skops/commit/0aeca055509dfb48c1506870aabdd9e247adf603 patch
- drive.google.com
- github.com exploit
- github.com product
- https://github.com/skops-dev/skops/releases/tag/v0.12.0
- pypi.org product
- github.com vendor-advisory