- Veröffentlicht
- 01.09.2026 15:40
- Zuletzt geändert
- 17.11.2026
- EPSS (30 Tage)
- 0.1 %
- CVSS-Vektor
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Beschreibung
Originaltext der Quelle, nicht übersetzt.
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.
Status beim Hersteller
Red Hat stuft seine Produktlinien ein: 6 betroffen.
Lightspeed Core
BetroffenFix zurückgestellt
lightspeed-core/lightspeed-stack-rhel9, lightspeed-core/rag-tool-cpu-rhel9, lightspeed-core/rag-tool-cuda-12.9-rhel9
OpenShift Lightspeed
BetroffenFix zurückgestellt
openshift-lightspeed-tech-preview/lightspeed-rag-tool-rhel9, openshift-lightspeed/lightspeed-ocp-rag-rhel9, openshift-lightspeed/lightspeed-service-api-rhel9
Red Hat AI Inference Server
BetroffenFix zurückgestellt
rhaii/model-opt-cuda-rhel9, rhaii/vllm-cpu-rhel9, rhaii/vllm-cuda-rhel9, rhaii/vllm-gaudi-rhel9, rhaii/vllm-neuron-rhel9, rhaii/vllm-rocm-rhel9, rhaii/vllm-spyre-rhel9, rhaii/vllm-tpu-rhel9, rhaiis/model-opt-cuda-rhel9, rhaiis/vllm-cpu-rhel9, rhaiis/vllm-cuda-rhel9, rhaiis/vllm-neuron-rhel9, rhaiis/vllm-rocm-rhel9, rhaiis/vllm-spyre-rhel9, rhaiis/vllm-tpu-rhel9
Red Hat Ansible Automation Platform 2
BetroffenFix zurückgestellt
ansible-automation-platform-25/lightspeed-chatbot-rhel8, ansible-automation-platform-26/lightspeed-chatbot-rhel9, ansible-automation-platform-27/lightspeed-chatbot-rhel9
Red Hat Enterprise Linux AI (RHEL AI) 3
BetroffenFix zurückgestellt
rhelai3/bootc-aws-cuda-rhel9, rhelai3/bootc-azure-cuda-rhel9, rhelai3/bootc-azure-rocm-rhel9, rhelai3/bootc-cuda-rhel9, rhelai3/bootc-gaudi-rhel9, rhelai3/bootc-gcp-cuda-rhel9, rhelai3/bootc-rocm-rhel9, rhelai3/disk-image-cuda-rhel9
Red Hat OpenShift AI (RHOAI)
BetroffenFix zurückgestellt
rhai-early-access/docling-sdk-cuda-rhel9, rhai-early-access/docling-serve-cuda-rhel9, rhai/guidellm-rhel9, rhoai/odh-automl-rhel9, rhoai/odh-autorag-rhel9, rhoai/odh-built-in-detector-rhel9, rhoai/odh-caikit-nlp-rhel9, rhoai/odh-caikit-tgis-serving-rhel9, rhoai/odh-feature-server-rhel9, rhoai/odh-guardrails-detector-huggingface-runtime-rhel9, rhoai/odh-kserve-agent-rhel9, rhoai/odh-kserve-autogluon-server-rhel9, rhoai/odh-kserve-controller-rhel9, rhoai/odh-kserve-router-rhel9, rhoai/odh-kserve-storage-initializer-rhel9, rhoai/odh-llama-stack-core-rhel9, rhoai/odh-llm-d-inference-scheduler-rhel9, rhoai/odh-llm-d-kv-cache-rhel9, rhoai/odh-ogx-core-rhel9, rhoai/odh-openvino-model-server-rhel9, rhoai/odh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-rhel9, rhoai/odh-ta-lmes-job-rhel9, rhoai/odh-th-torch-cpu-py312-rhel9, rhoai/odh-th-torch-cuda-py312-rhel9, rhoai/odh-th-torch-rocm-py312-rhel9 und 18 weitere
Weitere betroffene Pakete (4)
CVEHugging Face/Transformerskein Fix bekanntCVE-2026-80047
PyPItransformerskein Fix bekanntGHSA-x9r9-c232-4q39
PyPItransformerskein Fix bekanntPYSEC-2026-4174
TuxCare:PyPItransformers4.57.6.post0 → 4.57.6.post5+tuxcareCLSA-2026-1790831175
Empfohlene Prüfung
- Feststellen, ob und in welcher Version die betroffenen Pakete in Ihren Systemen, Images und Abhängigkeiten vorkommen.
- Wo eine Fix-Version genannt ist: aktualisieren. Wo nicht: Hersteller-Advisory und Referenzen auf Workarounds prüfen.
- Erreichbarkeit beachten: Der Angriffsweg (Lokal) ist aus dem CVSS-Vektor abgeleitet.
Diese Seite sagt nichts darüber, ob Ihre Systeme betroffen sind. Das klärt erst eine Prüfung Ihrer Versionen.
Referenzen
- github.com/huggingface/transformers
- kb.cert.org/vuls/id/456290
- nvd.nist.gov/vuln/detail/CVE-2026-80047
- github.com/huggingface/transformers/pull/48620
- github.com/huggingface/transformers/commit/cbc1651a032b923da7f4b44b3d0e6f68e6ba6b55
- www.kb.cert.org/vuls/id/456290
- pypi.org/project/transformers
- github.com/advisories/GHSA-x9r9-c232-4q39
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-80047.json
- access.redhat.com/security/cve/CVE-2026-80047
- bugzilla.redhat.com/show_bug.cgi
- www.cve.org/CVERecord