CVE-2026-44513
Last modified
CVE-2026-44513 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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). EPSS estimates a 0.86% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Huggingface | Diffusers | < 0.38.0 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2026-44513?
How severe is CVE-2026-44513?
How do I fix CVE-2026-44513?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-44508Rejected reason: ** REJECT ** DO NOT USE THIS CANDIDATE NUMB…
- CVE-2026-44509Rejected reason: ** REJECT ** DO NOT USE THIS CANDIDATE NUMB…
- CVE-2026-4451Insufficient validation of untrusted input in Navigation in …8.8
- CVE-2026-44510Rejected reason: ** REJECT ** DO NOT USE THIS CANDIDATE NUMB…
- CVE-2026-44511Katalyst Koi is a framework for building Rails admin functio…7.4
- CVE-2026-44512Open Neural Network Exchange (ONNX) is an open standard for …5.5
- CVE-2026-44514Kubetail is a real-time logging dashboard for Kubernetes. Pr…6.5
- CVE-2026-44515Nextcloud News is an RSS/Atom feed reader. Prior to 28.3.0-b…2.3
- CVE-2026-44516Valtimo is an open-source business process automation platfo…7.6
- CVE-2026-44518liboqs is a C-language cryptographic library that provides i…5.3
- CVE-2026-4452Integer overflow in ANGLE in Google Chrome on Windows prior …8.8
- CVE-2026-44520Docling-Graph turns documents into validated Pydantic object…5.7
Are you affected by CVE-2026-44513?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
