CVE-2024-31462

MediumCVSS 6.3/10Last modified Jun 17, 2026

Description

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.

Metrics

CVSS 3.1 6.3/10CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

Weakness enumeration

Affected software

No affected versions have been published.

Timeline

Published
Apr 12, 2024
Last modified
Jun 17, 2026
NVD status
Deferred

Related CVEs from 2024

CVE-2024-314634.7Ironic-image is an OpenStack Ironic deployment packaged and configured by Metal3. When the reverse proxy mode is enabled by the `IRONIC_REVECVE-2024-314644.9XWiki Platform is a generic wiki platform. Starting in version 5.0-rc-1 and prior to versions 14.10.19, 15.5.4, and 15.9-rc-1, it is possiblCVE-2024-314658.8XWiki Platform is a generic wiki platform. Starting in version 5.0-rc-1 and prior to versions 14.10.20, 15.5.4, and 15.9-rc-1, any user withCVE-2024-314669.8There are buffer overflow vulnerabilities in the underlying CLI service that could lead to unauthenticated remote code execution by sending CVE-2024-314679.8There are buffer overflow vulnerabilities in the underlying CLI service that could lead to unauthenticated remote code execution by sending CVE-2024-314689.8There are buffer overflow vulnerabilities in the underlying Central Communications service that could lead to unauthenticated remote code exCVE-2024-314699.8There are buffer overflow vulnerabilities in the underlying Central Communications service that could lead to unauthenticated remote code exCVE-2024-31474.3A vulnerability classified as problematic was found in DedeCMS 5.7. This vulnerability affects unknown code of the file /src/dede/makehtml_mCVE-2024-314709.8There is a buffer overflow vulnerability in the underlying SAE (Simultaneous Authentication of Equals) service that could lead to unauthentiCVE-2024-314719.8There is a command injection vulnerability in the underlying Central Communications service that could lead to unauthenticated remote code eCVE-2024-314729.8There are command injection vulnerabilities in the underlying Soft AP Daemon service that could lead to unauthenticated remote code executioCVE-2024-314739.8There is a command injection vulnerability in the underlying deauthentication service that could lead to unauthenticated remote code executi
CVE-2024-31462: Medium severity, CVSS 6.3 | Vulnix