Skip to content
Heist/ feed
Back to feed
High

Hugging Face Transformers Trax Model Deserialization of Untrusted Data Remote Code Execution Vulnerability

Type: advisorySources: OSV

Hugging Face Transformers Trax Model Deserialization of Untrusted Data Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Hugging Face Transformers. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specific flaw exists within the handling of model files. The issue results from the lack of proper validation of user-supplied data, which can result in deserialization of untrusted data. An attacker can leverage this vulnerability to execute code in the context of the current user. Was ZDI-CAN-25012.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-11394
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 16:59 UTC · Revision 1

Source evidence

Hugging Face Transformers Trax Model Deserialization of Untrusted Data Remote Code Execution Vulnerability

core-osv · Original source

Published 22 Nov 2024, 21:23 UTC

Hugging Face Transformers Trax Model Deserialization of Untrusted Data Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Hugging Face Transformers. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specific flaw exists within the handling of model files. The issue results from the lack of proper validation of user-supplied data, which can result in deserialization of untrusted data. An attacker can leverage this vulnerability to execute code in the context of the current user. Was ZDI-CAN-25012.

osv:CVE-2024-11394
Complete source record
{
  "id": "69c3e53acb0713439a633e32fe98dff182fa2fcc1879c14ecea92a30741a3efa",
  "url": "https://osv.dev/vulnerability/CVE-2024-11394",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Hugging Face Transformers Trax Model Deserialization of Untrusted Data Remote Code Execution Vulnerability",
    "summary": "Hugging Face Transformers Trax Model Deserialization of Untrusted Data Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Hugging Face Transformers. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specific flaw exists within the handling of model files. The issue results from the lack of proper validation of user-supplied data, which can result in deserialization of untrusted data. An attacker can leverage this vulnerability to execute code in the context of the current user. Was ZDI-CAN-25012.",
    "evidence": "osv:CVE-2024-11394",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2024-11394",
      "aliases": [
        "CVE-2024-11394",
        "GHSA-hxxf-235m-72v3",
        "PYSEC-2024-229"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/huggingface/transformers",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "6bc0fbcfa7acb6ac4937e7456a76c2f7975fefec"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:huggingface:transformers:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "4.48.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v4.33.1",
            "v4.16.0",
            "v4.15.0",
            "v4.14.0",
            "v4.13.0",
            "v4.12.0",
            "v4.11.0",
            "v4.10.0",
            "v4.9.0",
            "v4.8.0",
            "v4.7.0",
            "v4.6.0",
            "v4.5.0",
            "v4.4.0",
            "v4.3.0.rc1",
            "4.3.0.rc1",
            "v4.2.0",
            "v4.1.1",
            "v4.1.0",
            "v3.5.0",
            "v3.4.0",
            "v3.3.1",
            "v3.3.0",
            "v3.2.0",
            "v3.1.0",
            "v3.0.2",
            "v3.0.1",
            "3.0.1",
            "v3.0.0",
            "v2.11.0",
            "v2.10.0",
            "v2.9.1",
            "v2.9.0",
            "v2.8.0",
            "v2.7.0",
            "v2.6.0",
            "v2.5.1",
            "v2.5.0",
            "v2.4.1",
            "v2.4.0",
            "v2.3.0",
            "v2.2.2",
            "v2.2.1",
            "v2.2.0",
            "v2.1.1",
            "v2.1.0",
            "v2.0.0",
            "1.2.0",
            "1.1.0",
            "1.0",
            "v0.6.2",
            "v0.6.1",
            "v0.6.0",
            "v0.5.1",
            "v0.5.0",
            "0.5.0",
            "v0.4.0",
            "v0.3.0",
            "v0.2.0",
            "v0.1.2",
            "0.1.2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-11394.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:44.502313517Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/11xxx/CVE-2024-11394.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-11394",
        "https://www.zerodayinitiative.com/advisories/ZDI-24-1515/"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-502"
        ],
        "cna_assigner": "zdi",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "026a173a64372e9602a16523b8fae9de4b0ff428"
                  },
                  {
                    "last_affected": "026a173a64372e9602a16523b8fae9de4b0ff428"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/11xxx/CVE-2024-11394.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-11394",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 512488,
  "published_at": "2024-11-22T21:23:49.302+00:00"
}