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-77815: Improper Link Resolution Before File Access ('Link Following') in zanllp infinite-image-browsing

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

Description

CVE-2026-77815 is a high-severity vulnerability in zanllp infinite-image-browsing that allows improper link resolution before file access. The issue arises because the application normalizes paths without resolving symbolic links, enabling an attacker to create symlinks inside image directories that point to arbitrary files outside the directory. This can lead to unauthorized disclosure of sensitive files such as /etc/passwd. The vulnerability's impact depends on the access control configuration, which is enabled in some network-exposed deployments but disabled in standalone runs, potentially exposing all readable files. The fix involves resolving paths with os.path.realpath to properly handle symbolic links.

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:00 UTC

Technical Analysis

The vulnerability in zanllp infinite-image-browsing stems from the to_abs_path function using os.path.normpath, which collapses dot segments but does not resolve symbolic links. This allows a symlink placed inside a scanned directory to bypass containment checks performed by is_path_trusted, as the symlink appears to be within the directory but points outside it. When FileResponse serves the file, it follows the symlink, disclosing files outside the intended directory. Access control is conditionally enabled based on environment variables and startup options, affecting whether the vulnerability is mitigated. The remediation is to replace os.path.normpath with os.path.realpath to resolve symlinks correctly.

Potential Impact

An attacker can exploit this vulnerability to read arbitrary files on the host system by placing symbolic links in image directories that point to sensitive files outside those directories. This can lead to unauthorized disclosure of sensitive information such as system password files. The risk is higher in standalone deployments where access control is disabled, allowing access to all readable files. Network-exposed deployments with access control enabled are less affected but still vulnerable if the configuration falls back to enabling access control improperly.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The vulnerability can be mitigated by ensuring that path resolution uses os.path.realpath to resolve symbolic links before access checks. Additionally, configuring the environment variable IIB_ACCESS_CONTROL to 'enable' and using network-exposed deployment options (share, ngrok, listen, server_name) activates confinement, reducing exposure. Until an official fix is available, avoid running standalone instances without access control enabled.

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.821Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a8869e8acd9273b494e4713

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

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

Last updated: 08/21/2026, 15:23:00 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