CVE-2025-54413

skops' MethodNode can access unexpected object fields through dot notation, leading to arbitrary code execution at load time

Published Jul 26, 2025 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-22762 Skops may allow MethodNode to access unexpected object fields through dot notation, leading to arbitrary code execution at load time
Github GHSA Github GHSA GHSA-4v6w-xpmh-gfgp Skops may allow MethodNode to access unexpected object fields through dot notation, leading to arbitrary code execution at load time
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title skops' MethodNode can access unexpected object fields through dot notation, leading to arbitrary code execution at load time
Weaknesses CWE-351
References
Metrics cvssV4_0

{'score': 8.7, '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'}

Subscriptions

No data.

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jul 28, 2025, 1:59 PM
Reserved
Jul 21, 2025, 11:18 PM
Status
Deferred
Published
Jul 26, 2025, 4:16 AM
Modified
Jun 17, 2026, 9:40 AM