HighVulnerability
CVE-2026-77815: Stable Diffusion WebUI IIB path containment bypass via symlinks
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-77815
- Published
- Record updated
- 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.
Related items
- MediumCVE-2026-143967: Wise Chat with AI unauthenticated stored cross-site scriptingSimilar attack, NVD/CVE Database
- MediumCVE-2026-135917: Apache Camel A2A component confused deputy via shared message headersSimilar attack, NVD/CVE Database
- MediumCVE-2026-107489: Improper Authentication vulnerability in Apache Camel A2A component. This issue affects Apache Camel: from 4.21.0…Similar attack, NVD/CVE Database
- MediumNSA urges immediate post-quantum shift after AI labs report cryptography breakthroughsSimilar attack, CSO Online
- LowPerplexity caught an AI attacker casing its cloudSimilar attack, CSO Online