CVE-2026-45804
Published:July 15, 2026
Updated:July 20, 2026
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.
Affected Packages
diffusers (CONDA):
Affected version(s) >=0.1.2 <0.38.0Fix Suggestion:
Update to version 0.38.0diffusers (CONDA):
Affected version(s) >=0.1.2 <0.38.0Fix Suggestion:
Update to version 0.38.0diffusers (PYTHON):
Affected version(s) >=0.0.1 <0.38.0Fix Suggestion:
Update to version 0.38.0diffusers (PYTHON):
Affected version(s) >=0.0.1 <0.38.0Fix Suggestion:
Update to version 0.38.0Related Resources (10)
Do you need more information?
Contact UsCVSS v4
Base Score:
7.7
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Time-of-check Time-of-use (TOCTOU) Race Condition
EPSS
Base Score:
0.27