Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-77815— Infinite Image Browsing Resolves Paths With normpath, Allowing Symlink Escape From Scanned Directories

Quick assessment

Affected
zanllp infinite-image-browsing
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

中的 函数使用 对请求的路径进行了规范化处理。该操作会合并路径中的 和 等组件,但不会解析符号链接。因此,如果在被扫描的目录内放置一个符号链接,该链接可以满足 中 函数所执行的目录包含性检查,尽管其实际指向的是该目录之外的位置。当服务文件响应时, 会跟随符号链接,从而导致攻击者通过在图像目录中创建指向 等系统文件的符号链接,泄露这些文件的内容。 该安全检查是否生效取决于 中的 函数:当环境变量 设置为 时返回 ;设置为 时返回 ;否则,如果主程序 Stable Diffusion WebUI 是以 、 、 或 选项

CVSS 7.5 · High EPSS 0.41% · P34

Possible ATT&CK Techniques 1 AI

T1135 · Network Share Discovery

Affected Version Matrix 1

VendorProduct Version RangeStatus
zanllp infinite-image-browsing ≤ 1.8.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-77815

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Infinite Image Browsing Resolves Paths With normpath, Allowing Symlink Escape From Scanned Directories
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
在文件访问前对链接解析不恰当(链接跟随)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
zanllp infinite-image-browsing 0 ~ 1.8.0 -

II. Public POCs for CVE-2026-77815

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
Qwen3.6-35B-A3B · 5563 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-77815

登录查看更多情报信息。

Patches & Fixes for CVE-2026-77815 (2)

Vendor Advisories for CVE-2026-77815 (1)

Other References for CVE-2026-77815 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-77815

No comments yet


Leave a comment