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
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

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

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Symlink resolution safety
Exploitation Conditions

Exploitation requires two concurrent conditions to be met simultaneously. First, the Stable Diffusion WebUI must be started with at least one of the share, ngrok, listen, or server_name options - or IIB_ACCESS_CONTROL must be explicitly set to enable - so that path-based access control is active and the instance is reachable over a network. Second, the attacker must be able to create a symbolic link inside one of the configured scanned image directories; this requires local filesystem write access to those directories or an upload mechanism within the application that preserves or creates symlinks. Exploitation is explicitly limited to this symlink-planting prerequisite: an attacker with only HTTP access but no ability to write to the image directories cannot trigger the disclosure. Standalone local deployments started without networking flags have access control disabled entirely, making the confinement bypass moot - those instances are not remotely accessible regardless.

Impact

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. However, two factors significantly modulate real-world risk: first, the vulnerability is only reachable when the SD WebUI is started with network-sharing flags (share, ngrok, listen, server_name) or when IIB_ACCESS_CONTROL=enable is explicitly set - standalone local-only instances never engage the broken access control at all; second, exploitation requires pre-planting a symbolic link inside a scanned image directory, which demands local filesystem write access or an upload primitive capable of creating symlinks. The AT:N and PR:N ratings in the provided CVSS 4.0 vector do not account for the symlink-planting prerequisite, which overstates network exploitability - this discrepancy should be verified with the vendor. No EPSS data was provided and no CISA KEV listing or POC was identified, further supporting a moderate-to-high rather than critical immediate priority for most deployments. The primary real-world concern is shared or hosted SD WebUI instances where multiple users can write to image directories.

Exploit ScenarioDerived

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. No public exploit code has been identified at time of analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 21, 2026

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. No public exploit or CISA KEV listing has been identified at time of analysis; an upstream fix is available as commit 4057a624 (PR #969), but no specifically tagged patched release has been confirmed.

RemediationAI

The upstream fix is available as commit 4057a624c7a23a36f0b4dc6a545b40767d602450 via pull request #969 (https://github.com/zanllp/infinite-image-browsing/pull/969). Users should update to a release incorporating this commit; because no specifically tagged patched release has been confirmed, monitoring the repository for a tagged release following this commit is advised. As a manual compensating control, operators can patch scripts/iib/tool.py to replace os.path.normpath with os.path.realpath in the to_abs_path function (line 172), and apply the same realpath substitution to the parent_path normalization in scripts/iib/api.py - noting that this requires familiarity with the codebase and will be overwritten on future extension updates. To eliminate the network attack surface entirely, avoid starting the SD WebUI with the share, ngrok, listen, or server_name options; this disables remote access and renders the bypass moot. Restricting filesystem write permissions on scanned image directories to trusted users eliminates the symlink-planting prerequisite as an independent control, with no known side effects on normal browsing functionality.

Affected VersionsENISA

infinite-image-browsing 0 ≤1.8.0

Affected Packages

euvd infinite_image_browsing no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Infinite Image Browsing is a Stable Diffusion WebUI extension (CPE: cpe:2.3:a:zanllp:infinite-image-browsing:*:*:*:*:*:*:*:*) providing web-based browsing of SD output directories. The vulnerability is rooted in CWE-59 (Improper Link Resolution Before File Access - 'Link Following'): the to_abs_path function in scripts/iib/tool.py:172-175 normalizes requested paths with Python's os.path.normpath, which collapses dot segments but does not resolve symbolic links. The is_path_trusted function in scripts/iib/api.py:329-344 then performs a string prefix check to confirm the normalized path lies within a trusted scanned directory. Because normpath leaves symlink components intact, a symlink residing inside a scanned directory appears to satisfy the prefix check while its resolved target may reside anywhere on the filesystem. FastAPI's FileResponse subsequently follows the symlink when serving the file. The fix replaces normpath with os.path.realpath in both to_abs_path and the parent_path normalization inside is_path_trusted, and additionally hardens the prefix test to require a trailing path separator (path.startswith(parent_path + os.sep)) to prevent prefix-confusion attacks where a directory named images_evil could be confused with images.

Know when Infinite Image Browsing gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

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
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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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.

Executive ViewAI

Why It Matters

Infinite Image Browsing, a plugin for Stable Diffusion WebUI, contains a symlink escape vulnerability allowing attackers to read arbitrary files from affected servers. Organizations running network-exposed deployments with this plugin and access control enabled face data breach risk from exposure of sensitive system files and AI model data. Affected systems require immediate identification and patching to prevent unauthorized file access.

Business Impact: High
Compensating Controls

Patch available in upstream commit 4057a624 (PR #969); tagged release confirmation pending from vendor. Interim mitigations: disable network exposure of affected Stable Diffusion instances, implement Web Application Firewall rules blocking directory traversal patterns in image requests, or restrict IIB_ACCESS_CONTROL to trusted administrator access only until patched release is deployed.

Threat Intelligence Overview

EPSS Score
0.4%
Top 66% exploitable
Prevalence
Low
Stable Diffusion WebUI extension, niche AI art enthusiast footprint
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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