Skip to content
HighVulnerability

CVE-2026-77815: Stable Diffusion WebUI IIB path containment bypass via symlinks

Identifier
CVE-2026-77815
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.5%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

CVE-2026-77815 affects to_abs_path in scripts/iib/tool.py, which normalises paths with os.path.normpath and does not resolve symbolic links. A symlink inside a scanned directory can pass the containment check in is_path_trusted (scripts/iib/api.py) while pointing outside it, and FileResponse follows the link, so a link targeting /etc/passwd discloses that file. The check is enforced only when get_enable_access_control returns true, which depends on IIB_ACCESS_CONTROL or on the WebUI being started with share, ngrok, listen or server_name.

Mitigation

The fix resolves the path with os.path.realpath.