diffusers: known vulnerabilities and the safe version
The version to be on
Version 0.38.0 or later fixes every vulnerability on this page that has a recorded fix.
Upgrade diffusers with pip
pip install --upgrade "diffusers>=0.38.0"
pip show diffusers | grep VersionPin it in requirements.txt
diffusers>=0.38.0Check the release notes before a large jump in version. Newer vulnerabilities may have been found since this page was updated.
Watch diffusers
Get an email only when diffusers has a new vulnerability record. Unsubscribe with one click.
Badge for your README
Shows the number of known critical and high vulnerabilities in diffusers and the version that fixes them. It updates by itself.
Markdown
[](https://securityelites.com/ai-vulnerabilities/package/diffusers/)All records
- Diffusers: TOCTOU Trust Remote Code BypassUnknown · CVE-2026-45804 · fixed in 0.38.0 · 20 May 2026
- Diffusers is the a library for pretrained diffusion models. Prior to 0.38.0, diffusers 0.37.0 allows remote cUnknown · CVE-2026-44827 · fixed in 0.38.0 · 14 May 2026
- Diffusers has a `trust_remote_code` bypass via `custom_pipeline` and local custom componentsUnknown · CVE-2026-44513 · fixed in 0.38.0 · 7 May 2026