Skip to content
OpenAdvisories
High · 8.7 CVE-2025-54412 EUVD-2025-22763GHSA-m7f4-hrc6-fwg3PYSEC-2026-1927

skops' Inconsistent Trusted Type Validation Enables Hidden `operator` Methods Execution

Published Jul 26, 2025 · Updated Jul 28, 2025 · Assigned by 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 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.

Affected products

VendorProductAffectedFixed
skops-dev skops < 0.12.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI skops < 0.12.0 0.12.0 GHSA-m7f4-hrc6-fwg3

References