HighVulnerability
CVE-2026-44827: Diffusers remote code execution when loading Hugging Face Hub pipelines
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-44827
- Published
- Record updated
- Fixed in
- The source references a patch, a mitigation or a vendor advisory.
Summary
Diffusers versions before 0.38.0, including 0.37.0, execute remote code when pipelines load from Hugging Face Hub repositories without the trust_remote_code=True safeguard. The _resolve_custom_pipeline_and_cls function in pipeline_loading_utils.py formats an unset custom_pipeline as the literal filename "None.py", so a repository containing that file runs silently during a standard DiffusionPipeline.from_pretrained() call. An attacker needs only to publish such a repository and have a victim load it.
Mitigation
Fixed in 0.38.0.
Coverage
News, research and other items that mention CVE-2026-44827.
- ⚡ Weekly Recap: Rogue AI Models, $88M Bitcoin Theft, Water-System Attacks and Dangling DNS HijacksThe Hacker News, 2026-08-03
- Hugging Face Diffusers Flaws Could Let Model Repositories Execute Arbitrary CodeThe Hacker News, 2026-08-03
Related items
- HighCVE-2026-142491: eole eval injection in pydantic configuration validatorsSame vendor, NVD/CVE Database
- MediumCVE-2026-142248: MLflow through 3.18.0 contains a server-side request forgery vulnerability in the AI Gateway LiteLLM provider that…Same vendor, NVD/CVE Database
- HighCVE-2026-141343: DLOmix unsafe deserialization code execution via malicious PyTorch model filesSame vendor, NVD/CVE Database
- HighCVE-2026-139989: Languagemodels 1.0.0 contains a template injection vulnerability in Config.use_hf_model that allows remote attackers to…Same vendor, NVD/CVE Database
- MediumCVE-2026-134825: Gradio 6.27.0 before 6.32.0 contains an authentication bypass vulnerability in gradio/history.py that allows remote…Same vendor, NVD/CVE Database