# CVE-2025-54413: skops' MethodNode can access unexpected object fields through dot notation, leading to arbitrary code execution at load time

- 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:21:31.000Z
- Modified: 2026-07-07T17:56:24.374Z
- Also known as: GHSA-4v6w-xpmh-gfgp, PYSEC-2026-1926
- 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 an inconsistency in MethodNode, which can be exploited to access unexpected object fields through dot notation. This can be used to achieve arbitrary code execution at load time. While this issue may seem similar to GHSA-m7f4-hrc6-fwg3, it is actually more severe, as it relies on fewer assumptions about trusted types. This is fixed in version 12.0.0.

(As written by CVE List.)

## Affected

- skops-dev skops: < 12.0.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-4v6w-xpmh-gfgp> (web)
- <https://github.com/skops-dev/skops/security/advisories/GHSA-m7f4-hrc6-fwg3> (web)
- <https://github.com/skops-dev/skops/commit/0aeca055509dfb48c1506870aabdd9e247adf603> (web)
- <https://drive.google.com/drive/folders/1bmVV18mnPbWy21hVYgf51yVJpf78vtB_?usp=sharing> (web)
- <https://github.com/skops-dev/skops/releases/tag/v0.12.0> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-54413> (advisory)
- <https://github.com/io-no/CVE-Reports/tree/main/CVE-2025-54413> (web)
- <https://github.com/skops-dev/skops> (package)
- <https://pypi.org/project/skops> (package)
- <https://github.com/advisories/GHSA-4v6w-xpmh-gfgp> (advisory)

## Sources

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

---

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