Read the docs
TI-2024-20826 Aliases CVE-2024-31462

Limited file write in Stable-diffusion-webui - GHSL-2024-010

Priority LOW 29CWE-22Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
Low · Low · Low
Fix status
No fix listed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA.

Summary

stable-diffusion-webui is a web interface for Stable Diffusion, implemented using Gradio library. Stable-diffusion-webui 1.7.0 is vulnerable to a limited file write affecting Windows systems. The create_ui method (Backup/Restore tab) in modules/ui_extensions.py takes user input into the config_save_name variable on line 653. This user input is later used in the save_config_state method and used to create a file path on line 65, which is afterwards opened for writing on line 67, which leads to a limited file write exploitable on Windows systems. This issue may lead to limited file write. It allows for writing json files anywhere on the server where the web server has access.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.0068 52nd percentileScored 2026-11-07
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
AUTOMATIC1111stable-diffusion-webuiup to 1.8.0—No fix listedCNA
  • stable-diffusion-webui VendorAUTOMATIC1111 Affected up to 1.8.0 Fixed in — No fix listed CNA

Remediation

No fixed version listed by the sources yet.

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-31462

References

  • TI-2026-56753 Stable Diffusion WebUI Credential Disclosure via /sdapi/v1/cmd-flags CVSS 4.0HIGH 8.7
  • TI-2024-10233 Cross-Site WebSocket Hijacking (CSWSH) in automatic1111/stable-diffusion-webui CVSS 3.0CRITICAL 9.6
  • TI-2024-10136 Unauthenticated DoS via Multipart Boundary in automatic1111/stable-diffusion-webui CVSS 3.0HIGH 7.5
  • TI-2026-76141 Cross-site scripting in stable-diffusion-webui Card Builder CVSS 4.0MEDIUM 5.3
  • TI-2024-11481 Local File Inclusion in automatic1111/stable-diffusion-webui CVSS 3.0MEDIUM 6.5
  • TI-2024-11201 Denial of Service in automatic1111/stable-diffusion-webui CVSS 3.0MEDIUM 6.5
See all 11 →

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences