Diffusers: TOCTOU Trust Remote Code Bypass
CVE-2026-45804 · GHSA-7wx4-6vff-v64p · published 2026-05-20 · updated 2026-07-20
- Severity
- High
- CVSS score
- 7.5
- Chance of exploitation (EPSS)
- 0.37%
- Fixed in
- 0.38.0
- Exploitation Public proof of concept
- Automatable No
- Technical impact Total
- CISA SSVC
The vulnerability is a silent RCE - it allows arbitrary code to be loaded through the custom pipeline flow from a Hub repo, with no custompipeline or trustremotecode kwargs. The frompretrained call succeeds and returns a fully functional pipeline.
Upgrade diffusers to 0.38.0 or later.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| diffusers | PyPI | < 0.38.0 | 0.38.0 |
- CriticalMCP Path Traversal Allows Full-Filesystem Read and JWT Secret Exfiltration Leading to Account Takeoverlangflow, langflow-base
- Critical@zereight/mcp-gitlab: Unauthenticated arbitrary file read via `upload_markdown` enables PAT exfiltration and full account takeover@zereight/mcp-gitlab
- CriticalFlowise RCE via SQL Database Chain Nodeflowise, flowise-components
- CriticalLangroid: SQLChatAgent dangerous-function blocklist can be bypassed with quoted or schema-qualified pg_read_file callslangroid
- Criticalfast-mcp-telegram: Bearer token path traversal bypasses reserved Telegram session protectionfast-mcp-telegram
- CriticalMCP Toolbox HTTP tool path parameters allow traversal to unintended endpointsgithub.com/googleapis/mcp-toolbox
The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.