Skip to main content
No exploitation reportedFix available

CVE-2026-44513

No exploitation reported by the sources we read.

  • Published2026-05-14
  • Fixed in0.38.0
  • WeaknessCWE-358 · CWE-94

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2026-05-1417:16CVE publishedNVD

Versions per branch

NVD · OSV
Huggingface diffusers
BranchAffectedFixed in
0.38< 0.38.00.38.0

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • huggingface diffusers
    Affected
    • = < 0.38.0no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2026-05-14

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • nemoChainguardall versions · fixed in 2.7.3-r2
  • py3.10-diffusers-cuda-13.0Chainguardall versions · no fixed version listed
  • py3.11-diffusers-cuda-12.9Chainguardall versions · fixed in 0.38.0-r0and 5 other packages

Vendor advisories

  • RHSA-2026:76150 Red Hat Product Security5 products fixed

    Red Hat Security Advisory: Red Hat Enterprise Linux AI 3.4.5 security update

  • RHSA-2026:76149 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Red Hat Enterprise Linux AI 3.4.5 security update

  • RHSA-2026:70979 Red Hat Product Security2 products fixed

    Red Hat Security Advisory: Red Hat AI Inference 3.4.5 (cuda)

  • RHSA-2026:70965 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Red Hat AI Inference 3.4.5 (cpu)

  • RHSA-2026:69467 Red Hat Product Security2 products fixed

    Red Hat Security Advisory: Red Hat AI Inference 3.4.5 (cuda)

  • RHSA-2026:69466 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Red Hat AI Inference 3.4.5 (cpu)

1 more advisory

Full record on NVD

Fix

  1. Update Huggingface diffusers to 0.38.0
  2. Vendor fix Red Hat Product Security RHSA-2026:76150 · 5 productsThe container images provided by this update can be downloaded from the Red Hat container registry at registry.redhat.io using the "podman pull" command. For details on deploying and configuring RHEL AI, see the Red Hat Enterprise Linux AI documentation at https://docs.redhat.com/en/documentation/…
  3. Vendor fix Red Hat Product Security RHSA-2026:76149 · 1 productThe container disk images provided by this update can be downloaded from the Red Hat container registry at registry.redhat.io using the "podman pull" command, for use with OpenShift Virtualization. For details on deploying and configuring RHEL AI, see the Red Hat Enterprise Linux AI documentation …
  4. Vendor fix Red Hat Product Security RHSA-2026:70979 · 2 productsFor more information visit https://access.redhat.com/errata/RHSA-2026:70979
  5. Vendor fix Red Hat Product Security RHSA-2026:70965 · 1 productFor more information visit https://access.redhat.com/errata/RHSA-2026:70965
  6. Vendor fix Red Hat Product Security RHSA-2026:69467 · 2 productsFor more information visit https://access.redhat.com/errata/RHSA-2026:69467
  7. Vendor fix Red Hat Product Security RHSA-2026:69466 · 1 productFor more information visit https://access.redhat.com/errata/RHSA-2026:69466

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • NVDCVE recordread 2026-10-27
  • CISA-ADPSSVC decisionnone2026-05-14
  • CNACVSS 3.18.8known since 2026-10-27
  • CNAweakness (CWE)CWE-358, CWE-94known since 2026-10-27
  • FIRST EPSSEPSS score1.1 %2026-11-18
  • OSVaffected packages—
  • GitHub AdvisoriesadvisoryHIGH2026-05-07

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Published
2026-05-14
Last Modified
2026-10-26
NVD status
Modified
GitHub Advisory
GHSA-98h9-4798-4q5v

Frequently asked questions

What is CVE-2026-44513?

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.

Is CVE-2026-44513 actively exploited?

Active exploitation of CVE-2026-44513 has not been confirmed. Its EPSS score was 1.1% on 2026-11-18, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2026-44513?

CVE-2026-44513 has a CVSS v3 base score of 8.8 (HIGH severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.

Running diffusers? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record