CVE-2026-82288

Stable Diffusion WebUI Credential Disclosure via /sdapi/v1/cmd-flags

Published Aug 28, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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 available
History
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses
  • CWE-522

    Insufficiently Protected Credentials

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Sep 24, 2026, 2:20 PM
Reserved
Aug 28, 2026, 11:12 AM
Status
Awaiting Analysis
Published
Aug 28, 2026, 8:20 PM
Modified
Sep 24, 2026, 8:28 PM