{"id":"CVE-2025-54412","state":"PUBLISHED","title":"skops' Inconsistent Trusted Type Validation Enables Hidden `operator` Methods Execution","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.","publishedAt":"2025-07-26T03:29:10.918Z","updatedAt":"2025-07-28T13:55:57.057Z","severity":{"score":8.7,"label":"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","source":"GitHub_M"},"assigner":"GitHub_M","products":["skops-dev skops"],"affected":[{"vendor":"skops-dev","product":"skops","versions":[{"version":"< 0.12.0","status":"affected"}]}],"references":["https://github.com/skops-dev/skops/security/advisories/GHSA-m7f4-hrc6-fwg3","https://github.com/skops-dev/skops/commit/0aeca055509dfb48c1506870aabdd9e247adf603","https://github.com/skops-dev/skops/releases/tag/v0.12.0"],"weaknesses":["CWE-351"],"ingestedAt":"2026-10-29T20:09:31.862Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/54xxx/CVE-2025-54412.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-54412","state":"PUBLISHED","datePublished":"2025-07-26T03:29:10.918Z","dateUpdated":"2025-07-28T13:55:57.057Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2025-07-21T23:18:10.280Z"},"containers":{"cna":{"title":"skops' Inconsistent Trusted Type Validation Enables Hidden `operator` Methods Execution","descriptions":[{"lang":"en","value":"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":[{"vendor":"skops-dev","product":"skops","versions":[{"version":"< 0.12.0","status":"affected"}]}],"references":[{"url":"https://github.com/skops-dev/skops/security/advisories/GHSA-m7f4-hrc6-fwg3","name":"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","name":"https://github.com/skops-dev/skops/commit/0aeca055509dfb48c1506870aabdd9e247adf603","tags":["x_refsource_MISC"]},{"url":"https://github.com/skops-dev/skops/releases/tag/v0.12.0","name":"https://github.com/skops-dev/skops/releases/tag/v0.12.0","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"ACTIVE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"HIGH","subIntegrityImpact":"HIGH","subAvailabilityImpact":"HIGH","baseScore":8.7,"baseSeverity":"HIGH","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-351","lang":"en","description":"CWE-351: Insufficient Type Distinction","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2025-07-26T03:29:10.918Z"},"source":{"advisory":"GHSA-m7f4-hrc6-fwg3","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-07-28T13:55:45.240203Z","id":"CVE-2025-54412","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-07-28T13:55:57.057Z"}}]}}}