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.

Severity (CVSS 4.0)8.7High
Exploit odds (30 days)0.2%top 94.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
PyPIskops0.12.0GHSA-4v6w-xpmh-gfgp
PyPIskops0.12.0PYSEC-2026-1926

Affected products (as reported)

VendorProductVersions
skops-dev skops < 12.0.0

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