CVE-2025-54413CWE-351

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

High · published July 26, 2025

CVSS v4.0
8.7
EPSS
0%
Percentile
4.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
8.7 · HIGH
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
EPSS
0.00155 · 4.3th percentile
Weakness
CWE-351 · Insufficient Type Distinction
Published
2025-07-26T03:29Z
EPSS history
Timeline
  • 26 JUL 03:29Z
    skops' MethodNode can access unexpected object fields through dot notation, leading to arbitrary code execution at load time
    cvelistv5