Critical Vulnerabilities in Hugging Face's Diffusers Library Expose AI Systems to Code Execution Risks
In early August 2026, researchers disclosed three high-severity vulnerabilities in Hugging Face's Diffusers library, collectively named FaceHugger. These flaws allowed crafted model repositories to execute arbitrary code on machines loading them, bypassing the 'trust_remote_code' safeguard designed to prevent unreviewed code execution. The vulnerabilities, identified as CVE-2026-44827, CVE-2026-45804, and CVE-2026-44513, stemmed from issues like code injection and race conditions, enabling attackers to compromise systems utilizing the Diffusers library. This incident underscores the critical need for robust security measures in AI supply chains, especially as platforms like Hugging Face become integral to enterprise environments. The exploitation of these vulnerabilities highlights the importance of treating AI model repositories as potential vectors for code execution, necessitating vigilant security practices and prompt patching to mitigate risks.
Kill Chain









