Skip to content
MediumVulnerability

CVE-2024-31462: stable-diffusion-webui arbitrary JSON file write via Backup/Restore config save

Identifier
CVE-2024-31462
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.7%

Summary

stable-diffusion-webui 1.7.0 contains a limited file write flaw affecting Windows systems, tracked as CVE-2024-31462. User input entered into the config_save_name variable in the create_ui method (Backup/Restore tab) in modules/ui_extensions.py reaches save_config_state, where it builds a file path that is opened for writing. An attacker can write JSON files to any location on the server that the web server can access.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.