Description
Stable Diffusion WebUI through 1.10.1 contains a credential disclosure vulnerability in the /sdapi/v1/cmd-flags endpoint that returns parsed command-line arguments including gradio_auth and api_auth values in cleartext. Unauthenticated attackers can access this endpoint to retrieve configured usernames and passwords, then use them to authenticate to the interface and access the application.
Published: 2026-08-28
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: Credential Disclosure
Action: Patch
AI Analysis

Impact

The vulnerability exists in the /sdapi/v1/cmd-flags API endpoint of Stable Diffusion WebUI. It returns parsed command-line arguments in cleartext, including the gradio_auth and api_auth values that store the usernames and passwords set for the web interface. An attacker who can reach this endpoint without any authentication can read these credentials. Once the credentials are known, the attacker can log in to the web interface and obtain full access to the application, potentially allowing further exploitation of the installed environment. This constitutes a serious confidentiality compromise rooted in an information disclosure flaw (CWE-522).

Affected Systems

The issue affects AUTOMATIC1111 Stable Diffusion WebUI version 1.10.1 and earlier. Users running this version are at risk of having their authentication secrets exposed via the exposed /sdapi/v1/cmd-flags endpoint. No other product or version is currently known to be vulnerable.

Risk and Exploitability

The CVSS score of 8.7 reflects a high risk of credential leakage, and because the flaw is exploitable without authentication, the attack vector is network‑based and likely public. The EPSS score is not available, but the lack of a KEV listing does not reduce the likelihood that an attacker could discover and exploit the endpoint. In practice, any system that exposes the API to an untrusted network or the public internet can be compromised by simply sending an HTTP request to /sdapi/v1/cmd-flags and parsing the returned JSON. The rapid nature of this exploitation means that an attacker can obtain valid credentials almost immediately after discovering the vulnerability, thereby gaining full access to the web UI and any downstream services it controls.

Generated by OpenCVE AI on August 28, 2026 at 22:06 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest Stable Diffusion WebUI update that removes the credential disclosure from the /sdapi/v1/cmd-flags endpoint.
  • Restrict network access to the /sdapi/v1/cmd-flags endpoint using firewall or reverse‑proxy rules, allowing only trusted hosts or internal networks to reach it.
  • Enable authentication for the API or disable the API entirely if it is not required for your deployment.

Generated by OpenCVE AI on August 28, 2026 at 22:06 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 28 Aug 2026 22:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 28 Aug 2026 19:45:00 +0000

Type Values Removed Values Added
Description Stable Diffusion WebUI through 1.10.1 contains a credential disclosure vulnerability in the /sdapi/v1/cmd-flags endpoint that returns parsed command-line arguments including gradio_auth and api_auth values in cleartext. Unauthenticated attackers can access this endpoint to retrieve configured usernames and passwords, then use them to authenticate to the interface and access the application.
Title Stable Diffusion WebUI Credential Disclosure via /sdapi/v1/cmd-flags
First Time appeared Automatic1111
Automatic1111 stable-diffusion-webui
Weaknesses CWE-522
CPEs cpe:2.3:a:automatic1111:stable-diffusion-webui:*:*:*:*:*:*:*:*
Vendors & Products Automatic1111
Automatic1111 stable-diffusion-webui
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}

cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N'}


Subscriptions

Automatic1111 Stable-diffusion-webui
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-28T20:22:40.670Z

Reserved: 2026-08-28T11:12:53.387Z

Link: CVE-2026-82288

cve-icon Vulnrichment

Updated: 2026-08-28T20:22:37.338Z

cve-icon NVD

Status : Received

Published: 2026-08-28T20:20:20.393

Modified: 2026-08-28T22:16:56.783

Link: CVE-2026-82288

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-28T23:00:14Z

Weaknesses
  • CWE-522

    Insufficiently Protected Credentials