Skip to content

CVE-2025-54412 skops' Inconsistent Trusted Type Validation Enables Hidden `operator` Methods Execution

HighCVSS 8.7 EPSS 0.16% PoC
Published
Updated
Exploit status
Proof-of-concept only
CISA SSVC
Proof of concept public · automatable: no · technical impact: total

Description

skops is a Python library which helps users share and ship their scikit-learn based models. Versions 0.11.0 and below contain a inconsistency in the OperatorFuncNode which can be exploited to hide the execution of untrusted operator methods. This can then be used in a code reuse attack to invoke seemingly safe functions and escalate to arbitrary code execution with minimal and misleading trusted types. This is fixed in version 0.12.0.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
pypi skops(PyPI) < 0.12.0; = 0.1; = 0.1.dev0; = 0.2 +10 more 0.12.0 Fixed
skops-dev skops = < 0.12.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pypi skops(PyPI) < 0.12.0 0.12.0
pypi skops(PyPI) = 0.1 No fix listed
pypi skops(PyPI) = 0.1.dev0 No fix listed
pypi skops(PyPI) = 0.10.0 No fix listed
pypi skops(PyPI) = 0.11.0 No fix listed
pypi skops(PyPI) = 0.2 No fix listed
pypi skops(PyPI) = 0.3.0 No fix listed
pypi skops(PyPI) = 0.4.0 No fix listed
pypi skops(PyPI) = 0.5.0 No fix listed
pypi skops(PyPI) = 0.6.0 No fix listed
pypi skops(PyPI) = 0.7.0 No fix listed
pypi skops(PyPI) = 0.7.post0 No fix listed
pypi skops(PyPI) = 0.8.0 No fix listed
pypi skops(PyPI) = 0.9.0 No fix listed
skops-dev skops = < 0.12.0 No fix listed

References