Skip to main content

Infinite Image Browsing CVE-2026-77815

| EUVDEUVD-2026-63993 HIGH
Improper Link Resolution Before File Access (CWE-59)
2026-08-21 VulnCheck GHSA-cw66-pfp5-82xp
8.7
CVSS 4.0 · Vendor: VulnCheck
Share

Severity by source

Vendor (VulnCheck) PRIMARY
8.7 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
vuln.today AI
5.9 MEDIUM

AC:H reflects the symlink-planting prerequisite requiring filesystem write access; AV:N because the file-read exploit step occurs over HTTP with no required authentication.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
X

Lifecycle Timeline

3
Source Code Evidence Fetched
Aug 21, 2026 - 15:33 vuln.today
Analysis Generated
Aug 21, 2026 - 15:33 vuln.today
CVE Published
Aug 21, 2026 - 15:03 cve.org
HIGH 8.7

DescriptionCVE.org

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.

AnalysisAI

Symlink escape in Infinite Image Browsing (zanllp/infinite-image-browsing) allows remote attackers to read arbitrary files from the host filesystem by placing a symbolic link inside a scanned image directory, which satisfies a string-based path containment check that does not resolve symlinks. The flaw is exploitable only in network-exposed Stable Diffusion WebUI deployments where access control is active - those started with share, ngrok, listen, or server_name options, or with IIB_ACCESS_CONTROL=enable. …

Unlock full vulnerability intelligence

  • Risk assessment & exploitation conditions
  • Attack chain visualization
  • Remediation with exact patch versions
  • Threat intelligence from 22 sources
  • Personal watchlist & email alerts

Free forever · No credit card required

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata

Recon
Identify network-exposed IIB instance (ngrok/share mode)
Delivery
Obtain write access to scanned image directory
Exploit
Create symlink inside directory targeting /etc/passwd
Install
Send HTTP file-browse request for symlink path
C2
normpath-based prefix check passes containment test
Execute
FileResponse follows symlink to target
Impact
Sensitive file contents disclosed over HTTP

Vulnerability AssessmentAI

Exploitation Exploitation requires two concurrent conditions to be met simultaneously. … Additional conditions and limiting factors are described in the full assessment.
Risk Assessment The CVSS 4.0 score of 8.7 (AV:N/AC:L/AT:N/PR:N/UI:N/VC:H) reflects fully unauthenticated network exploitation with high confidentiality impact, which is consistent with a file-disclosure primitive on an exposed HTTP service. … Full risk analysis with EPSS, KEV, and SSVC signal comparison available after sign-in.
Exploit Scenario An attacker with write access to a scanned image directory on a network-exposed Infinite Image Browsing instance - for example, a shared SD WebUI exposed via ngrok - creates a symbolic link named portrait.png inside the images directory pointing to /etc/shadow. When the attacker requests this file via the HTTP browse API, is_path_trusted confirms the normpath-collapsed path appears to reside within the trusted directory and FileResponse follows the symlink, returning the contents of the target system file. …
Remediation The upstream fix is available as commit 4057a624c7a23a36f0b4dc6a545b40767d602450 via pull request #969 (https://github.com/zanllp/infinite-image-browsing/pull/969). … Detailed patch versions, workarounds, and compensating controls in full report.

Recommended ActionAI

Within 24 hours, identify all Stable Diffusion WebUI instances with Infinite Image Browsing plugin and network exposure (configured with share, ngrok, listen, server_name options, or IIB_ACCESS_CONTROL=enable) and assess accessibility from untrusted networks. …

Sign in for detailed remediation steps and compensating controls.

Threat intelligence, references, and detailed analysis are available after sign-in.

Share

CVE-2026-77815 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy