Main
Vulnerability Database
Exploits
ID:12838 - Exploit for Time-of-check Time-of-use (TOCTOU) Race Condition in Diffusers - CVE-2026-45804
ID:12838 - Exploit for Time-of-check Time-of-use (TOCTOU) Race Condition in Diffusers - CVE-2026-45804
Published: July 24, 2026
Vulnerability identifier: #VU139256
Vulnerability risk: High
CVE-ID: CVE-2026-45804
CWE-ID: CWE-367
Exploitation vector: Remote access
Vulnerable software:
Diffusers
Diffusers
Link to public exploit:
Vulnerability description
The vulnerability allows a remote attacker to execute arbitrary code on the system.
The vulnerability exists due to time-of-check time-of-use (toctou) race condition in the diffusers package within the DiffusionPipeline.from_pretrained flow. A remote attacker can execute arbitrary code on the target system.
Remediation
Install updates from vendor's website.