Severity by source
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
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.
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
Lifecycle Timeline
3DescriptionCVE.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
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.
More in Infinite Image Browsing
View allSame weakness CWE-59 – Improper Link Resolution Before File Access
View allSame technique Information Disclosure
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-63993
GHSA-cw66-pfp5-82xp