CVE-2026-77815: Improper Link Resolution Before File Access ('Link Following') in zanllp infinite-image-browsing
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.
AI Analysis
Technical Summary
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.
CVE-2026-77815: Improper Link Resolution Before File Access ('Link Following') in zanllp 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
Affected software
pkg:github/infinite-image-browsingRun 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
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.