SEPTEMBER 19, 2026
Live Feed
Back to database
Case File

CVE-2026-77815

HIGH · CVSS 7.5 EPSS 0.41% Public Exploit

Source: NVD + CISA KEV + EPSS · Published 2026-08-21 · Last synced 2026-09-18

CyberRota Analysis

AI-Generated

The vulnerability arises from the improper handling of symbolic links in the path normalization process within the application, allowing an attacker to exploit this flaw by placing a symlink in a scanned directory that points to sensitive files outside of it, such as /etc/passwd. This could lead to unauthorized file disclosure, particularly in deployments of the Stable Diffusion WebUI that do not have access control enabled. Organizations using this software, especially those exposing the WebUI to the network, should prioritize patching this vulnerability to mitigate the risk of sensitive data exposure.

Public Exploit Signal

A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.

Note: these links are listed for security research and verification purposes only.

CVE
CVE-2026-77815
Severity
HIGH
CVSS
7.5
EPSS
0.41%

Original NVD Description

to_abs_path in scripts/iib/tool.py normalised the requested path with os.path.normpath, which collapses dot segments but does not resolve symbolic links. A symlink placed inside a scanned directory therefore satisfies the containment comparison performed by is_path_trusted in scripts/iib/api.py while pointing outside that directory, and FileResponse follows the link when serving the response, so a link created in an image directory and targeting a file such as /etc/passwd discloses that file. Whether the check applies depends on get_enable_access_control in scripts/iib/tool.py: it returns true when IIB_ACCESS_CONTROL is set to enable, false when set to disable, and otherwise true when the host Stable Diffusion WebUI was started with share, ngrok, listen or server_name, falling back to false. Confinement is therefore active in the network-exposed WebUI deployments that rely on it, while a standalone run with no such option serves every readable file regardless of this flaw. The fix resolves the path with os.path.realpath.