---
id: CVE-2024-11392
aliases:
  - GHSA-qxrp-vhvm-j765
  - PYSEC-2024-227
title: Deserialization of Untrusted Data in Hugging Face Transformers
summary: Deserialization of Untrusted Data in Hugging Face Transformers
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.0/AV:N/AC:H/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:21.016710762Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-qxrp-vhvm-j765'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2024-11392'
  - 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-227.yaml
  - url: 'https://www.zerodayinitiative.com/advisories/ZDI-24-1513'
tags:
  - osv
  - pip
  - exploit-available
epss: 0.07262
epssPercentile: 0.94125
exploits:
  exploitdb: true
  github: 1
  githubRepos:
    - 'https://github.com/Piyush-Bhor/CVE-2024-11392'
  checkedAt: '2026-09-26T09:05:30.749Z'
exploitAvailable: true
zeroDay: true
ingestedAt: '2026-09-12T03:13:01.723Z'
---

## Overview

Hugging Face Transformers MobileViTV2 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 configuration 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-24322.

## Affected packages

- `transformers < 4.48.0`

## Remediation

Upgrade to a patched release:

- `transformers 4.48.0`
