CVE Hunter
›
CVE-2026-80047

CWE-273 · CWE-367 · CWE-494

HIGH CVSS 7.8 NVD

A vulnerability in Hugging Face Transformers (versions 4.57.0 to 5.16.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 reversible and can persist across sessions. This can lead to persistent, unauthorized files on disk and stale cache collisions where cached attacker code may later be executed during trusted model loads. The issue stems from an unconditional file write in dynamic_module_utils.py prior to any trust verification.

Yayınlanma 01.09.2026
ISO Tarih 2026-09-01
CVSS Sürüm v3.1
Kaynak NVD
CVSS v3.1 Metrikleri
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack Vector Local AV:L
Attack Complexity Low AC:L
Privileges Req. Low PR:L
User Interaction None UI:N
Scope Unchanged S:U
Confidentiality High C:H
Integrity High I:H
Availability High A:H
AI Güvenlik Analizi
🤖 Yapay Zeka Güvenlik Analizi Hazırlanıyor…
CVSS vektörü ve CWE zayıflık yapısı inceleniyor…
Hedef Keşif Sorguları
CVSS Skoru
7.8 / 10 · CVSS HIGH
Zayıflık Türleri (CWE)
CWE-273 CWE-367 CWE-494
İlgili CVE'ler
2.5
CVE-2026-130899
Tanium addressed a time-of-check time-of-use race condition vulnerability.
2.0
CVE-2026-108319
Tanium addressed a time-of-check time-of-use race condition vulnerability in Tanium Server.
7.4
CVE-2026-82138
Dell SupportAssist OS Recovery, versions prior to 5.5.16.3 contain a Download of Code Without Integrity Check
6.7
CVE-2026-82136
Dell SupportAssist OS Recovery, versions prior to 5.5.16.3, contain a Download of Code Without Integrity Check
5.0
CVE-2026-62336
This is a Local Privilege Escalation (LPE) vulnerability stemming from improper symlink handling (CWE-59: Link
3.3
CVE-2026-123353
Docmost is open-source collaborative wiki and documentation software. Prior to 0.96.0, two concurrent role-dem