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

406 results · Clear filters · Feed

  • Medium 5.3

    Podman: WORKDIR symlink traversal vulnerability

    Podman is a tool for managing OCI containers and pods. From 3.0.0 until 5.7.1, running a malicious container image where the WORKDIR path contains a symlink can create a directory or modify ownership on the host filesystem. Modified ownership is less likely t…

  • 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…

  • 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…

  • 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…

  • 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…

  • 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…

  • Medium 6.5

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

  • Medium 6.3

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

  • 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…

  • 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…

  • 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 …

  • Medium 5.5

    FastNetMon Community Edition through 1.2.9 is vulnerable to a local symlink attack via predictable file paths in /tmp. …

  • Medium 5.5

    BentoML has Information Disclosure in `bentoml build` via symlink traversal in the build context

    BentoML is a Python library for building online serving systems optimized for AI apps and model inference. In versions 1.4.38 and prior, the build packaging workflow follows attacker-controlled symlinks inside the build context and copies the referenced file …

  • Medium 6.3

    Rsync < 3.4.3 Symlink Race Condition via Path-Based Syscalls

    Rsync version 3.4.2 and prior contain symlink race condition vulnerabilities in path-based system calls including chmod, lchown, utimes, rename, unlink, mkdir, symlink, mknod, link, rmdir, and lstat that allow local attackers to redirect operations to files o…

  • Medium 5.3

    An issue was discovered in the Portrait Dell Color Management application before 3.7.0 for Dell monitors. On Windows, a…

  • Medium 4.2

    npitre cramfs-tools cramfsck.c change_file_status symlink

    A vulnerability was detected in npitre cramfs-tools up to 2.2. Affected is the function change_file_status of the file cramfsck.c. Performing a manipulation results in symlink following. The attack requires a local approach. The exploit is now public and may …

  • Medium 6.0

    Nomad's exec2 task driver vulnerable to arbitrary file read/write on client host through symlink attack

    HashiCorp Nomad’s exec2 task driver prior to 0.1.2 is vulnerable to arbitrary file read and write on the client host as the Nomad process user through a symlink attack. This vulnerability (CVE-2026-8052) is fixed in version 0.1.2 of the exec2 task driver.

  • Medium 6.0

    Nomad vulnerable to arbitrary file read/write on client host through symlink attack

    HashiCorp Nomad and Nomad Enterprise prior to 2.0.1 are vulnerable to arbitrary file read and write on the client host as the Nomad process user through a symlink attack. This vulnerability (CVE-2026-6959) is fixed in Nomad 2.0.1, 1.11.5 and 1.10.11.

  • Medium 6.3

    Visual Studio Code Security Feature Bypass Vulnerability

    Improper neutralization of input during web page generation ('cross-site scripting') in Visual Studio Code allows an unauthorized attacker to bypass a security feature locally.

  • Medium 4.7
    CVE-2026-5061 Public exploit

    Consul-template vulnerable to sandbox path bypass in file helper via a symlink attack

    The consul-template library before version 0.42.0 is vulnerable to a sandbox path bypass in the file template helper that may allow reading an out-of-sandbox file. This vulnerability (CVE-2026-5061) is fixed in consul-template 0.42.0.

  • Medium 6.3

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

  • Medium 4.4

    NousResearch hermes-agent file_tools.py _check_sensitive_path symlink

    A security flaw has been discovered in NousResearch hermes-agent 0.8.0. This affects the function _check_sensitive_path of the file tools/file_tools.py. The manipulation results in symlink following. Attacking locally is a requirement. The exploit has been re…

  • Medium 6.8

    OpenClaw < 2026.3.31 - Sandbox Escape via Unrestricted File Sync and Symlink Traversal

    OpenClaw before 2026.3.31 contains a sandbox escape vulnerability allowing attackers to traverse directory boundaries through symlink exploitation during file synchronization operations. Remote attackers can bypass sandbox restrictions by crafting malicious s…

  • Medium 4.7

    Spring Boot's PID file write follows symlinks at predictable default path

    When an application is configured to use `ApplicationPidFileWriter`, a local attacker with write access to the PID file's location can corrupt one file on the host each time the application is started. Affected: Spring Boot 4.0.0–4.0.5 (fix 4.0.6), 3.5.0–3.5.…

  • Medium 6.6

    radare2 < 6.1.4 Project Notes Path Traversal via Symlink

    radare2 prior to 6.1.4 contains a path traversal vulnerability in its project notes handling that allows attackers to read or write files outside the configured project directory by importing a malicious .zrp archive containing a symlinked notes.txt file. Att…

  • Medium 6.6

    uutils coreutils mv Denial of Service and Data Duplication via Improper Symlink Expansion

    The mv utility in uutils coreutils improperly handles directory trees containing symbolic links during moves across filesystem boundaries. Instead of preserving symlinks, the implementation expands them, copying the linked targets as real files or directories…

  • Medium 4.7

    uutils coreutils cp Information Disclosure via Time-of-Check to Time-of-Use Symlink Swap

    A Time-of-Check to Time-of-Use (TOCTOU) vulnerability in the cp utility of uutils coreutils allows an attacker to bypass no-dereference intent. The utility checks if a source path is a symbolic link using path-based metadata but subsequently opens it without …

  • Medium 6.3

    uutils coreutils install Arbitrary File Overwrite with -D via Path Component Symlink Race

    A Time-of-Check to Time-of-Use (TOCTOU) vulnerability exists in the install utility of uutils coreutils when using the -D flag. The command creates parent directories and subsequently performs a second path resolution to create the target file, neither of whi…

  • Medium 6.3

    uutils coreutils install Arbitrary File Overwrite via Symlink TOCTOU Race

    The install utility in uutils coreutils is vulnerable to a Time-of-Check to Time-of-Use (TOCTOU) race condition during file installation. The implementation unlinks an existing destination file and then recreates it using a path-based operation without the O_…

  • Medium 6.7

    uutils coreutils Path-Based Safety Bypass with --preserve-root

    A vulnerability in the rm utility of uutils coreutils allows a bypass of the --preserve-root protection. The implementation uses a path-string check rather than comparing device and inode numbers to identify the root directory. An attacker or accidental user …

  • Medium 5.3

    uutils coreutils tail Privileged Information Disclosure via Symlink Replacement Race

    A vulnerability in the tail utility of uutils coreutils allows for the exfiltration of sensitive file contents when using the --follow=name option. Unlike GNU tail, the uutils implementation continues to monitor a path after it has been replaced by a symbolic…