Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-44513

published high CVSS 3.1 · 8.8

Diffusers: `trust_remote_code` bypass via `custom_pipeline` and local custom components

Published
14 May 2026, 16:26:03 UTC
Updated
28 Aug 2026, 12:04:31 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
huggingface — diffusers< 0.38.0 Affected Not stated GitHub_M
Red Hat — rhoai/odh-th06-cuda130-torch210-py312-rhel9Red Hat OpenShift AI 3.4 · 1787077779 and later · Other versions: affected Unaffected Not stated redhat-SADP
Red Hat — rhoai/odh-th06-rocm64-torch291-py312-rhel9Red Hat OpenShift AI 3.4 · 1787076481 and later · Other versions: affected Unaffected Not stated redhat-SADP
Red Hat — rhoai/odh-training-cuda128-torch29-py312-rhel9Red Hat OpenShift AI 3.4 · 1786611803 and later · Other versions: affected Unaffected Not stated redhat-SADP
Red Hat — rhoai/odh-training-rocm64-torch29-py312-rhel9Red Hat OpenShift AI 3.4 · 1786611435 and later · Other versions: affected Unaffected Not stated redhat-SADP
Red Hat — rhaiis/vllm-cpu-rhel9Red Hat AI Inference Server Affected Not stated redhat-SADP
Red Hat — rhaiis/vllm-cuda-rhel9Red Hat AI Inference Server Unaffected Not required redhat-SADP
Red Hat — rhaiis/vllm-rocm-rhel9Red Hat AI Inference Server Unaffected Not required redhat-SADP
Show 9 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Red Hat — rhaiis/vllm-tpu-rhel9Red Hat AI Inference Server Affected Not stated redhat-SADP
Red Hat — rhaii/vllm-cpu-rhel9Red Hat AI Inference Server Affected Not stated redhat-SADP
Red Hat — rhaii/vllm-cuda-rhel9Red Hat AI Inference Server Affected Not stated redhat-SADP
Red Hat — rhelai3/bootc-aws-cuda-rhel9Red Hat Enterprise Linux AI (RHEL AI) 3 Affected Not stated redhat-SADP
Red Hat — rhelai3/bootc-azure-cuda-rhel9Red Hat Enterprise Linux AI (RHEL AI) 3 Affected Not stated redhat-SADP
Red Hat — rhelai3/bootc-cuda-rhel9Red Hat Enterprise Linux AI (RHEL AI) 3 Affected Not stated redhat-SADP
Red Hat — rhelai3/bootc-gcp-cuda-rhel9Red Hat Enterprise Linux AI (RHEL AI) 3 Affected Not stated redhat-SADP
Red Hat — rhoai/odh-openvino-model-server-rhel9Red Hat OpenShift AI (RHOAI) Affected Not stated redhat-SADP
Red Hat — rhoai/odh-th06-cuda130-torch291-py312-rhel9Red Hat OpenShift AI (RHOAI) Unaffected Not required redhat-SADP

Description

Diffusers is the a library for pretrained diffusion models. Prior to 0.38.0, a trust_remote_code bypass in DiffusionPipeline.from_pretrained allows arbitrary remote code execution despite the user passing trust_remote_code=False (or omitting it, which is the default). The vulnerability has three variants, all sharing the same root cause — the trust_remote_code gate was implemented inside DiffusionPipeline.download() rather than at the actual dynamic-module load site, so any code path that bypassed or short-circuited download() also bypassed the security check. DiffusionPipeline.from_pretrained('repoA', custom_pipeline='attacker/repoB', trust_remote_code=False) — the gate evaluated against repoA's file list rather than repoB's, so repoB's pipeline.py was loaded and executed. DiffusionPipeline.from_pretrained('/local/snapshot', custom_pipeline='attacker/repoB', trust_remote_code=False) — the local-path branch never invoked download(), so the gate was never reached and remote code from repoB executed. DiffusionPipeline.from_pretrained('/local/snapshot', trust_remote_code=False) where the snapshot contains custom component files (e.g. unet/my_unet_model.py) referenced from model_index.json — same root cause; the local path skipped download() and custom component code executed. This vulnerability is fixed in 0.38.0.

en · GitHub_M · cna

en · redhat-SADP · adp

A flaw was found in Diffusers, a library for pretrained diffusion models. A remote attacker could exploit a bypass in the `trust_remote_code` mechanism within the `DiffusionPipeline.from_pretrained` function. This vulnerability allows for arbitrary remote code execution, even when the user explicitly sets `trust_remote_code=False` or omits it. The issue stems from the security check being incorrectly placed, allowing malicious code to be loaded and executed by bypassing the intended security gate.

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
8.8 / 10
Severity
high
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Additional Assessments

Additional normalized CVSS assessments
VersionScoreSeverityProviderVectorScenarios
3.1 8.8 high redhat-SADP · adp CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H —

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
huggingface diffusers < 0.38.0 (affected) GitHub_M · cna
Red Hat Red Hat OpenShift AI 3.4 1787077779 and later (unaffected · rpm)Default: affected redhat-SADP · adp
Red Hat Red Hat OpenShift AI 3.4 1787076481 and later (unaffected · rpm)Default: affected redhat-SADP · adp
Red Hat Red Hat OpenShift AI 3.4 1786611803 and later (unaffected · rpm)Default: affected redhat-SADP · adp
Red Hat Red Hat OpenShift AI 3.4 1786611435 and later (unaffected · rpm)Default: affected redhat-SADP · adp
Red Hat Red Hat AI Inference Server Default: affected redhat-SADP · adp
Red Hat Red Hat AI Inference Server Default: unaffected redhat-SADP · adp
Red Hat Red Hat AI Inference Server Default: unaffected redhat-SADP · adp
Red Hat Red Hat AI Inference Server Default: affected redhat-SADP · adp
Red Hat Red Hat AI Inference Server Default: affected redhat-SADP · adp
Red Hat Red Hat AI Inference Server Default: affected redhat-SADP · adp
Red Hat Red Hat Enterprise Linux AI (RHEL AI) 3 Default: affected redhat-SADP · adp
Red Hat Red Hat Enterprise Linux AI (RHEL AI) 3 Default: affected redhat-SADP · adp
Red Hat Red Hat Enterprise Linux AI (RHEL AI) 3 Default: affected redhat-SADP · adp
Red Hat Red Hat Enterprise Linux AI (RHEL AI) 3 Default: affected redhat-SADP · adp
Red Hat Red Hat OpenShift AI (RHOAI) Default: affected redhat-SADP · adp
Red Hat Red Hat OpenShift AI (RHOAI) Default: unaffected redhat-SADP · adp

Weaknesses

2
  • CWE-94 CWE-94: Improper Control of Generation of Code ('Code Injection') (GitHub_M · cna)
  • CWE-358 Improperly Implemented Security Check for Standard (redhat-SADP · adp)

References

5

Provider assertions

3

GitHub_M · cna

Diffusers: `trust_remote_code` bypass via `custom_pipeline` and local custom components

redhat-SADP · adp

Diffusers: Diffusers: Arbitrary remote code execution via `trust_remote_code` bypass

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
428bf80e0e08e83384dd7c1350fad4b9b8c8e4f0dbdd477340103cbaa6f49e69
Ingested
23 Sep 2026, 09:15:17 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected