Skip to content
Threat Feed
high threat exploited

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

Stable Diffusion WebUI versions 1.10.1 and earlier contain a credential disclosure vulnerability allowing unauthenticated remote attackers to retrieve cleartext authentication credentials.

CVE search metadata

CVE search record: CVE-2026-82288. Severity: high. CVSS: 7.5. KEV: no. Product: Stable Diffusion WebUI (<= 1.10.1). Brief: Credential Disclosure in Stable Diffusion WebUI via /sdapi/v1/cmd-flags. Brief link: https://feed.craftedsignal.io/briefs/2026-08-stable-diffusion-credential-disclosure/

Stable Diffusion WebUI versions through 1.10.1 contain a significant credential disclosure vulnerability located within the /sdapi/v1/cmd-flags endpoint. This endpoint, intended for administrative visibility, improperly exposes parsed command-line arguments to any unauthenticated user who sends a request to the API. Specifically, the response includes the gradio_auth and api_auth configuration parameters, which frequently contain usernames and passwords defined at startup to secure the application. An attacker with network access to the Stable Diffusion instance can exploit this flaw to bypass authentication controls, potentially gaining full control over the AI image generation interface. This represents a critical risk for deployments exposed to the internet or untrusted internal networks, as it allows for trivial credential harvesting without requiring prior access or interaction.

Impact

Successful exploitation results in the exposure of administrative or user credentials, enabling unauthorized access to the application interface. This can lead to the unauthorized execution of compute-intensive image generation tasks, modification of system configurations, or exfiltration of sensitive generated content. Organizations hosting Stable Diffusion WebUI instances that rely on these authentication flags for basic access control are at risk of complete account takeover.

Recommendation

  1. Upgrade Stable Diffusion WebUI to a version post-1.10.1 that remediates this information disclosure.
  2. Implement strict network-level access controls to ensure the web application and its API endpoints are not reachable from the public internet.
  3. Deploy the webserver-level detection rule provided below to identify unauthorized scanning or direct requests to the vulnerable API path.
  4. Rotate any credentials identified in the command-line arguments (gradio_auth and api_auth) if the system has been accessible to untrusted parties.

Immediate actions

Review perimeter firewall logs for traffic to the /sdapi/v1/cmd-flags endpoint

SOC 24h

Mitigations

Upgrade Stable Diffusion WebUI to a patched version beyond 1.10.1

immediate IT Operations

CVE-2026-82288

Detection coverage 1

Detect CVE-2026-82288 Exploitation - Unauthorized Access to cmd-flags Endpoint

high

Detects unauthorized GET requests to the vulnerable /sdapi/v1/cmd-flags endpoint, which may indicate an attempt to harvest credentials.

sigma tactics: credential_access techniques: T1552.001 sources: webserver

Detection queries are available on the platform. Get full rules →