Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-77814: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in zanllp infinite-image-browsing

0
High
VulnerabilityCVE-2026-77814cvecve-2026-77814
Published: 08/21/2026 (08/21/2026, 15:03:08 UTC)
Source: CVE Database V5
Vendor/Project: zanllp
Product: infinite-image-browsing

Description

CVE-2026-77814 is a high-severity path traversal vulnerability in zanllp infinite-image-browsing. The vulnerability arises from improper pathname validation in the is_path_trusted function, which incorrectly allows access to files in directories whose names start with allowed paths. This can lead to unauthorized disclosure of files outside the intended restricted directories. The vulnerability affects versions up to and including 1.8.0. The flaw is mitigated in network-exposed deployments that enable access control, but standalone runs without these options serve all readable files regardless of the flaw. A fix involves properly appending a path separator when validating paths.

CVSS v4.0

Score 8.7high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

GitHub Actionsmore threats →cve
infinite-image-browsing
pkg:github/infinite-image-browsing
Affected versions
<=1.8.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/21/2026, 15:23:13 UTC

Technical Analysis

The vulnerability in zanllp infinite-image-browsing (CVE-2026-77814) is due to improper limitation of a pathname to a restricted directory, specifically a path traversal issue. The is_path_trusted function in scripts/iib/api.py uses path.startswith(parent_path) to check if a requested path is within allowed directories but fails to append a path separator. Consequently, directories with names beginning with allowed paths (e.g., /data/images_private when /data/images is allowed) bypass the check, leading to unauthorized file disclosure via FileResponse. Access control depends on the get_enable_access_control function, which activates confinement when IIB_ACCESS_CONTROL is set to enable or when the host Stable Diffusion WebUI is started with network-exposing options (share, ngrok, listen, server_name). Standalone runs without these options do not enforce confinement, exposing all readable files. The fix corrects the check by comparing against parent_path joined with os.sep to ensure exact directory matching.

Potential Impact

This vulnerability allows an attacker to access and disclose files outside the intended restricted directories by exploiting the path traversal flaw. In network-exposed deployments with access control enabled, the flaw is active but confinement is enforced, limiting exposure. However, in standalone deployments without access control, all readable files are accessible regardless of the flaw. This can lead to sensitive data disclosure, impacting confidentiality.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The described fix involves modifying the pathname validation to append a path separator when comparing paths, preventing directory name prefix bypass. Until an official fix is available, ensure that access control is enabled (IIB_ACCESS_CONTROL set to enable) and avoid standalone deployments without confinement. Monitor vendor communications for patch releases.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulnCheck
Date Reserved
2026-08-21T14:14:43.820Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a8869e8acd9273b494e4711

Added to database: 08/21/2026, 15:08:24 UTC

Last enriched: 08/21/2026, 15:23:13 UTC

Last updated: 08/21/2026, 15:33:59 UTC

Views: 3

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses