Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2026-45804: Diffusers is the a library for pretrained diffusion models

39
Routine
HIGH 7.5UPGRADE

CVE-2026-45804 is a high-severity flaw (CVSS 7.5) affecting diffusers. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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=T

Why this priority

  • High severity
  • Public exploit reference

A fixed release or distro patch exists.

Risk facts

CVSS score7.5 (High)
Attack vectorNetwork (remote)
Attack complexityHigh
Privileges neededNone
User interactionRequired
EPSS exploit chance0.4% (top 70%)
CISA exploited listNo
WeaknessCWE-367
Published2026-07-15
Last modified2026-10-24
Publisher (CNA): GitHub, Inc. · Vendor: huggingface

Share: LinkedIn · X · Reddit

Last updated 2026-10-24 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

huggingface diffusers UPGRADE
Affected: < 0.38.0
Fixed in: 0.38.0
Safe to downgrade to: no unaffected older release
1. Check installed version
pip show diffusers
2. UPGRADE to 0.38.0
pip install --upgrade "diffusers>=0.38.0"
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2026-45804?

diffusers: upgrade to 0.38.0. Exact commands for each OS are on this page.

Is CVE-2026-45804 being exploited?

CVE-2026-45804 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2026-45804 affect?

CVE-2026-45804 affects diffusers. Severity is high (CVSS 7.5). 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 bef

How urgent is CVE-2026-45804?

Priority 39/100. High severity; Public exploit reference

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.