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.
Severity (CVSS)
| Base score | 8.7 |
|---|---|
| Severity | High |
| Version | CVSS 4.0 |
| 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 |
| Provided by | CNA |
Weaknesses
- CWE-522 — Insufficiently Protected Credentials
Affected products
| Vendor | Product | Versions |
|---|---|---|
| AUTOMATIC1111 | stable-diffusion-webui | 0 to <=1.10.1 |
References
- https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/17411 (issue-tracking)
- https://github.com/AUTOMATIC1111/stable-diffusion-webui (product)
- https://github.com/AUTOMATIC1111/stable-diffusion-webui/blob/82a973c04367123ae98bd9abdf80d9eda9b910e2/modules/api/api.py (technical-description)
- https://www.vulncheck.com/advisories/stable-diffusion-webui-credential-disclosure-via-sdapi-v1-cmd-flags (third-party-advisory)
Generated from the official CVE List on 29 Aug 2026 07:07 UTC.