Bug 2501024 (CVE-2026-45804) - CVE-2026-45804 diffusers: Diffusers: Arbitrary code execution due to trust_remote_code guard bypass
Summary: CVE-2026-45804 diffusers: Diffusers: Arbitrary code execution due to trust_re...
Keywords:
Status: NEW
Alias: CVE-2026-45804
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-15 17:01 UTC by OSIDB Bzimport
Modified: 2026-07-16 08:53 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-07-15 17:01:56 UTC
Diffusers is the a library for pretrained diffusion models. Prior to 0.38.0, Diffusers' DiffusionPipeline.from_pretrained flow can bypass the trust_remote_code guard because download() validates model_index.json and custom pipeline code before later loading from a cached folder that can change, allowing a Hub repository with custom .py pipeline code to execute through the custom pipeline flow without passing custom_pipeline or trust_remote_code=True. This issue is fixed in version 0.38.0.


Note You need to log in before you can comment on or make changes to this bug.