CVE-2024-12375 Local File Inclusion in automatic1111/stable-diffusion-webui
Attackers can read arbitrary files on the system via crafted requests in Stable Diffusion WebUI, exposing sensitive data.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-12375?
CVE-2024-12375 is a medium-severity path traversal vulnerability in automatic1111/stable-diffusion-webui, published on 20 Mar 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A local file inclusion vulnerability was identified in automatic1111/stable-diffusion-webui, affecting version git 82a973c. This vulnerability allows an attacker to read arbitrary files on the system by sending a specially crafted request to the application.
Weakness: CWE-36
Which versions are affected by CVE-2024-12375?
It affects 1 product.
Products include Automatic1111 Stable-Diffusion-Webui.
How do I fix CVE-2024-12375?
No fix has been published for CVE-2024-12375 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2024-12375 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-12375 exists.
Other vulnerabilities in automatic1111/stable-diffusion-webui
- CVE-2024-11045 Cross-Site WebSocket Hijacking (CSWSH) in automatic1111/stable-diffusion-webui
- CVE-2024-10935 Unauthenticated DoS via Multipart Boundary in automatic1111/stable-diffusion-webui
- CVE-2024-12074 Denial of Service in automatic1111/stable-diffusion-webui
- CVE-2024-11044 Open Redirect in automatic1111/stable-diffusion-webui
- CVE-2024-12374 Stored XSS in automatic1111/stable-diffusion-webui
Sources
Also known as GHSA-q73m-3cg7-m23w.