CVE-2025-54412

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

State
Published
Severity
8.7 High
Published
Jul 26, 2025
Updated
Jul 28, 2025
Reserved
Jul 21, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.08.7 HighCVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:HGitHub_M

Weaknesses

  • CWE-351 Insufficient Type Distinction

Affected Products

ProductVersions
skopsskops-dev
  • < 0.12.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.