Skip to content

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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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