boxscore/security
CVE · referencelatest edition

Reference page — cumulative record through Sunday, October 4, 2026 UTC. Reference pages update as the archive grows; only dated daily editions are immutable pages of record.

CVE-2026-44513

huggingface diffusers — Diffusers: `trust_remote_code` bypass via `custom_pipeline` and local custom components
  AV  AC  PR  UI  S  C  I  A   CVSS    EPSS   %ile   KEV
   N   L   N   R  U  H  H  H    8.8   .0089   58.0     —
AFFECTED
  Product    Versions    Fixed
  diffusers  < 0.38.0 –  —
TIMELINE
  May 6   Reserved by GitHub_M
  May 14  Published (CNA: GitHub_M)
  Aug 28  EXPLOIT PUBLISHED — CVE-2026-44513 (huggingface diffusers). Public exploit reference added.
CWE-94, CWE-358 · CNA: GitHub_M · CVSS v3.1 · 5 references · NVD status: Modified

Description

Diffusers is the a library for pretrained diffusion models. Prior to 0.38.0, a trust_remote_code bypass in DiffusionPipeline.from_pretrained allows arbitrary remote code execution despite the user passing trust_remote_code=False (or omitting it, which is the default). The vulnerability has three variants, all sharing the same root cause — the trust_remote_code gate was implemented inside DiffusionPipeline.download() rather than at the actual dynamic-module load site, so any code path that bypassed or short-circuited download() also bypassed the security check. DiffusionPipeline.from_pretrained('repoA', custom_pipeline='attacker/repoB', trust_remote_code=False) — the gate evaluated against repoA's file list rather than repoB's, so repoB's pipeline.py was loaded and executed. DiffusionPipeline.from_pretrained('/local/snapshot', custom_pipeline='attacker/repoB', trust_remote_code=False) — the local-path branch never invoked download(), so the gate was never reached and remote code from repoB executed. DiffusionPipeline.from_pretrained('/local/snapshot', trust_remote_code=False) where the snapshot contains custom component files (e.g. unet/my_unet_model.py) referenced from model_index.json — same root cause; the local path skipped download() and custom component code executed. This vulnerability is fixed in 0.38.0.

Lifecycle

Complete event history — 3 events, chronological
DateEventDetail
May 6, 2026ReservedReserved by GitHub_M
May 14, 2026PublishedPublished (CNA: GitHub_M)
August 28, 2026EXPLOIT PUBLISHEDEXPLOIT PUBLISHED — CVE-2026-44513 (huggingface diffusers). Public exploit reference added.

Affected

Affected products and packages — 1 row
VendorProduct / PackageEcosystemVersion introducedFixed
huggingfacediffusers—< 0.38.0—

Weaknesses

CWE-94 · CWE-358

References (5)

Related

Authoritative record: CVE-2026-44513 at cve.org

Vendors: huggingface

Weaknesses: CWE-94 · CWE-358

About this page

This is a reference page, not a dated page of record. It assembles the complete lifecycle of CVE-2026-44513 from the CVE Program record, NVD enrichment, the CISA KEV catalog, EPSS, and OSV advisories. The box score's numbers (CVSS, EPSS, KEV status) are current as of Sunday, October 4, 2026 UTC and are re-derived as the archive grows; only dated daily editions are immutable pages of record. The authoritative source for this identifier is cve.org.