Skip to main content

Infinite Image Browsing CVE-2026-77814

| EUVDEUVD-2026-63992 HIGH
Path Traversal (CWE-22)
2026-08-21 VulnCheck GHSA-6p87-gwpg-qp8w
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 Stable Diffusion WebUI instance
  2. Delivery
    Confirm Infinite Image Browsing extension is active
  3. Exploit
    Identify an allowed directory prefix from API behavior or docs
  4. Install
    Craft HTTP request targeting a sibling path sharing that prefix
  5. C2
    Bypass is_path_trusted prefix-only comparison
  6. Execute
    FileResponse returns restricted file contents
  7. Impact
    Exfiltrate sensitive data

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the Infinite Image Browsing access control mechanism be active, which occurs under exactly two conditions: (1) the environment variable IIB_ACCESS_CONTROL is explicitly set to enable, or (2) the host Stable Diffusion WebUI process was started with any of the network-exposure flags --share, --ngrok, --listen, or --server_name, which automatically enables access control via get_enable_access_control. In standalone local deployments where none of these flags or environment variables are set, access control is inactive and all readable files are already served without restriction - this flaw adds no additional exposure in that scenario. A further prerequisite is that a sibling path exists on the server whose name begins with an allowed directory prefix (e.g., /data/images_private alongside allowed /data/images); if no such path exists, the bypass has no practical effect. No authentication is required per the CVSS 4.0 vector (PR:N), and no special user interaction is needed.

Impact

The CVSS 4.0 score of 8.7 (AV:N/AC:L/AT:N/PR:N/UI:N/VC:H) accurately reflects the severity within the subset of deployments where access control is active - namely, network-exposed instances where the flaw's confinement bypass is the only barrier between an attacker and sensitive files. Real-world risk is highly deployment-dependent: in fully local, non-networked instances without IIB_ACCESS_CONTROL=enable, access control is never invoked and the extension already serves all readable files, so this flaw adds no marginal exposure in those cases. EPSS data was not provided in the available intelligence, leaving exploitation probability unquantified beyond the absence of a KEV listing. The bypass technique requires no specialized tooling - it is directly reconstructible from the public GitHub patch diff - which elevates practical exploitability above what the absence of a standalone POC might suggest. No active exploitation has been confirmed by CISA KEV. The net assessment is that this warrants prompt patching for any deployment running with network-exposure flags, where the affected deployments are precisely those depending on this path check for security.

Exploit ScenarioDerived

An attacker targeting a Stable Diffusion WebUI instance started with --share or --listen sends a crafted HTTP GET request to the Infinite Image Browsing file-serving API using a path such as /data/images_private/model_config.yaml, where /data/images is a configured allowed directory. Because is_path_trusted evaluates path.startswith('/data/images') without a trailing separator, the path passes validation and FileResponse returns the file. The bypass technique is directly derivable from the public patch diff at PR #969 with no additional tooling required.

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

Path traversal in Infinite Image Browsing (zanllp/infinite-image-browsing), a Stable Diffusion WebUI extension, exposes arbitrary files outside configured allowed directories to unauthenticated remote attackers by exploiting a missing trailing path separator in the is_path_trusted prefix comparison. The bypass is only exploitable in network-exposed deployments - those started with --share, --ngrok, --listen, or --server_name flags, or with IIB_ACCESS_CONTROL=enable - which are precisely the configurations relying on this confinement for protection. No public exploit has been identified at time of analysis, but the bypass is trivially replicable from the public patch diff; an upstream fix is confirmed at commit 4057a624.

RemediationAI

Upstream fix available (PR/commit); released patched version not independently confirmed. Update the extension to a revision at or after commit 4057a624c7a23a36f0b4dc6a545b40767d602450 from https://github.com/zanllp/infinite-image-browsing/pull/969 - operators should verify whether a tagged release incorporating this commit has been published before relying on a version number alone. As a compensating control where patching is not immediately possible, operators can restrict file system access at the OS level by running the WebUI process under a dedicated low-privilege account with read permissions limited to only the intended image directories; this provides confinement independent of the application-layer check. If network-exposure flags (--share, --ngrok, --listen, --server_name) are not operationally required, removing them disables the access control mode entirely, eliminating this attack surface - though it also removes remote WebUI access. Setting IIB_ACCESS_CONTROL=disable has the same effect on the access control check but leaves the deployment without any path confinement. Consult the VulnCheck advisory for additional guidance.

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 browser-based image management extension for Stable Diffusion WebUI, identified by CPE cpe:2.3:a:zanllp:infinite-image-browsing:*:*:*:*:*:*:*:*. The vulnerable function is_path_trusted in scripts/iib/api.py (lines 329-344) evaluates whether a requested path falls within an allowed parent directory using Python's str.startswith(parent_path). Because no trailing os.sep is appended, a sibling directory whose name begins with the allowed prefix - e.g., /data/images_private passes the check for allowed path /data/images - satisfies the comparison and causes FileResponse to serve the file. This is a CWE-22 (Path Traversal) root cause in the form of a prefix-check bypass, distinct from classical ../ traversal. The companion fix in PR #969 also replaces os.path.normpath with os.path.realpath for path normalization, closing a potential symlink-based bypass vector. Access control activation logic lives in get_enable_access_control in scripts/iib/tool.py and is conditional on deployment mode.

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

Network-accessible in exposed deployments, no authentication required (PR:N) per CVSS 4.0 input; high confidentiality from arbitrary file read; no integrity or availability impact.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/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

is_path_trusted in scripts/iib/api.py compares the requested path against each allowed parent directory with path.startswith(parent_path), without appending a path separator. A directory whose name merely begins with an allowed path therefore satisfies the comparison, so where /data/images is allowed a request for /data/images_private/secret.txt is treated as trusted and served by FileResponse, disclosing files the confinement was meant to exclude. 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 compares against parent_path joined with os.sep.

Executive ViewAI

Why It Matters

Infinite Image Browsing, a popular Stable Diffusion WebUI extension, contains a path traversal vulnerability (CVSS 8.7) that exposes sensitive files and credentials to unauthenticated remote attackers in network-exposed configurations. No public exploit has been identified at time of analysis, but the flaw is trivially replicable from the public patch. Immediate patching is required for any organization using this extension with network sharing enabled.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.4%
Top 66% exploitable
Prevalence
Low
niche Stable Diffusion WebUI extension, limited enterprise footprint
Data Quality
6 sources
Confidence: High

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
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

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

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

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