Skip to content
OpenAdvisories

Weakness (CWE)

CWE-59: Improper Link Resolution Before File Access

Base Draft

The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.

How to prevent it (1 mitigation)
  1. Architecture and Design

    Follow the principle of least privilege when assigning access rights to entities in a software system.

    Denying access to a file can prevent an attacker from replacing that file with a link to a sensitive file. Ensure good compartmentalization in the system to provide protected areas that can be trusted.

Source: MITRE CWE-59

1,132 results · Feed

  • High 8.2

    File Browser: Out-of-scope file deletion by a Create-only scoped user via symlink-following RemoveAll in upload failure-cleanup

    File Browser is a file managing interface for uploading, deleting, previewing, renaming, and editing files within a specified directory. Prior to 2.63.16, a scoped, non-admin File Browser user holding only the Create permission can delete arbitrary files outs…

  • Medium 6.1

    chrome-devtools-mcp: daemon.pid write follows symlinks in /tmp fallback runtime directory

    Chrome DevTools for agents (chrome-devtools-mcp) lets your coding agent control and inspect a live Chrome browser. From 0.20.0 until 1.1.0, The chrome-devtools-mcp daemon writes its PID file with fs.writeFileSync() to a deterministic runtime path. On typical …

  • Medium 6.1

    chrome-devtools-mcp: validatePath() does not canonicalize symlinks before enforcing roots

    Chrome DevTools for agents (chrome-devtools-mcp) lets your coding agent control and inspect a live Chrome browser. From 0.24.0 until 1.1.0, McpContext.validatePath() enforces workspace roots by checking whether path.resolve(filePath) textually falls under one…

  • Critical 9.0

    Gogs: UploadRepoFiles writes outside repo working tree via committed parent sym

    Gogs is an open source self-hosted Git service. Prior to 0.14.3, (*Repository).UploadRepoFiles checks for symlinks only on the leaf of the upload target (osx.IsSymlink(targetPath)). The siblings UpdateRepoFile, DeleteRepoFile, and GetDiffPreview use hasSymlin…

  • High 8.0

    py7zr: Arbitrary File Write Vulnerability

    py7zr is a Python-based library and utility to support 7zip archive compression, decompression, encryption and decryption. Versions 1.1.2 and below contain an an arbitrary file write vulnerability, which allows symbolic links to be recreated outside the desti…

  • High 8.1

    ProFTPD ACL Bypass via /proc/self/root Path Prefix in RNFR

    ProFTPD through 1.3.9b and 1.3.10rc2 contains an access control bypass vulnerability that allows authenticated FTP users to circumvent Directory ACL restrictions by prefixing paths with /proc/self/root in the RNFR command handler. Attackers can exploit the un…

  • High 7.8

    tarfile extraction filter bypass allows escaping the destination directory

    tarfile.extractall() with the 'data' or 'tar' filter could be bypassed by a crafted archive where a hardlink references a symlink stored at a deeper name than the hardlink itself.  The extraction fallback validated the symlink at it's archived location but re…

  • Medium 5.5

    NanoClaw < 2.1.17 - Arbitrary File Read via Symlink Following in forwardAttachedFiles

    NanoClaw before 2.1.17 contains a symlink following vulnerability in forwardAttachedFiles that allows container-controlled agents to exfiltrate host-readable files. The host validates attachment filenames using only isSafeAttachmentName before copying with fs…

  • High 8.1

    Crawl4AI - Arbitrary File Write via output_path Symlink and TOCTOU

    Crawl4AI before 0.8.8 contains an arbitrary file write vulnerability in the screenshot and PDF endpoints that allows unauthenticated attackers to write files outside the intended directory via symlink and time-of-check-time-of-use (TOCTOU) attacks on the outp…

  • High —

    skillctl: argument injection, path traversal in --dest, FIFO/device DoS, hardlink exfiltration, and commit-trailer forgery

    ## Impact Following the path-safety patches in [GHSA-wx3m-whqv-xv47](https://github.com/umanio-agency/skillctl/security/advisories/GHSA-wx3m-whqv-xv47) (v0.1.2), a comprehensive multi-angle audit surfaced five further vulnerabilities, now patched in v0.1.3: 1…

  • High 7.8

    Dell Wyse Management Suite (WMS), versions prior to WMS 2605, contain an Improper Link Resolution Before File Access vu…

  • Medium 5.1

    LangChain: Path traversal and sandbox escape in LangChain file-search middleware and loaders

    LangChain is a framework for building agents and LLM-powered applications. Prior to 1.3.9, several LangChain components that resolve filesystem paths or expand search patterns do not consistently confine the resolved path to the intended root directory. Affec…

  • Medium 6.1

    Capgo CLI - Arbitrary File Overwrite via Symlink-Following in Local Credential Operations

    Capgo CLI before 12.128.2 contains arbitrary file overwrite vulnerabilities in login and build credentials operations that follow symlinks without validation. Attackers can create malicious symlinks in repositories to overwrite arbitrary files or expose crede…

  • Medium 6.1

    setupBpmLogs follows symlink for bpm.log open and chown — container-to-host privilege escalation via /etc/shadow. A com…

  • Low 2.2

    Symlink-following arbitrary write via github_workflows module

    The github_workflows module constructs local directory paths from user-controlled repository names without validating for symlinks. A local attacker sharing the scan directory can plant a symlink at the predictable output path, causing workflow data to be wri…

  • Medium 6.5

    Runtipi: Unauthenticated arbitrary file read through app-store logo symlinks

    Runtipi is a personal homeserver orchestrator. In versions 4.9.1 through 4.9.3, Runtipi serves marketplace app logos from files inside cloned app-store repositories through an unauthenticated endpoint, which leads to arbitrary file read through app-store logo…

  • High 7.8
    CVE-2026-50656 Public exploit EPSS 11%

    Microsoft Defender Elevation of Privilege Vulnerability

    Microsoft is aware of an elevation of privilege in the Microsoft Malware Protection Engine in Microsoft Defender publicly referred to as &quot;RoguePlanet &quot;.

  • High 7.0

    Abrt: event handler scripts follow symlinks when writing output files, allowing arbitrary file overwrites

    A symlink following vulnerability was found in the ABRT post-create event handler scripts in libreport. Event scripts write output files using shell redirections without the O_NOFOLLOW flag. If the target file is replaced with a symlink, the shell process run…

  • High 7.6

    Kitty has an arbitrary file overwrite via symlink following in `kitten dnd` remote drop staging

    Kitty is a cross-platform GPU based terminal. In versions 0.47.0 and 0.47.1, `kitten dnd` can allow a malicious remote drag-and-drop source to overwrite or truncate arbitrary files writable by the local kitty user. Remote `text/uri-list` drops are staged in a…

  • Medium 5.0

    Kitty has an Arbitrary File Write via Symlink Race Condition in File Transmission Protocol

    Kitty is a cross-platform GPU based terminal. In versions prior to 0.47.2, a local privilege escalation vulnerability exists in kitty's file transmission protocol where a child process running in the terminal can write to arbitrary files on the filesystem by …

  • Medium 5.5

    This issue was addressed with improved handling of symlinks. This issue is fixed in macOS Sequoia 15.4. An app may be a…

  • Medium 6.1

    bit7z: Arbitrary File Overwrite via Symlink Attack on Predictable Temp File During Archive Update

    bit7z is a cross-platform C++ static library that allows the compression/extraction of archive files. Prior to version 4.0.12, there is an arbitrary file overwrite vulnerability via symlink attack on predictable temp files during archive update. This issue ha…

  • Critical 9.6

    Assisted-migration-agent: vddk tarball chained-symlink arbitrary file write

    A flaw was found in assisted-migration-agent. An unauthenticated attacker, located on the same local area network (LAN), can exploit a path traversal vulnerability. By crafting a specially designed gzipped tarball, the attacker can bypass security checks and …

  • Medium 6.5

    Debusine is an integrated solution to build, distribute and maintain a Debian-based distribution. Debian source package…

  • High 7.3
    CVE-2026-11837 Public exploit

    Ansible-collection-ansible-posix: ansible.posix authorized_key: local privilege escalation via symlink-following chown

    A local privilege escalation vulnerability was found in the ansible.posix authorized_key module. The module's keyfile() function uses os.chown() instead of os.lchown() and opens files without O_NOFOLLOW when managing SSH authorized keys. An unprivileged local…

  • Medium 6.3

    Dell/Alienware Purchased Apps, versions prior to 1.1.32.0, contain an Improper Link Resolution Before File Access ('Lin…

  • High 7.8

    Microsoft PC Manager Elevation of Privilege Vulnerability

    Improper link resolution before file access ('link following') in Microsoft PC Manager allows an authorized attacker to elevate privileges locally.

  • High 7.8

    Winlogon Elevation of Privilege Vulnerability

    Improper link resolution before file access ('link following') in Winlogon allows an authorized attacker to elevate privileges locally.

  • High 7.8

    Windows Collaborative Translation Framework (CTFMON) Elevation of Privilege Vulnerability

    Improper link resolution before file access ('link following') in Windows Collaborative Translation Framework allows an authorized attacker to elevate privileges locally.

  • Medium 6.2

    .NET Tampering Vulnerability

    Improper link resolution before file access ('link following') in .NET allows an unauthorized attacker to perform tampering locally.

  • Medium 6.0

    Dell iDRAC Tools, versions prior to 11.4.1.0, contains an Improper Link Resolution Before File Access ('Link Following'…

  • Medium 6.5

    Hermes WebUI before 0.51.221 Path Traversal via Symlink Workspace Bypass

    Hermes WebUI prior to v0.51.221 contains a path traversal vulnerability that allows attackers to escape the workspace boundary by supplying symlinks that resolve to files or directories outside the designated workspace root. Attackers can exploit the workspac…

  • High 8.8

    Froxlor has privilege escalation in SSH key synchronization via symlinked `authorized_keys` path

    Froxlor is open source server administration software. Version 2.3.6 contains a symlink-following flaw in the root-owned SSH key synchronization path used for customer FTP users. The provisioning code appends public keys to `~/.ssh/authorized_keys` under a cu…

  • Medium 5.1

    Symlink Following in Hex Package Export Allows Embedding Files Outside Project Root

    Symlink following vulnerability in Gleam's Hex package export allows files outside the project root to be embedded in the generated package tarball. The file collection helpers (gleam_files, native_files, private_files) in compiler-cli/src/fs.rs use follow_li…

  • High 7.1

    CodexBar < 0.32.0 Insecure Temporary File Handling in Notarization Workflow

    CodexBar prior to 0.32.0 contains an insecure temporary file handling vulnerability that allows local attackers to access sensitive credentials or tamper with build artifacts by exploiting predictable file paths in the release notarization workflow. Attackers…

  • Medium 6.5

    Apache Airflow: Arbitrary File Read via Log Symlink following in FileTaskHandler

    A Dag author could either (a) create a symlink under their task's log directory pointing to an arbitrary file readable by the API server process (read-path attack — e.g. `/etc/passwd` or `airflow.cfg`) or (b) supply a `task_id` containing `..` sequences accep…

  • Medium 5.0

    Improper handling of symbolic links in the installer of CUPS Printer Driver for macOS(*) may allow a local attacker wit…

  • Medium 5.0

    Improper handling of symbolic links in the installer of My Image Garden for macOS Version 3.6.8 or earlier may allow a …

  • Low 2.0

    AnythingLLM: filesystem-copy-file follows nested symlinks and copies files from outside the allowed directory

    AnythingLLM is an application that turns pieces of content into context that any LLM can use as references during chatting. Prior to 1.13.0, the AnythingLLM agent filesystem copy tool validates only the top-level source and destination paths. The recursive co…

  • High 8.5
    CVE-2026-44881 Public exploit

    Portainer: Arbitrary File Read via Git Symlink Injection in Stack Auto-Update

    Portainer Community Edition is a lightweight service delivery platform for containerized applications that can be used to manage Docker, Swarm, Kubernetes and ACI environments. From 2.33.0 to before 2.33.8, 2.39.2, and 2.41.0, Portainer supports deploying sta…