Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CWE-59 (在文件访问前对链接解析不恰当(链接跟随)) — Vulnerability Class 559

559 vulnerabilities classified as CWE-59 (在文件访问前对链接解析不恰当(链接跟随)). AI Chinese analysis included.

CWE-59 represents a critical input validation weakness where software fails to properly resolve symbolic links or shortcuts before accessing a file. Attackers typically exploit this vulnerability by crafting malicious links that point to sensitive system files or directories outside the intended scope. When the application resolves these links without adequate checks, it inadvertently grants access to unauthorized resources, potentially leading to data leakage, privilege escalation, or remote code execution. To mitigate this risk, developers must implement rigorous link resolution controls, ensuring that all file paths are canonicalized and verified against a strict allowlist before any I/O operations occur. Utilizing secure API functions that explicitly handle link following, combined with strict permission checks on the final resolved path, effectively prevents attackers from leveraging symlinks to bypass security boundaries and access unintended system components.

MITRE CWE Description
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.
Common Consequences (2)
Confidentiality, Integrity, Access ControlRead Files or Directories, Modify Files or Directories, Bypass Protection Mechanism
An attacker may be able to traverse the file system to unintended locations and read or overwrite the contents of unexpected files. If the files are used for a security mechanism then an attacker may be able to bypass the mechanism.
OtherExecute Unauthorized Code or Commands
Windows simple shortcuts, sometimes referred to as soft links, can be exploited remotely since a ".LNK" file can be uploaded like a normal file. This can enable remote execution.
Mitigations (1)
Architecture and DesignFollow 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.
CVE IDTitleCVSSSeverityPublished
CVE-2026-6851 Improper link resolution before file access in Bitdefender Total Security via Link Following (VA-13681) — Total Security--2026-07-14
CVE-2026-15629 louisho5 picobot Workspace filesystem.go GetSkill link following — picobot 6.3 Medium2026-07-14
CVE-2026-15621 mosaxiv clawlet File Tools fs_ops.go edit_file link following — clawlet 5.3 Medium2026-07-14
CVE-2026-15681 AnyDesk Screen Recording Link Following Denial-of-Service Vulnerability — AnyDesk--2026-07-13
CVE-2026-15682 AnyDesk Support Information Link Following Denial-of-Service Vulnerability — AnyDesk--2026-07-13
CVE-2026-15684 Glarysoft Glary Utilities Link Following Local Privilege Escalation Vulnerability — Glary Utilities--2026-07-13
CVE-2026-62189 OpenClaw < 2026.6.9 Symlink Following via Mirror Sync — OpenClaw 7.1 High2026-07-13
CVE-2026-62239 FlashAttention Symlink Attack via tarfile.extractall in hopper/setup.py — flash-attention 6.6 Medium2026-07-13
CVE-2026-61858 ImageMagick before 7.1.2-26 Policy Bypass via APNG encoder — ImageMagick 3.3 Low2026-07-11
CVE-2026-14361 Consul-template is vulnerable to path redirection in writeToFile through symlink attack — Tooling 4.7 Medium2026-07-08
CVE-2026-14891 Nomad vulnerable to sandbox escape in Docker task driver — Nomad 8.7 High2026-07-08
CVE-2026-14966 Symlink guard bypass in unarchive module allows planting symlinks during extraction — BBOT 3.1 Low2026-07-08
CVE-2026-14904 RES Auth.GetUserPrivateKey Arbitrary File Read — res 6.5 Medium2026-07-07
CVE-2026-50135 Hugo: Symlink confinement bypass in resources.Get — hugo--2026-07-06
CVE-2026-58403 Hugo symlink confinement bypass in os.ReadFile — hugo--2026-07-06
CVE-2026-57991 Microsoft Edge (Chromium-based) Information Disclosure Vulnerability — Microsoft Edge (Chromium-based) 7.4 High2026-07-03
CVE-2026-25718 Gitea template repository generation mishandles symlinked paths — Gitea Open Source Git Server--2026-07-03
CVE-2026-46464 Dell PowerProtect Data Domain 后置链接漏洞 — PowerProtect Data Domain 4.9 Medium2026-07-03
CVE-2026-46468 Dell PowerProtect Data Domain 后置链接漏洞 — PowerProtect Data Domain 4.4 Medium2026-07-03
CVE-2026-44269 Dell PowerProtect Data Domain 后置链接漏洞 — PowerProtect Data Domain 4.4 Medium2026-07-03
CVE-2026-41121 Dell Device Management Agent 后置链接漏洞 — Device Management Agent 7.3 High2026-07-01
CVE-2026-46406 Claude Code: Insecure Temporary File in /copy Command Enables Response Disclosure and Symlink-Based File Write — claude-code--2026-06-29
CVE-2026-54371 attr < 2.6.0 Symlink Traversal Privilege Escalation via getfattr/setfattr — attr 7.1 High2026-06-29
CVE-2026-54369 acl < 2.4.0 Symlink Traversal Privilege Escalation via libacl Functions — acl 7.1 High2026-06-29
CVE-2026-45405 Dokku: Arbitrary File Write via Tar Symlink Traversal in git:from-archive and certs:add — dokku 9.0 Critical2026-06-26
CVE-2026-50549 Cursor Desktop sandbox escape via symlink and failed path canonicalization — cursor--2026-06-25
CVE-2026-53765 chrome-devtools-mcp: daemon.pid write follows symlinks in /tmp fallback runtime directory — chrome-devtools-mcp 6.1 Medium2026-06-24
CVE-2026-23879 py7zr: Arbitrary File Write Vulnerability — py7zr 8.0 High2026-06-24
CVE-2026-35025 ProFTPD ACL Bypass via /proc/self/root Path Prefix in RNFR — ProFTPD 8.1 High2026-06-24
CVE-2026-56692 NanoClaw < 2.1.17 - Arbitrary File Read via Symlink Following in forwardAttachedFiles — nanoclaw 5.5 Medium2026-06-23

Vulnerabilities classified as CWE-59 (在文件访问前对链接解析不恰当(链接跟随)) represent 559 CVEs. The CWE taxonomy describes the weakness; review individual CVEs for product-specific impact.