CVE-2026-45804 is a race condition and time-of-check to time-of-use vulnerability in Hugging Face Diffusers prior to version 0.38.0. In the vulnerable DiffusionPipeline.from_pretrained loading flow, the library performs trust validation on repository configuration during an initial download step and later performs a separate repository snapshot retrieval and dynamic loading step. Because these operations are split across sequential, non-atomic requests, the repository content used at load time can differ from the content that was originally validated. An attacker controlling a Hugging Face Hub model repository can modify the configuration after the initial validation request completes but before the subsequent snapshot retrieval occurs, causing the loader to resolve and execute custom pipeline Python code without requiring the caller to pass custom_pipeline or trust_remote_code=True. The flaw affects the custom pipeline loading path and bypasses the intended trust_remote_code safeguard.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
No public exploits tracked yet. Mallory keeps watching.
No public exploit code observed for this vulnerability.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
3 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
A high-severity race condition in Hugging Face's diffusers library caused by a non-atomic model download process, allowing attackers to exploit the gap between configuration retrieval and repository download to bypass trust checks and achieve arbitrary code execution.
A high-severity race condition / TOCTOU vulnerability in Hugging Face Diffusers that can lead to arbitrary code execution by altering repository configuration between sequential download operations.
A high-severity race-condition-style trust check bypass in Hugging Face's diffusers library that allows arbitrary code execution by changing configuration between two non-atomic HTTP requests during model loading.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.