LIVE · cybersecurity feed
Live wire
cve recordhigh

CVE-2026-80047

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

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

Description

A vulnerability in Hugging Face Transformers (versions >= 4.49.0 and <= 5.8.1) allows remote Python files to be written to local disk without user consent when using GenerativePreTrainedModel.load_custom_generate(). The function fetches and caches a remote module file before performing the required trust_remote_code consent check, inverting the security model enforced by other code-loading paths (such as AutoConfig, AutoModel, and AutoTokenizer). As a result, attacker‑controlled Python code from custom_generate/generate.py is copied into the user’s ~/.cache/huggingface/modules directory even if the user declines the trust prompt. Although execution is correctly gated, the file write is not r

References

← Back to the CVE Tracker

Our coverage of CVE-2026-80047

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