Vulnerability · Published Jul 26, 2025 · Assigned by GitHub_M
CVE-2025-54413skops' MethodNode can access unexpected object fields through dot notation, leading to arbitrary code execution at load time
High 8.7
In plain English
A high-severity security flaw in skops from skops-dev. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 5% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | skops | 0.12.0 | GHSA-4v6w-xpmh-gfgp |
| PyPI | skops | 0.12.0 | PYSEC-2026-1926 |
Affected products (as reported)
Weakness: CWE-351 · Vector: 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
References
- https://github.com/skops-dev/skops/security/advisories/GHSA-4v6w-xpmh-gfgp x_refsource_CONFIRM
- https://github.com/skops-dev/skops/security/advisories/GHSA-m7f4-hrc6-fwg3 x_refsource_MISC
- https://github.com/skops-dev/skops/commit/0aeca055509dfb48c1506870aabdd9e247adf603 x_refsource_MISC
- https://drive.google.com/drive/folders/1bmVV18mnPbWy21hVYgf51yVJpf78vtB_?usp=sharing x_refsource_MISC
- https://github.com/skops-dev/skops/releases/tag/v0.12.0 x_refsource_MISC