CVE Tools

Hugging Face Diffusers Flaws Could Let Model Repositories Execute Arbitrary Code

The Hacker NewsBy The Hacker News

PatchDiffusers library

Our summary

Three high-severity vulnerabilities have been discovered in Hugging Face's Diffusers library, allowing malicious model repositories to execute arbitrary code on systems that load them. Dubbed FaceHugger, these flaws undermine the trust_remote_code safeguard meant to prevent unreviewed code from running. The issues stem from a design flaw involving TOCTOU (Time-of-Check to Time-of-Use) race conditions and improper validation of downloaded components. The affected CVEs are CVE-2026-44827, CVE-2026-45804, and CVE-2026-44513. These were fixed in Diffusers version 0.38.0. Users relying on custom pipelines should update immediately.

Read at The Hacker News

The Hacker News publishes this story on its own site; we link to it rather than reprint it.

Worried this affects your company?

Discuss a security assessment of your internet-facing systems. Scope agreed before testing.

Check my exposure

We use analytics cookies to see which pages and articles actually help people. Decline and none of them run — the site works the same. What we store