Read the docs
TI-2026-54194 Aliases CVE-2026-77815GHSA-cw66-pfp5-82xp

Infinite Image Browsing Resolves Paths With normpath, Allowing Symlink Escape From Scanned Directories

Priority HIGH 77CWE-59Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Information disclosure
Confidentiality · integrity · availability
High · None · None
Fix status
No fix listed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-59 and the CVSS impact.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00505 43rd percentileScored 2026-11-07
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
zanllpinfinite-image-browsingup to 1.8.0—No fix listedCNA
  • infinite-image-browsing Vendorzanllp Affected up to 1.8.0 Fixed in — No fix listed CNA

Remediation

No fixed version listed by the sources yet.

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-77815
  2. 2026-10-03 Alias added: GHSA-cw66-pfp5-82xp

References

  • TI-2026-54193 Infinite Image Browsing is_path_trusted Prefix Comparison Omits the Trailing Path Separator CVSS 4.0HIGH 8.7
  • TI-2023-24928 The zanllp sd-webui-infinite-image-browsing (aka Infinite Image Browsing) extension… CVSS 3.1HIGH 7.5

Sources