CVE-2026-45804
Last modified
CVE-2026-45804 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 0.27% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:H/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
- https://github.com/huggingface/diffusers/issues/13446Issue Tracking, Exploit
- https://github.com/huggingface/diffusers/pull/13448Issue Tracking
- https://github.com/huggingface/diffusers/security/advisories/GHSA-7wx4-6vff-v64pVendor Advisory, Exploit
- https://github.com/huggingface/diffusers/issues/13446Issue Tracking, Exploit
- https://github.com/huggingface/diffusers/security/advisories/GHSA-7wx4-6vff-v64pVendor Advisory, Exploit
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-45804?
How severe is CVE-2026-45804?
How do I fix CVE-2026-45804?
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-45797HeyForm is an open-source form builder. Prior to version 3.0…6.4
- CVE-2026-45799Wire provides gRPC and protocol buffers for Android, Kotlin,…7.5
- CVE-2026-4580A security flaw has been discovered in code-projects Simple …9.8
- CVE-2026-45800Vvveb is a powerful and easy to use CMS with page builder to…8.7
- CVE-2026-45802FPDI is a collection of PHP classes that facilitate reading …6
- CVE-2026-45803`gh` is GitHub’s official command line tool. From 1.6.0 to b…3.5
- CVE-2026-45805Penpot is an open-source design tool for design and code col…8.8
- CVE-2026-45806Penpot is an open-source design tool for design and code col…7.7
- CVE-2026-45807Kestra is an open-source, event-driven orchestration platfor…7.7
- CVE-2026-45808OpenBao is an open source identity-based secrets management …7.1
- CVE-2026-45809OpenSIPS is a Session Initiation Protocol (SIP) server imple…8.7
- CVE-2026-4581A weakness has been identified in code-projects Simple Laund…9.8
Are you affected by CVE-2026-45804?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
