Summary
CVE-2026-82288 is a credential disclosure vulnerability in AUTOMATIC1111’s Stable Diffusion WebUI, affecting versions through 1.10.1. The unauthenticated /sdapi/v1/cmd-flags REST API endpoint returns the application’s parsed command-line arguments in cleartext, including the credentials configured for --gradio_auth and --api_auth. An unauthenticated network attacker can use these disclosed credentials to log into the web UI, making this a high-severity issue (CVSS v4.0 8.7).
Technical details
- Root cause: the
/sdapi/v1/cmd-flagsAPI endpoint returns all parsed command-line launch arguments without filtering sensitive values, unlike the application’s/internal/sysinfoendpoint, which does redact sensitive fields. - Trigger conditions: the instance is launched with
--apienabled (exposing the REST API) and with--gradio-auth(and/or--api-auth) set to protect the UI/API; if--api-authitself is not set, the REST API routes, includingcmd-flags, are reachable without any authentication. - Attack vector: network — a remote, unauthenticated attacker sends a
GETrequest to/sdapi/v1/cmd-flagson an internet-exposed instance. - Impact: disclosure of plaintext credentials (username/password) configured for Gradio and/or API authentication, which can then be used to log into the web UI or API and access application functionality without authorization.
Affected software
- AUTOMATIC1111
stable-diffusion-webui, versions 0 through 1.10.1 (inclusive)
Severity
- CVSS v4.0: 8.7 (High) —
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 - CVSS v3.1: 7.5 (High) —
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Mitigation and recommended actions
- Immediate: no vendor-confirmed patched release has been identified at this time. Track the upstream GitHub issue (#17411) for a fix that filters credential fields out of the
cmd-flagsresponse. - Workarounds / network mitigations:
- Do not expose the Stable Diffusion WebUI REST API directly to the internet; restrict access via firewall, VPN, or allow-listing to trusted hosts only.
- If the API must be reachable remotely, always set
--api-authin addition to--gradio-auth, and use a unique, non-reused credential pair. - Rotate any Gradio/API credentials that may have been exposed, and audit access logs for requests to
/sdapi/v1/cmd-flags. - Avoid launching the service with
--listenon untrusted networks unless authentication and network-layer restrictions are both in place.
How IONIX identifies potentially affected assets
IONIX matches the following signals against data already collected when it crawled the asset; identifying the technology sends no request beyond that crawl.
- Raw response body:
stable-diffusion-webuiui-config.json,Cleanup non-default temporary directory when starting webui,API…Github…Gradio…Startup profile…Reload UI,id="txt2img_hires_fix_row1"

