LIVE · cybersecurity feed
Live wire
cve recordhigh

CVE-2026-4372

huggingface · transformers

Published
CVSS7.8
Severityhigh
WeaknessCWE-1066
ExploitedNot in CISA KEV

CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Description

A critical remote code execution vulnerability exists in all versions of the HuggingFace transformers library prior to version 5.3.0. The vulnerability allows an attacker to craft a malicious `config.json` file containing the `_attn_implementation_internal` field set to an attacker-controlled HuggingFace Hub repository ID. When a victim loads this model using the standard `AutoModelForCausalLM.from_pretrained()` API, the library downloads and executes arbitrary Python code from the attacker's repository with the victim's full OS privileges. This issue arises due to unfiltered deserialization of configuration attributes, insufficient sanitization of internal fields, and unsandboxed execution

References

← Back to the CVE Tracker

Our coverage of CVE-2026-4372

No stories yet. This page updates automatically when we publish reporting that references CVE-2026-4372.