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-11023250
  • published27 Jul 2025
  • disclosed26 Jul 2025
  • creditGabriele Digregorio

Introduced: 26 Jul 2025

NewCVE-2025-54412  (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 inconsistent validation in the OperatorFuncNode class in the io/_audit.py file. An attacker can execute arbitrary code by crafting minimal and misleading trusted types that hide the execution of untrusted operator methods.

CVSS Base Scores

version 4.0
version 3.1