{"id":"CVE-2025-54412","published":"2025-07-26T03:29:10Z","modified":"2025-07-28T13:55:57Z","title":"skops' Inconsistent Trusted Type Validation Enables Hidden `operator` Methods Execution","vendor":"skops-dev","product":"skops","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00199,"percentile":0.05577,"provenance":"source"},"cwes":[{"id":"CWE-351","name":"Insufficient Type Distinction"}],"references":[{"url":"https://github.com/skops-dev/skops/security/advisories/GHSA-m7f4-hrc6-fwg3","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/skops-dev/skops/commit/0aeca055509dfb48c1506870aabdd9e247adf603","tags":["x_refsource_MISC"]},{"url":"https://github.com/skops-dev/skops/releases/tag/v0.12.0","tags":["x_refsource_MISC"]}],"priority":{"score":7.2,"factors":[{"name":"EPSS percentile","points":1.12},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"skops-dev","affectedVersions":[{"vendor":"skops-dev","product":"skops","versions":["< 0.12.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2025-07-28T13:55:45.240203Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"skops","vulnerableRanges":["<0.12.0"],"patched":["0.12.0"],"from":["GHSA-m7f4-hrc6-fwg3","PYSEC-2026-1927"],"provenance":"source"}],"summary":{"text":"The flaw is an inconsistency in trusted type validation within the OperatorFuncNode component of skops, a Python library for sharing and shipping scikit-learn based models. An attacker who supplies a crafted model file can use this inconsistency to hide the execution of untrusted operator methods, chaining seemingly safe functions to achieve arbitrary code execution; the attack requires a local attack vector, no privileges, and a user to act on the malicious model (user interaction is required).","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:12:47Z"},"euvd":{"id":"EUVD-2025-22763","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-skops-dev-skops-cve-2025-54412","children":[{"from":"CVE-2025-54412","to":"CVE-2025-54413","relation":"related","confidence":"high","kind":"lineage","evidence":[{"kind":"osv-related","provenance":"source","id":"GHSA-m7f4-hrc6-fwg3","via":"related"},{"kind":"osv-related","provenance":"source","id":"GHSA-4v6w-xpmh-gfgp","via":"reference","url":"https://github.com/skops-dev/skops/security/advisories/GHSA-m7f4-hrc6-fwg3"},{"kind":"osv-related","provenance":"source","id":"PYSEC-2026-1926","via":"reference","url":"https://github.com/skops-dev/skops/security/advisories/GHSA-m7f4-hrc6-fwg3"},{"kind":"similar","provenance":"machine","score":0.42,"basis":"same product + CWE + description similarity"}]}]}}