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 6.6

    python-dotenv: Symlink following in set_key allows arbitrary file overwrite via cross-device rename fallback

    python-dotenv reads key-value pairs from a .env file and can set them as environment variables. Prior to version 1.2.2, `set_key()` and `unset_key()` in python-dotenv follow symbolic links when rewriting `.env` files, allowing a local attacker to overwrite ar…

  • Medium 5.5

    Cisco ThousandEyes Enterprise Agent Arbitrary File Overwrite Vulnerability

    A vulnerability in the CLI of Cisco ThousandEyes Enterprise Agent could allow an authenticated, local attacker with low privileges to overwrite arbitrary files on the local system of an affected device. This vulnerability is due to improper access controls on…

  • Medium 6.6

    During an internal security assessment, a potential vulnerability was discovered in Lenovo Software Fix, that during in…

  • Medium 5.5

    Universal Plug and Play (upnp.dll) Information Disclosure Vulnerability

    Improper link resolution before file access ('link following') in Universal Plug and Play (upnp.dll) allows an authorized attacker to disclose information locally.

  • Medium 4.7

    util-linux: TOCTOU Race Condition in util-linux mount(8) - Loop Device Setup

    util-linux is a random collection of Linux utilities. Prior to version 2.41.4, a TOCTOU (Time-of-Check-Time-of-Use) vulnerability has been identified in the SUID binary /usr/bin/mount from util-linux. The mount binary, when setting up loop devices, validates …

  • Medium 5.8

    Claude SDK for Python: Memory Tool Path Validation Race Condition Allows Sandbox Escape

    The Claude SDK for Python provides access to the Claude API from Python applications. From version 0.86.0 to before version 0.87.0, the async local filesystem memory tool in the Anthropic Python SDK validated that model-supplied paths resolved inside the sand…

  • Medium 5.5

    This issue was addressed with improved handling of symlinks. This issue is fixed in macOS Sequoia 15.7.5, macOS Sonoma …

  • Medium 6.2

    This issue was addressed with improved validation of symlinks. This issue is fixed in iOS 18.7.7 and iPadOS 18.7.7, iOS…

  • Medium 6.5

    OpenClaw < 2026.2.25 - Symlink Traversal in Browser Trace/Download Path Handling

    OpenClaw versions prior to 2026.2.25 contain a symlink traversal vulnerability in browser trace and download output path handling that allows local attackers to escape the managed temp root directory. An attacker with local access can create symlinks to route…

  • Medium 6.5

    OpenClaw < 2026.2.25 - Time-of-Check-Time-of-Use via Mutable Symlink in system.run cwd Parameter

    OpenClaw versions prior to 2026.2.25 contain a time-of-check-time-of-use vulnerability in approval-bound system.run execution where the cwd parameter is validated at approval time but resolved at execution time. Attackers can retarget a symlinked cwd between …

  • Medium 5.5

    OpenClaw < 2026.2.22 - Symlink Traversal in Avatar Handling

    OpenClaw versions prior to 2026.2.22 contain a symlink traversal vulnerability in avatar handling that allows attackers to read arbitrary files outside the configured workspace boundary. Remote attackers can exploit this by requesting avatar resources through…

  • Medium 6.1

    OpenClaw < 2026.3.2 - Symlink Traversal in stageSandboxMedia Destination

    OpenClaw versions prior to 2026.3.2 contain a vulnerability in the stageSandboxMedia function in which it fails to validate destination symlinks during media staging, allowing writes to follow symlinks outside the sandbox workspace. Attackers can exploit this…

  • Medium 5.3

    OpenClaw < 2026.3.2 - Arbitrary File Write via ZIP Extraction Parent Symlink Race Condition

    OpenClaw versions prior to 2026.3.2 contain a race condition vulnerability in ZIP extraction that allows local attackers to write files outside the intended destination directory. Attackers can exploit a time-of-check-time-of-use race between path validation …

  • Medium 6.1

    OpenClaw < 2026.2.26 - Approval Bypass via Parent Symlink Current Working Directory Rebind

    OpenClaw versions prior to 2026.2.26 contain an approval bypass vulnerability in system.run execution that allows attackers to execute commands from unintended filesystem locations by rebinding writable parent symlinks in the current working directory after a…

  • Medium 6.1

    OpenClaw < 2026.2.24 - Sandbox Bind Validation Bypass via Symlink-Parent Missing-Leaf Paths

    OpenClaw versions prior to 2026.2.24 contain a sandbox bind validation vulnerability allowing attackers to bypass allowed-root and blocked-path checks via symlinked parent directories with non-existent leaf paths. Attackers can craft bind source paths that ap…

  • Medium 5.3

    OpenClaw < 2026.3.2 - Path Confinement Bypass in Browser Output and File Write Operations

    OpenClaw versions prior to 2026.3.2 contain a path-confinement bypass vulnerability in browser output handling that allows writes outside intended root directories. Attackers can exploit insufficient canonical path-boundary validation in file write operations…

  • Medium 6.8

    Consul vulnerable to arbitrary file reads through the vault kubernetes authentication provider

    HashiCorp Consul and Consul Enterprise 1.18.20 up to 1.21.10 and 1.22.4 are vulnerable to arbitrary file read when configured with Kubernetes authentication. This vulnerability, CVE-2026-2808, is fixed in Consul 1.18.21, 1.21.11 and 1.22.5.

  • Medium 6.9

    WeGIA affected by arbitrary file read via symlink in backup restore

    WeGIA is a web manager for charitable institutions. In 3.6.5, The patched loadBackupDB() extracts tar.gz archives to a temporary directory using PHP's PharData class, then uses glob() and file_get_contents() to read SQL files from the extracted contents. Neit…

  • Medium 6.3

    ImageMagick has a Path Policy TOCTOU symlink race bypass

    ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-16 and 6.9.13-41, domain="path" authorization is checked before final file open/use. A symlink swap between check-time and use-time bypasses…

  • Medium —

    OpenClaw has agent avatar symlink traversal in gateway session metadata

    ## Summary A crafted local avatar path could follow a symlink outside the agent workspace and return arbitrary file contents as a base64 `data:` URL in gateway responses. ## Impact - Confidentiality impact: local file read in the gateway process context. - Ex…

  • Medium 5.5

    RustDesk Client for Windows Transfer File Link Following Information Disclosure Vulnerability

    RustDesk Client for Windows Transfer File Link Following Information Disclosure Vulnerability. This vulnerability allows local attackers to disclose sensitive information on affected installations of RustDesk Client for Windows. An attacker must first obtain …

  • Medium 4.7

    Windows App for Mac Installer Elevation of Privilege Vulnerability

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

  • Medium 6.4
    CVE-2025-62676 Public exploit

    An Improper Link Resolution Before File Access ('Link Following') vulnerability [CWE-59] vulnerability in Fortinet Fort…

  • Medium 5.5

    Tanium addressed an arbitrary file deletion vulnerability in end-user-cx.

    Tanium addressed an arbitrary file deletion vulnerability in end-user-cx.

  • Medium 5.5

    Tanium addressed an arbitrary file deletion vulnerability in Tanium EUSS.

    Tanium addressed an arbitrary file deletion vulnerability in Tanium EUSS.

  • Medium 5.1

    Tanium addressed an arbitrary file deletion vulnerability in End-User Notifications Endpoint Tools.

    Tanium addressed an arbitrary file deletion vulnerability in End-User Notifications Endpoint Tools.

  • Medium 6.6

    Dell Display and Peripheral Manager (Windows) versions prior to 2.2 contain an Improper Link Resolution Before File Acc…

  • Medium 6.6

    Tanium addressed a local privilege escalation vulnerability in Engage.

    Tanium addressed a documentation issue in Engage.

  • Medium 5.0

    Tanium addressed an improper link resolution before file access vulnerability in Enforce.

    Tanium addressed an improper link resolution before file access vulnerability in Enforce.

  • Medium 6.1

    An Incorrect Symlink Follow vulnerability exists in multiple Yottamaster NAS devices, including DM2 (version equal to o…

  • Medium 6.1

    The ZSPACE Q2C NAS contains a vulnerability related to incorrect symbolic link following. Attackers can format a USB dr…

  • Medium 6.1

    The ORICO NAS CD3510 (version V1.9.12 and below) contains an Incorrect Symlink Follow vulnerability that could be explo…

  • Medium 5.1

    Read-Only Root Access via USB Storage Device in TP-Link VX800v

    Improper link resolution in USB HTTP access path in VX800v v1.0 allows a crafted USB device to expose root filesystem contents, giving an attacker with physical access read‑only access to system files.

  • Medium 6.9

    Access to System Files via SFTP on TP-Link VX800v

    Improper link resolution in the VX800v v1.0 SFTP service allows authenticated adjacent attackers to use crafted symbolic links to access system files, resulting in high confidentiality impact and limited integrity risk.

  • Medium 5.7

    Privilege escalation in TeamViewer DEX via DeleteFileByPath instruction

    Improper Link Resolution Before File Access (invoked by 1E‑Explorer‑TachyonCore‑DeleteFileByPath instruction) in TeamViewer DEX - 1E Client before version 26.1 on Windows allows a low‑privileged local attacker to delete protected system files via a crafted RP…

  • Medium 6.7

    pnpm has symlink traversal in file:/git dependencies

    pnpm is a package manager. Prior to version 10.28.2, when pnpm installs a `file:` (directory) or `git:` dependency, it follows symlinks and reads their target contents without constraining them to the package root. A malicious package containing a symlink to …

  • Medium 6.8

    miniserve affected by a TOCTOU and symlink race vulnerability

    A TOCTOU and symlink race in svenstaro/miniserve 0.32.0 upload finalization (when uploads are enabled) can allow an attacker to overwrite arbitrary files outside the intended upload/document root in deployments where the attacker can create/replace filesystem…

  • Medium 6.8

    openCryptoki has improper link resolution before file access (link following)

    openCryptoki is a PKCS#11 library and provides tooling for Linux and AIX. Versions 2.3.2 and above are vulnerable to symlink-following when running in privileged contexts. A token-group user can redirect file operations to arbitrary filesystem targets by plan…

  • Medium 6.3

    @backstage/cli-common has a possible `resolveSafeChildPath` Symlink Chain Bypass

    Backstage is an open framework for building developer portals, and @backstage/cli-common provides config loading functionality used by the backend and command line interface of Backstage. Prior to version 0.1.17, the `resolveSafeChildPath` utility function in…

  • Medium 5.5

    An improper link following vulnerability was reported in the SmartPerformanceAddin for Lenovo Vantage that could allow …