Skip to content
Heist/ feed
Back to feed
High

skops' MethodNode can access unexpected object fields through dot notation, leading to arbitrary code execution at load time

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-54413
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 16:48 UTC · Revision 1

Source evidence

skops' MethodNode can access unexpected object fields through dot notation, leading to arbitrary code execution at load time

core-osv · Original source

Published 26 Jul 2025, 03:29 UTC

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.

osv:CVE-2025-54413
Complete source record
{
  "id": "6926a4a5a4f575cbac558b6580ba3ac881b345363a41ec20c86d1bb67011093d",
  "url": "https://osv.dev/vulnerability/CVE-2025-54413",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "skops' MethodNode can access unexpected object fields through dot notation, leading to arbitrary code execution at load time",
    "summary": "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.",
    "evidence": "osv:CVE-2025-54413",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2025-54413",
      "aliases": [
        "CVE-2025-54413",
        "GHSA-4v6w-xpmh-gfgp",
        "PYSEC-2026-1926"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/skops-dev/skops",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0aeca055509dfb48c1506870aabdd9e247adf603"
                },
                {
                  "fixed": "ab61439ba35bef6bb24109966e4ed19f08446f82"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "0.11.0"
                      }
                    ],
                    "source": "DESCRIPTION"
                  },
                  {
                    "range": [
                      {
                        "fixed": "0aeca055509dfb48c1506870aabdd9e247adf603"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "ab61439ba35bef6bb24109966e4ed19f08446f82"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v0.12.0"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v0.8.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-54413.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:30.638589571Z",
      "provider": "osv",
      "references": [
        "https://drive.google.com/drive/folders/1bmVV18mnPbWy21hVYgf51yVJpf78vtB_?usp=sharing",
        "https://github.com/skops-dev/skops/releases/tag/v0.12.0",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/54xxx/CVE-2025-54413.json",
        "https://github.com/skops-dev/skops/security/advisories/GHSA-4v6w-xpmh-gfgp",
        "https://github.com/skops-dev/skops/security/advisories/GHSA-m7f4-hrc6-fwg3",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-54413",
        "https://github.com/skops-dev/skops/commit/0aeca055509dfb48c1506870aabdd9e247adf603"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-351"
        ],
        "cna_assigner": "GitHub_M",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "12.0.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              }
            ]
          },
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "12.0.0"
                  }
                ],
                "source": "DESCRIPTION"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/54xxx/CVE-2025-54413.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-54413",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 497587,
  "published_at": "2025-07-26T03:29:43.716+00:00"
}