CVE-2025-54413 skops' MethodNode can access unexpected object fields through dot notation, leading to arbitrary code execution at load time
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 an inconsistency in MethodNode, which can be exploited to access unexpected object fields through dot notation. This can be used to achieve arbitrary code execution at load time. While this issue may seem similar to GHSA-m7f4-hrc6-fwg3, it is actually more severe, as it relies on fewer assumptions about trusted types. This is fixed in version 12.0.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 | = < 12.0.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 | = < 12.0.0 | No fix listed |
References
- https://github.com/skops-dev/skops/security/advisories/GHSA-4v6w-xpmh-gfgp vendor-advisory
- 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
- https://drive.google.com/drive/folders/1bmVV18mnPbWy21hVYgf51yVJpf78vtB_?usp=sharing
- github.com exploit
- github.com product
- https://github.com/skops-dev/skops/releases/tag/v0.12.0
- pypi.org product
- github.com vendor-advisory