---
id: CVE-2024-11394
aliases:
  - GHSA-hxxf-235m-72v3
  - PYSEC-2024-229
title: Deserialization of Untrusted Data in Hugging Face Transformers
summary: Deserialization of Untrusted Data in Hugging Face Transformers
severity: high
cvss: 8.8
cvssVector: 'CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'
vendor: transformers
product: transformers
ecosystem: pip
affected:
  - transformers < 4.48.0
patched:
  - transformers 4.48.0
published: '2024-11-23'
updated: '2026-09-10'
sourceUpdated: '2026-09-10T03:50:20.811665084Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-hxxf-235m-72v3'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2024-11394'
  - url: 'https://github.com/huggingface/transformers/issues/34840'
  - url: 'https://github.com/huggingface/transformers/pull/35296'
  - url: 'https://github.com/huggingface/transformers'
  - url: >-
      https://github.com/pypa/advisory-database/tree/main/vulns/transformers/PYSEC-2024-229.yaml
  - url: 'https://www.zerodayinitiative.com/advisories/ZDI-24-1515'
tags:
  - osv
  - pip
  - exploit-available
epss: 0.02566
epssPercentile: 0.8451
exploits:
  github: 1
  githubRepos:
    - 'https://github.com/Piyush-Bhor/CVE-2024-11394'
  checkedAt: '2026-09-27T10:33:30.184Z'
exploitAvailable: true
zeroDay: true
ingestedAt: '2026-09-12T03:13:01.703Z'
---

## Overview

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.

## Affected packages

- `transformers < 4.48.0`

## Remediation

Upgrade to a patched release:

- `transformers 4.48.0`
