cve.bz

CWE-59: Improper Link Resolution Before File Access (Link Following), published in 2026, page 8

Filter

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.

What the weakness is: CWE-59 at MITRE. OWASP Top 10: A01:2025 Broken Access Control. All weaknesses

Related attack patterns (CAPEC): 4
  • CAPEC-17 Using Malicious Files Likelihood: High · Severity: Very High
  • CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-132 Symlink Attack Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to CWE-59, as MITRE names them. Credits.

Ask an AI about CWE-59

Show the promptExplain CWE-59: Improper Link Resolution Before File Access and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/59.html and https://cve.bz/cve/cwe/59?via=ask-ai-copy for recent CVEs with this weakness. Cite the sources.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this weakness's id and public links.

By year: all 2026 2025 2024 2023 2022 2021

  1. 3.8CVE-2026-65066egor data ringbuffer sharedEPSS 0.1%

    Data::RingBuffer::Shared versions before 0.04 for Perl create a world-readable mmap backing file and open it without O_EXCL or O_NOFOLLOW. The segment is created in ring.h with open(path, O_RDWR|O_CREAT, 0666). The mode is 0666, so under …

  2. 5.5CVE-2026-65065egor data roaringbitmap sharedEPSS 0.1%

    Data::RoaringBitmap::Shared versions before 0.02 for Perl create a world-readable mmap backing file and open it without O_EXCL or O_NOFOLLOW. The segment is created in roaring.h with open(path, O_RDWR|O_CREAT, 0666). The mode is 0666, so …

  3. 3.8CVE-2026-65064egor data hashmap sharedEPSS 0.1%

    Data::HashMap::Shared versions before 0.14 for Perl create a world-readable mmap backing file and open it without O_EXCL or O_NOFOLLOW. The segment is created in shm_generic.h with open(path, O_RDWR | O_CREAT | O_CLOEXEC, 0666). The mode …

  4. 3.8CVE-2026-65063egor data radixtree sharedEPSS 0.1%

    Data::RadixTree::Shared versions before 0.02 for Perl create a world-readable mmap backing file and open it without O_EXCL or O_NOFOLLOW. The segment is created in radix.h with open(path, O_RDWR|O_CREAT, 0666). The mode is 0666, so under …

  5. 3.8CVE-2026-65062egor data sortedset sharedEPSS 0.1%

    Data::SortedSet::Shared versions before 0.03 for Perl create a world-readable mmap backing file and open it without O_EXCL or O_NOFOLLOW. The segment is created in sortedset.h with open(path, O_RDWR|O_CREAT, 0666). The mode is 0666, so un…

  6. 3.8CVE-2026-65061egor data reqrep sharedEPSS 0.1%

    Data::ReqRep::Shared versions before 0.05 for Perl create a world-readable mmap backing file and open it without O_EXCL or O_NOFOLLOW. The segment is created in reqrep.h with open(path, O_RDWR | O_CREAT, 0666), for both the request-reply …

  7. 3.8CVE-2026-64617egor data pubsub sharedEPSS 0.1%

    Data::PubSub::Shared versions before 0.07 for Perl create a world-readable mmap backing file and open it without O_EXCL or O_NOFOLLOW. The segment is created in pubsub.h with open(path, O_RDWR|O_CREAT, 0666). The mode is 0666, so under th…

  8. 3.3CVE-2026-64616egor data ndarray sharedEPSS 0.1%

    Data::NDArray::Shared versions before 0.02 for Perl create a world-readable mmap backing file and open it without O_EXCL or O_NOFOLLOW. The segment is created in ndarray.h with open(path, O_RDWR|O_CREAT, 0666). The mode is 0666, so under …

  9. 3.3CVE-2026-64615egor data graph sharedEPSS 0.1%

    Data::Graph::Shared versions before 0.04 for Perl create a world-readable mmap backing file and open it without O_EXCL or O_NOFOLLOW. The segment is created in graph.h with open(path, O_RDWR|O_CREAT, 0666). The mode is 0666, so under the …

  10. 3.8CVE-2026-64614egor data deque sharedEPSS 0.1%

    Data::Deque::Shared versions before 0.06 for Perl create a world-readable mmap backing file and open it without O_EXCL or O_NOFOLLOW. The segment is created in deque.h with open(path, O_RDWR|O_CREAT, 0666). The mode is 0666, so under the …

  11. 6.2CVE-2026-64613egor data buffer sharedEPSS 0.2%

    Data::Buffer::Shared versions before 0.05 for Perl create a world-readable mmap backing file and open it without O_NOFOLLOW. The segment is created in buf_generic.h with open(path, O_RDWR|O_CREAT|O_EXCL, 0666). O_EXCL blocks a pre-seeded …

  12. 6.1CVE-2026-47121sparkle-project sparkleEPSS 0.3%

    Sparkle is a software update framework for macOS. Prior to version 2.9.2, `Autoupdate/SUBinaryDeltaApply.m` enforces `relativePath.pathComponents containsObject:@".."` and rejects writes whose immediate parent directory IS itself a symboli…

  13. 5.6CVE-2026-15788mobyproject buildkitEPSS 0.4%

    BuildKit's cache mount source= selector on Windows Container on Windows (WCOW) workers does not detect NTFS directory junctions placed inside the cache root. A build authored by an untrusted user on a WCOW-configured BuildKit daemon can re…

  14. 8.7CVE-2026-8170extreme networks switch engine (exos)EPSS 0.6%

    The mv, cp, and rm file utilities exposed within the ExtremeXOS (EXOS) shell environment fail to safely canonicalize paths and follow symbolic links outside of the intended privilege boundary. An attacker with low-privilege CLI access can …

  15. 5.5CVE-2026-58414network-aiEPSS 0.2%

    Network-AI is a TypeScript/Node.js multi-agent orchestrator. Prior to version 5.12.2, `EnvironmentManager.backup()` recursively collects files using `_collectBackupFiles()`. `_collectBackupFiles()` uses `statSync(full)`, which follows syml…

  16. 1.9CVE-2026-16130nearai ironclawEPSS 0.2%

    A vulnerability was identified in nearai ironclaw up to 0.29.1. The affected element is the function validate_path of the file src/tools/builtin/path_utils.rs of the component write_file. The manipulation leads to link following. Local acc…

  17. 1.9CVE-2026-16077astrbotdevs astrbotEPSS 0.2%

    A vulnerability was found in AstrBotDevs AstrBot up to 4.25.5. Impacted is the function _normalize_rw_path of the file astrbot/core/tools/computer_tools/fs.py of the component Filesystem Computer-Use Tool. Performing a manipulation results…

  18. 7.1CVE-2026-50163oras-project oras-goEPSS 0.4%

    oras-go is a Go library for managing OCI artifacts. Prior to 2.6.2, ensureLinkPath in content/file/utils.go:262-275 validates a hardlink target relative to the extract base but returns the unresolved target, causing os.Link("victim.secret"…

  19. 5.9CVE-2026-53535activepiecesEPSS 0.8%

    Activepieces is an open source AI workflow automation platform. Prior to 0.82.0, the git-sync feature clones a user-configured Git repository into a temporary directory on the server and then writes flow, table, and connection state into i…

  20. 5.0CVE-2026-12391canonical ubuntu-pro-client (ubuntu-advantage-tools)EPSS 0.2%

    An insecure symlink following vulnerability exists in Canonical ubuntu-pro-client (formerly ubuntu-advantage-tools) within the pro collect-logs command framework. The utility creates or utilizes predictable temporary file paths or user-acc…

  21. 7.5CVE-2026-61371EPSS 0.5%

    Microsoft AVML before 0.17.0 could follow a symlink when opening a destination output path on Unix, allowing truncation/overwrite of the symlink target. The destructive effect is performed at open-time via O_TRUNC, and can happen before fu…

  22. 4.8CVE-2026-61859imagemagickEPSS 0.2%

    ImageMagick before 7.1.2-26 and 6.9.13-x before 6.9.13-51 contains a policy bypass vulnerability in the -script operation due to missing security policy checks. This allows reading files from paths that are otherwise disallowed by the conf…

  23. 8.8CVE-2026-54572rcloneEPSS 0.4%

    Rclone is a command-line program to sync files and directories to and from different cloud storage providers. Prior to 1.74.4, with -l/--links, rclone serializes symlinks as .rclonelink text objects and recreates them on a local destinatio…

  24. 9.1CVE-2026-53486xhmikosr decompressEPSS 0.7%

    The decompress package for Node.js extracts archives. Prior to 10.2.1 and 11.1.3, archive extraction can create files and links outside the target directory. When extracting an archive to a directory, a crafted archive can read or write fi…

  25. 5.5CVE-2026-50526microsoftEPSS 0.2%

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

  26. 7.8CVE-2026-50469microsoftEPSS 0.4%

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

  27. 8.8CVE-2026-50438microsoft pc managerEPSS 0.4%

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

  28. 7.8CVE-2026-58636microsoft pc managerEPSS 0.4%

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

  29. 7.3CVE-2026-50364microsoftEPSS 0.5%

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

  30. 7.8CVE-2026-49791microsoftEPSS 0.4%

    Improper link resolution before file access ('link following') in Windows Routing and Remote Access Service (RRAS) allows an authorized attacker to elevate privileges locally.

  31. 5.5CVE-2026-49180microsoftEPSS 0.4%

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

  32. 7.8CVE-2026-49176microsoftEPSS 0.3%

    Improper privilege management in Windows WalletService allows an authorized attacker to elevate privileges locally.

  33. 7.7CVE-2026-15392hmbrand dbd fileEPSS 0.2%

    DBD::File versions before 1.651 for Perl do not ensure the table file is not a symlink to an untrusted location. The complete_table_name method builds the absolute table file path without checking whether the file is a symbolic link. A li…

  34. 7.0CVE-2026-6851bitdefenderEPSS 0.1%

    An Improper link resolution before file access ('link following') vulnerability in the File Shredder module as used in Bitdefender Total Security and Internet Security on Windows allows a less-privileged local user to elevate rights by lev…

  35. 2.1CVE-2026-15629louisho5 picobotEPSS 0.4%

    A weakness has been identified in louisho5 picobot up to 0.2.0. Impacted is the function CreateSkill/GetSkill of the file internal/agent/tools/filesystem.go of the component Workspace Handler. Executing a manipulation can lead to link foll…

  36. 4.8CVE-2026-15621mosaxiv clawletEPSS 0.2%

    A vulnerability was detected in mosaxiv clawlet up to 0.2.10. This impacts the function read_file/write_file/edit_file of the file tools/fs_ops.go of the component File Tools. Performing a manipulation results in link following. The attack…

  37. 5.3CVE-2026-62239dao-ailab flash-attentionEPSS 0.2%

    FlashAttention through 2.8.3.post1, fixed in commit 0816ef1, contains a symlink attack vulnerability in the download_and_copy() function within hopper/setup.py that extracts NVIDIA toolchain archives without validating symlinks or filterin…

  38. 7.6CVE-2026-62189openclawEPSS 0.4%

    OpenClaw versions before 2026.6.9 contain a symlink following vulnerability in the mirror sync feature that allows lower-trust callers to perform actions requiring stronger authorization. Attackers can exploit remote symlink parents to byp…

  39. 7.3CVE-2026-15684glarysoft glary utilitiesEPSS 0.2%

    Glarysoft Glary Utilities Link Following Local Privilege Escalation Vulnerability. This vulnerability allows local attackers to escalate privileges on affected installations of Glarysoft Glary Utilities. An attacker must first obtain the a…

  40. 5.5CVE-2026-15682anydeskEPSS 0.1%

    AnyDesk Support Information Link Following Denial-of-Service Vulnerability. This vulnerability allows local attackers to create a denial-of-service condition on affected installations of AnyDesk. An attacker must first obtain the ability t…

  41. 5.5CVE-2026-15681anydeskEPSS 0.1%

    AnyDesk Screen Recording Link Following Denial-of-Service Vulnerability. This vulnerability allows local attackers to create a denial-of-service condition on affected installations of AnyDesk. An attacker must first obtain the ability to e…

  42. 4.8CVE-2026-61858imagemagickEPSS 0.2%

    ImageMagick before 7.1.2-26 contains a policy bypass vulnerability in the APNG encoder and external delegates due to missing validation checks. Attackers can write files to disallowed paths by bypassing configured policy restrictions throu…

  43. 7.5CVE-2026-39246decompress project decompressEPSS 0.7%

    decompress before 4.2.2 allows arbitrary symlink creation during archive extraction. When processing symlink entries (type === 'symlink'), the x.linkname field from the archive is passed directly to fs.symlink() without validation (index.j…

  44. 5.5CVE-2026-39243decompress project decompressEPSS 0.3%

    decompress before 4.2.2 allows arbitrary hardlink creation during archive extraction, enabling file read disclosure and file corruption. When processing hardlink entries (type === 'link'), the x.linkname field from the archive is passed di…

  45. 5.5CVE-2026-58198gunthercox chatterbotEPSS 0.1%

    ChatterBot is a machine learning, conversational dialog engine for creating chat bots. Prior to 1.2.14, UbuntuCorpusTrainer.extract() uses a predictable home-rooted output directory (~/ubuntu_data/ubuntu_dialogs) with a check-then-create p…

  46. 8.7CVE-2026-14891hashicorpEPSS 0.5%

    HashiCorp Nomad and Nomad Enterprise are vulnerable to a sandbox escape in the Docker task driver that may allow a job submitter to bind-mount a host path into a container even when volume bind mounts are disabled, potentially leading to r…

  47. 4.7CVE-2026-14361hashicorp toolingEPSS 0.1%

    The consul-template library before version 0.42.1 is vulnerable to a path redirection issue in the writeToFile template helper that may allow template output to be written outside the intended directory or to overwrite an existing file. Th…

  48. 3.1CVE-2026-14966blacklanternsecurity bbotEPSS 0.4%

    BBOT's unarchive module rejects archives containing symlink entries before extraction, but for zip and 7z archives it failed to detect symlinks whose listing carries a DOS-attribute prefix before the unix mode, as produced by legacy versio…

  49. 6.3CVE-2026-55668filebrowserEPSS 0.4%

    File Browser provides a web file managing interface. Prior to 2.63.16, ScopedFs validates the nearest existing ancestor of a dangling symlink as in scope and then follows the symlink during file creation, allowing an authenticated user wit…

  50. 7.1CVE-2026-14904aws resEPSS 0.6%

    AWS Research and Engineering Studio (RES) is an open-source solution that enables researchers and engineers to create and manage secure virtual desktops and computing resources on AWS. Improper link resolution before file access issue (…