CVE-2024-12375 Local File Inclusion in automatic1111/stable-diffusion-webui

Medium 6.5 Published Updated

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.

Sources

Also known as GHSA-q73m-3cg7-m23w.

Is CVE-2024-12375 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free