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.8

    himmelblaud-tasks: local privilege escalation via /tmp symlink attack on Kerberos ccache

    Himmelblau is an interoperability suite for Microsoft Azure Entra ID and Intune. Prior to 3.1.0 and 2.3.8, the himmelblaud-tasks daemon, running as root, writes Kerberos cache files under /tmp/krb5cc_<uid> without symlink protections. Since commit 87a51ee, Pr…

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

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

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

  • High 8.2
    CVE-2026-29786 Public exploit

    node-tar: Hardlink Path Traversal via Drive-Relative Linkpath

    node-tar is a full-featured Tar for Node.js. Prior to version 7.5.10, tar can be tricked into creating a hardlink that points outside the extraction directory by using a drive-relative link target such as C:../target.txt, which enables file overwrite outside …

  • High 7.8

    Avira Internet Security Arbitrary File Deletion via Improper Link Resolution

    Avira Internet Security contains an improper link resolution vulnerability in the Software Updater component. During the update process, a privileged service running as SYSTEM deletes a file under C:\\ProgramData without validating whether the path resolves t…

  • High —

    OpenClaw: Hardlink alias checks could bypass workspace-only file boundaries in specific configurations

    ### Summary In certain workspace-restricted configurations, OpenClaw could follow hardlink aliases inside the workspace that reference files outside the workspace boundary. By default, `tools.fs.workspaceOnly` is off. This primarily affects deployments that i…

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

  • High —

    OpenClaw: Zip extraction symlink traversal could write outside destination

    ### Summary A path confinement bypass in OpenClaw ZIP extraction allowed writes outside the intended destination when a pre-existing symlink was present under the extraction root. ### Affected Packages / Versions - Package: `openclaw` (npm) - Latest published…

  • High 8.6

    BentoML has an Arbitrary File Write via Symlink Path Traversal in Tar Extraction

    BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Prior to 1.4.36, the safe_extract_tarfile() function validates that each tar member's path is within the destination directory, but for symlink members …

  • High —

    OpenClaw: Sandbox media fallback tmp symlink alias bypass allows host file reads outside sandboxRoot

    ### Summary A sandbox path validation bypass in `openclaw` allows host file reads outside `sandboxRoot` via the media path fallback tmp flow when the fallback tmp root is a symlink alias. ### Affected Packages / Versions - Package: `npm openclaw` - Affected v…

  • High 7.3

    Dell Optimizer, versions prior to 6.3.1, contain an Improper Link Resolution Before File Access ('Link Following') vuln…

  • High 7.1
    CVE-2025-66680 Public exploit

    An issue in the WiseDelfile64.sys component of WiseCleaner Wise Force Deleter 7.3.2 and earlier allows attackers to del…

  • High —

    OpenClaw: Sandbox media TOCTOU could read files outside sandbox root

    ### Summary Sandbox media handling had a time-of-check/time-of-use gap: media paths could be validated first and read later through a separate path. A symlink retarget between those steps could cause reads outside `sandboxRoot`. ### Impact Affected versions c…

  • High —

    OpenClaw's TOCTOU symlink race in writeFileWithinRoot could create or truncate files outside root boundaries

    ### Summary A symlink-retarget TOCTOU race in `writeFileWithinRoot` could point an attacker-controlled path alias outside the configured root between resolution and write operations. ### Impact Affected versions could cause out-of-root write side effects (inc…

  • High 8.4

    In multiple locations, there is a possible way to delete media without the MANAGE_EXTERNAL_STORAGE permission due to an…

  • High 7.1

    Symlink Escape in Agent File Tools

    Zed, a code editor, has a symlink escape vulnerability in versions prior to 0.225.9 in Agent file tools (`read_file`, `edit_file`). It allows reading and writing files **outside the project directory** when a project contains symbolic links pointing to extern…

  • High 7.4
    CVE-2025-63946 Public exploit

    A privilege escalation (PE) vulnerability in the Tencent PC Manager app thru 17.10.28554.205 on Windows devices enables…

  • High 7.4
    CVE-2025-63945 Public exploit

    A privilege escalation (PE) vulnerability in the Tencent iOA app thru 210.9.28693.621001 on Windows devices enables a l…

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

  • High 7.8

    Softland FBackup Backup/Restore HID.dll link following

    A security flaw has been discovered in Softland FBackup up to 9.9. This impacts an unknown function in the library C:\Program Files\Common Files\microsoft shared\ink\HID.dll of the component Backup/Restore. The manipulation results in link following. The atta…

  • High 8.5

    Intego Personal Backup Task File Privilege Escalation

    Intego Personal Backup, a macOS backup utility that allows users to create scheduled backups and bootable system clones, contains a local privilege escalation vulnerability. Backup task definitions are stored in a location writable by non-privileged users whi…

  • High 7.8

    This issue was addressed with improved handling of symlinks. This issue is fixed in macOS Tahoe 26.3. An app may be abl…

  • Critical 9.2

    QTS, QuTS hero

    A link following vulnerability has been reported to affect several QNAP operating system versions. The remote attackers can then exploit the vulnerability to traverse the file system to unintended locations. We have already fixed the vulnerability in the foll…

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

  • High 7.8

    Tanium addressed a local privilege escalation vulnerability in Patch Endpoint Tools.

    Tanium addressed a local privilege escalation vulnerability in Patch Endpoint Tools.

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

  • High 7.8

    Tanium addressed a local privilege escalation vulnerability in Patch Endpoint Tools.

    Tanium addressed a local privilege escalation vulnerability in Patch 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.

  • High 8.4

    Compressing Vulnerable to Arbitrary File Write via Symlink Extraction

    Compressing is a compressing and uncompressing lib for node. In version 2.0.0 and 1.10.3 and prior, Compressing extracts TAR archives while restoring symbolic links without validating their targets. By embedding symlinks that resolve outside the intended extr…

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