Skip to content
NewA calmer, faster ZeroHour

VU#456290: Hugging Face Transformers library writes remote code to disk prior to consent check

CERT/CC Vulnerability Notes ()2 · 1 read
AI summary · glm-5.3-flashSummaries by Vani AI

CVE-2026-80047: Hugging Face Transformers 4.49.0 through 5.8.1 writes attacker-controlled Python files to disk before the trust_remote_code consent check.

CERT/CC vulnerability note VU#456290 describes CVE-2026-80047 in the Hugging Face Transformers library, affecting versions 4.49.0 through 5.8.1. The library performs a remote module fetch and writes attacker-controlled Python files to the local disk before evaluating the trust_remote_code consent prompt, without user authorization. This violates the security contract enforced across other dynamic module-loading paths in the library. Transformers is a primary framework for training and inference across NLP, vision, audio, video, and multimodal machine learning systems.

Key facts
  • Affects Hugging Face Transformers versions 4.49.0 through 5.8.1
  • Remote module fetch and local cache write occur before trust_remote_code consent
  • Tracked by CERT/CC as VU#456290 and CVE-2026-80047
  • Impact is unauthorized local file writes rather than immediate code execution
Analyze this story with Vani AIImpact, who is affected and what defenders should do, in a new chat

From the original article

Overview A vulnerability in the Hugging Face Transformers library (versions 4. 49. 0 through 5.

CERT/CC Vulnerability Notes

kb.cert.org

Read the full article at CERT/CC Vulnerability Notes

A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.