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

CVE Details

Basic Information

Title skops’ MethodNode can access unexpected object fields through dot notation, leading to arbitrary code execution at load time
Type cve
Published 2025-07-26T03:29:43.716Z
Modified 2025-07-26T03:29:43.716Z

Product Information

Vendor skops-dev
Product skops
Version < 12.0.0

CVSS Information

Base Score 8.7 (HIGH)
Attack 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

Affected Products

  • skops-dev skops < 12.0.0

Additional Information

CWE List CWE-351
Source GitHub_M

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.

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.