CVE-2025-54413
skops' MethodNode can access unexpected object fields through dot notation, leading to arbitrary code execution at load time
- State
- Published
- Severity
- 8.7 High
- Published
- Jul 26, 2025
- Updated
- Jul 28, 2025
- Reserved
- Jul 21, 2025
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 8.7 High | CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H | GitHub_M |
Weaknesses
- CWE-351 Insufficient Type Distinction
Affected Products
| Product | Versions |
|---|---|
skopsskops-dev |
|
References
- https://github.com/skops-dev/skops/security/advisories/GHSA-4v6w-xpmh-gfgp
- https://github.com/skops-dev/skops/security/advisories/GHSA-m7f4-hrc6-fwg3
- https://github.com/skops-dev/skops/commit/0aeca055509dfb48c1506870aabdd9e247adf603
- https://drive.google.com/drive/folders/1bmVV18mnPbWy21hVYgf51yVJpf78vtB_?usp=sharing
- https://github.com/skops-dev/skops/releases/tag/v0.12.0
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.