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

- Severity: High 8.7 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2025-07-25T19:17:34.000Z
- Modified: 2026-07-07T17:56:54.356Z
- Also known as: GHSA-m7f4-hrc6-fwg3, PYSEC-2026-1927
- Related: CVE-2025-54413
- Weaknesses: CWE-351
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- 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.

(As written by CVE List.)

## Affected

- skops-dev skops: < 0.12.0
- skops (PyPI): before 0.12.0

## Every score

- GitHub_M: CVSS:4.0 8.7 High `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`
- GitHub: CVSS:4.0 High `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`
- PyPA Advisory Database: CVSS:4.0 `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`

## References

- <https://github.com/skops-dev/skops/security/advisories/GHSA-m7f4-hrc6-fwg3> (web)
- <https://github.com/skops-dev/skops/commit/0aeca055509dfb48c1506870aabdd9e247adf603> (web)
- <https://github.com/skops-dev/skops/releases/tag/v0.12.0> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-54412> (advisory)
- <https://drive.google.com/file/d/1c2KrjayE_S1siaou0vDmGK7_MQ7_YCUZ/view?usp=sharing> (web)
- <https://github.com/io-no/CVE-Reports/tree/main/CVE-2025-54412> (web)
- <https://github.com/skops-dev/skops> (package)
- <https://pypi.org/project/skops> (package)
- <https://github.com/advisories/GHSA-m7f4-hrc6-fwg3> (advisory)

## Sources

- CVE List: [CVE-2025-54412](https://www.cve.org/CVERecord?id=CVE-2025-54412), CVE Terms of Use, modified 2025-07-28
- GitHub Advisory Database: [GHSA-m7f4-hrc6-fwg3](https://github.com/advisories/GHSA-m7f4-hrc6-fwg3), CC-BY-4.0, modified 2026-07-07
- NVD: [CVE-2025-54412](https://nvd.nist.gov/vuln/detail/CVE-2025-54412), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1927](https://osv.dev/vulnerability/PYSEC-2026-1927), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2025-54412 · Whole record: https://cve.day/CVE-2025-54412.json · Rebuilt by cve.day 2026-11-25T22:59:01.754Z
