FR
live
High CVSS 7.5

CVE-2026-45804

NVD analysis in progress

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.

What this means

Exposure
Exploitable remotely over the network and without authentication — but only if a user opens booby-trapped content. The attack does require particular conditions, which makes it less systematic.
Impact
An attacker can read sensitive data, modify or destroy data and take the service offline.
Weakness
The checked state changes before it is used, letting the attacker swap the target in between.
Likelihood
Its EPSS score stays low: nothing points to imminent exploitation, which is no reason to leave it unpatched.

What to doFold into the next patch cycle.

Read automatically from the CVSS vector, the weakness type (CWE) and the EPSS score. The technical description above remains the one published by NIST.

Published
15 July 2026
CVSS
7.5 (v3.1) CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
0.27% probability of exploitation within 30 days · above 19% of all CVEs
Weakness
CWE-367
Sources
nvd
References

Type at least two characters.

navigate open esc dismiss