Insufficient Type Distinction Affecting skops package, versions [,0.12.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.01% (1st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-SKOPS-11023249
  • published27 Jul 2025
  • disclosed26 Jul 2025
  • creditGabriele Digregorio

Introduced: 26 Jul 2025

NewCVE-2025-54413  (opens in a new tab)
CWE-351  (opens in a new tab)

How to fix?

Upgrade skops to version 0.12.0 or higher.

Overview

skops is an A set of tools to push scikit-learn based models to and pull from Hugging Face Hub

Affected versions of this package are vulnerable to Insufficient Type Distinction via the MethodNode class in the io/_audit.py file, which allows access to attributes of existing objects. An attacker can execute arbitrary code by accessing unexpected object fields through dot notation at load time.

CVSS Base Scores

version 4.0
version 3.1