Live threats

All CVEs / Huggingface

CVE-2026-45804Huggingface Diffusers

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
—
Auth required
No
Published
Jul 15, 2026
Updated
Oct 24, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-367
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Diffusers.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI diffusers < 0.38.0 0.38.0 pip install "diffusers>=0.38.0"
PyPI diffusers < 0.38.0 0.38.0 pip install "diffusers>=0.38.0"

Per OSV / GitHub Advisories (GHSA-7wx4-6vff-v64p, PYSEC-2026-2446). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
huggingfacediffusers< 0.38.0

Official sources

References

Links published by the sources. Open them with care.