← Übersicht Nicht im beobachteten Stack

Diffusers: None.py Trust Remote Code Bypass

CVE-2026-44827 · GHSA-j7w6-vpvq-j3gm · PYSEC-2026-41

Hoch · CVSS 8.8 Red Hat: Important Netzwerk · ohne Login · Nutzerinteraktion Kein Fix bekannt

Veröffentlicht
07.05.2026 04:24
Zuletzt geändert
10.08.2026
EPSS (30 Tage)
0.7 %
CVSS-Vektor
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Beschreibung

Originaltext der Quelle, nicht übersetzt.

Diffusers is the a library for pretrained diffusion models. Prior to 0.38.0, diffusers 0.37.0 allows remote code execution without the trust_remote_code=True safeguard when loading pipelines from Hugging Face Hub repositories. The _resolve_custom_pipeline_and_cls function in pipeline_loading_utils.py performs string interpolation on the custom_pipeline parameter using f"{custom_pipeline}.py". When custom_pipeline is not supplied by the user, it defaults to None, which Python interpolates as the literal string "None.py". If an attacker publishes a Hub repository containing a file named None.py with a class that subclasses DiffusionPipeline, the file is automatically downloaded and executed during a standard DiffusionPipeline.from_pretrained() call with no additional keyword arguments. The trust_remote_code check in DiffusionPipeline.download() is bypassed because it evaluates custom_pipeline is not None as False (since the kwarg was never supplied), while the downstream code path that actually loads the module resolves the None value into a valid filename. An attacker can achieve silent arbitrary code execution by publishing a malicious model repository with a None.py file and a standard-looking model_index.json that references a legitimate pipeline class name, requiring only that a victim calls from_pretrained on the repository. This vulnerability is fixed in 0.38.0.

Status beim Hersteller

Red Hat stuft seine Produktlinien ein: 2 betroffen, 3 behoben, 5 nicht betroffen.

Red Hat AI Inference Server Betroffenwird nicht behoben rhaiis/vllm-tpu-rhel9
Red Hat OpenShift AI (RHOAI) BetroffenFix ausstehend rhoai/odh-openvino-model-server-rhel9
Red Hat AI Inference Server 3.4 Behoben rhaii/vllm-cpu-rhel9, rhaii/vllm-cuda-rhel9 RHSA-2026:69466, RHSA-2026:69467, RHSA-2026:70965, RHSA-2026:70979
Red Hat Enterprise Linux AI 3.4 Behoben rhelai3/bootc-aws-cuda-rhel9, rhelai3/bootc-azure-cuda-rhel9, rhelai3/bootc-cuda-rhel9, rhelai3/bootc-gcp-cuda-rhel9, rhelai3/disk-image-cuda-rhel9 RHSA-2026:76149, RHSA-2026:76150
Red Hat OpenShift AI 3.4 Behoben rhoai/odh-th06-cuda130-torch210-py312-rhel9, rhoai/odh-th06-rocm64-torch291-py312-rhel9, rhoai/odh-training-cuda128-torch29-py312-rhel9, rhoai/odh-training-rocm64-torch29-py312-rhel9 RHSA-2026:60520
Nicht betroffen (5)
Red Hat AI Inference ServerNicht betroffenverwundbarer Code nicht enthaltenrhaiis/vllm-rocm-rhel9
Red Hat Enterprise Linux AI (RHEL AI) 3Nicht betroffenverwundbarer Code nicht enthaltenrhelai3/bootc-azure-rocm-rhel9, rhelai3/bootc-rocm-rhel9
Red Hat Enterprise Linux AI 3.4Nicht betroffenverwundbarer Code nicht enthaltenrhelai3/bootc-azure-rocm-rhel9, rhelai3/bootc-rocm-rhel9
Red Hat OpenShift AI (RHOAI)Nicht betroffenKomponente nicht enthaltenrhoai/odh-th06-cuda130-torch291-py312-rhel9
Red Hat OpenShift AI 3.4Nicht betroffenverwundbarer Code nicht enthaltenrhoai/odh-ai-gateway-payload-processing-rhel9, rhoai/odh-automl-rhel9, rhoai/odh-autorag-rhel9, rhoai/odh-built-in-detector-rhel9, rhoai/odh-cli-rhel9, rhoai/odh-dashboard-rhel9, rhoai/odh-data-science-pipelines-argo-argoexec-rhel9, rhoai/odh-data-science-pipelines-argo-workflowcontroller-rhel9, rhoai/odh-data-science-pipelines-operator-controller-rhel9, rhoai/odh-eval-hub-rhel9, rhoai/odh-feast-operator-rhel9, rhoai/odh-feature-server-rhel9, rhoai/odh-fms-guardrails-orchestrator-rhel9, rhoai/odh-guardrails-detector-huggingface-runtime-rhel9, rhoai/odh-kf-notebook-controller-rhel9, rhoai/odh-kserve-agent-rhel9, rhoai/odh-kserve-autogluon-server-rhel9, rhoai/odh-kserve-controller-rhel9, rhoai/odh-kserve-llmisvc-controller-rhel9, rhoai/odh-kserve-router-rhel9, rhoai/odh-kserve-storage-initializer-rhel9, rhoai/odh-kube-auth-proxy-rhel9, rhoai/odh-kuberay-operator-controller-rhel9, rhoai/odh-llama-stack-core-rhel9, rhoai/odh-llama-stack-k8s-operator-rhel9 und 77 weitere
Weitere betroffene Pakete (4)
CVEhuggingface/diffuserskein Fix bekanntCVE-2026-44827
NVDhuggingface:diffusers0.38.0CVE-2026-44827
PyPIdiffusers0.38.0GHSA-j7w6-vpvq-j3gm
PyPIdiffusers0.38.0PYSEC-2026-41

Empfohlene Prüfung

  1. Feststellen, ob und in welcher Version die betroffenen Pakete in Ihren Systemen, Images und Abhängigkeiten vorkommen.
  2. Wo eine Fix-Version genannt ist: aktualisieren. Wo nicht: Hersteller-Advisory und Referenzen auf Workarounds prüfen.
  3. Erreichbarkeit beachten: Der Angriffsweg (Netzwerk · ohne Login · Nutzerinteraktion) 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.