cve.bz

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

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. 5.9CVE-2026-12345python software foundation cpythonEPSS 0.3%

    The cleanup of tempfile.TemporaryDirectory is vulnerable to a race condition. An attacker who can modify the tree during cleanup can replace a directory with a symbolic link, causing files outside of the temporary directory to be deleted o…

  2. 8.6CVE-2026-102242google mcp toolbox for databasesEPSS 0.4%

    Improper link resolution (CWE-59 / CWE-22) in the allowedLocalRoots path validation in Google MCP Toolbox for Databases versions 1.2.0 through 1.9.0 allows a remote authenticated attacker with tool execution permissions to bypass directory…

  3. 7.0CVE-2026-92371teamviewerEPSS 0.1%

    TeamViewer Full Client and Host for Linux prior version 15.82 contains an improper path validation vulnerability in the Cloud Session Recording (CSR) functionality. By exploiting a race condition during path validation and subsequent file …

  4. 9.1CVE-2026-101894EPSS 0.8%

    The decompress package for Node.js extracts archives. Prior to 10.2.2 and 11.1.4, the default decompress(input, output) API relies on lexical containment checks that do not account for the kernel following a planted symlink chain. An attac…

  5. 9.9CVE-2026-87799canonical lxdEPSS 0.4%

    Improper link resolution in the migration receive path in Canonical LXD versions 4.0 and later (fixed in 4.0.14, 5.0.10, 5.21.8 and 6.10) on Linux allows an authenticated client that can create instances or custom storage volumes in a proj…

  6. 5.8CVE-2026-87798canonical lxdEPSS 0.2%

    Improper link resolution in the recursive file pull feature of the LXD CLI client in Canonical LXD versions 4.0.2 up to 6.9 (fixed in 4.0.14, 5.0.10 and 5.21.8) on Linux allows an attacker with root access inside a virtual machine to write…

  7. 2.5CVE-2026-96284EPSS 0.2%

    A malicious user can get read-access to files in the flatpak-system-helper context if a system OCI repository is configured, because the OCI code paths in the system helper follow symlinks when importing OCI images that are under the user'…

  8. 3.1CVE-2026-96282EPSS 0.2%

    A malicious Flatpak extension can probe the host filesystem to determine what files and directories exist at arbitrary paths, and host directory listings can be disclosed to sandboxed applications using the extension. Additionally, unvalid…

  9. 6.5CVE-2026-96279EPSS 0.4%

    A malicious OCI registry can hardlink arbitrary host files into the extraction directory when a user installs or updates a Flatpak application from an OCI remote, allowing disclosure of arbitrary host file contents. For system-wide install…

  10. 8.6CVE-2026-100838edgelesssys contrastEPSS 0.2%

    Contrast is a confidential-computing runtime for Kubernetes. In versions before 1.19.1, the Kata agent policies generated by the Contrast CLI contained a flaw in the CopyFile verification that allowed arbitrary writes to the guest root fil…

  11. 9.4CVE-2026-100716froxlorEPSS 0.5%

    Froxlor is a server administration panel. In versions 2.3.10 and earlier, the customer data-export (DataDump) cron fails to validate intermediate path components of the export destination: Froxlor\FileDir::makeCorrectDir() contains an off-…

  12. 8.5CVE-2026-100715froxlorEPSS 0.5%

    Froxlor through 2.3.10 is vulnerable to arbitrary file deletion via symlink following in the FTP data deletion cron task. Cron task 8 (deleteFtpData), queued when an FTP account is deleted, calls FileDir::makeCorrectDir() without the $fixe…

  13. 8.7CVE-2026-100692gohugo hugoEPSS 0.4%

    Hugo is a static site generator. In versions after v0.123.0 and before v0.166.0, Hugo's symlink confinement checks stopped at the mount root itself, so a theme or module checked into themes/ (or a vendored module) could contain a symlink a…

  14. 8.7CVE-2026-100690gohugo hugoEPSS 0.4%

    Hugo versions from v0.161.0 through v0.165.0 run Node.js tools (css.PostCSS, css.TailwindCSS, js.Babel) under the Node.js permission model to restrict file system reads to the project directory and configured mounts. Because the Node.js pe…

  15. 7.3CVE-2026-100419gitoxidelabs gitoxideEPSS 0.2%

    gitoxide gix-fs before 0.23.0 contains a path validation bypass vulnerability in the worktree checkout mechanism that allows attackers to escape the worktree directory via symlink manipulation. During forced checkout with overwrite_existin…

  16. 4.6CVE-2026-80430kovid goyal kittyEPSS 0.2%

    Improper Link Resolution Before File Access in the drag source staging path of the drag and drop protocol in kitty from 0.47.0 before 0.49.0 allows a program writing to the terminal to create files and directories at paths outside the stag…

  17. 2.3CVE-2026-933539001 copypartyEPSS 0.3%

    copyparty contains a volume restriction bypass vulnerability in its SFTP front end that allows authenticated SFTP users to create, remove, and truncate arbitrary paths outside permitted volume boundaries by exploiting three handlers that b…

  18. 9.8CVE-2026-82331apache software foundation apache buildstreamEPSS 0.4%

    Improper link resolution before file access ('link following') vulnerability in the `tar` source plugin of Apache BuildStream running on Python < 3.12 allows malicious source tarballs to write files on the host, with the privileges of the …

  19. 8.2CVE-2026-55074chofstede ansible jailexecEPSS 0.4%

    Ansible FreeBSD Jail Connection Plugin is an Ansible connection plugin for FreeBSD Jails via jexec. Through version 1.3.0, the jailexec connection plugin's put_file resolved a transfer's destination to a path on the jail host ( + ) and ran…

  20. 5.2CVE-2026-92253watchdog anti-virusEPSS 0.2%

    Improper link resolution before file access in the quarantine restoration process of WatchDog Anti-Virus 1.8.640 on Windows allows local, low-privileged attackers to cause a quarantined file to be written to an arbitrary filesystem locatio…

  21. 8.8CVE-2026-15815grafanaEPSS 0.7%

    Grafana OSS and Grafana Enterprise did not safely resolve symbolic links when extracting plugin archives. A crafted plugin archive can chain relative symbolic link entries to escape the plugin installation directory, writing arbitrary file…

  22. 5.8CVE-2026-54587midnightbsd mportEPSS 0.1%

    mport is the MidnightBSD Package Manager. Prior to 2.7.8, directory assets handled as ASSET_DIR or ASSET_DIR_OWNER_MODE in libmport/bundle_read_install_pkg.c used path-based mport_mkdirp(), ownership, and permission operations. A local att…

  23. 5.8CVE-2026-54576midnightbsd mportEPSS 0.1%

    mport is the MidnightBSD Package Manager. Prior to 2.7.8, do_actual_install() in libmport/bundle_read_install_pkg.c used path-based lstat(), chown(), stat(), and chmod() operations while installing package files. A local attacker with writ…

  24. 6.0CVE-2026-86861pgadmin 4EPSS 0.3%

    pgAdmin 4's File Manager save_file endpoint, which backs saving from the Query Tool and ERD, validated the requested path with Filemanager.check_access_permission() and then opened the file for writing with a plain open() call. CVE-2026-78…

  25. 8.8CVE-2026-85731oras-project oras-goEPSS 0.7%

    oras-go is a Go library for managing OCI artifacts. Prior to 2.6.2, content/file.Store extraction of OCI layers marked with io.deis.oras.content.unpack=true can write outside the store working directory. The pushDir path through extractTar…

  26. 6.0CVE-2026-71182dell update package frameworkEPSS 0.1%

    Dell Update Package Framework, versions prior to 26.07.03, contains an Improper Link Resolution Before File Access ('Link Following') vulnerability. A high privileged attacker with local access could potentially exploit this vulnerability,…

  27. 6.0CVE-2026-71181dell update package frameworkEPSS 0.1%

    Dell Update Package Framework, versions prior to 26.07.03, contains an Improper Link Resolution Before File Access ('Link Following') vulnerability. A high privileged attacker with local access could potentially exploit this vulnerability,…

  28. 6.1CVE-2026-59944composerEPSS 0.5%

    Composer is a dependency Manager for the PHP language. From 1.0 until 2.2.30 and from 2.3.0 until 2.10.3, a malicious or compromised dependency can bypass the earlier CVE-2026-59946 binary-path hardening because Composer validates literal …

  29. 9.4CVE-2026-68491webpros solusvmEPSS 0.5%

    An insufficient check allowed for the overwrite of arbitrary files via a symlink.

  30. 4.4CVE-2026-79699EPSS 0.2%

    A flaw was found in the containers/storage library. A crafted tar archive containing a malicious whiteout header (e.g. victim/.wh.) can cause the extraction destination directory to be replaced with an arbitrary file when processed by stor…

  31. 6.0CVE-2026-55828qbee-io transportEPSS 0.4%

    qbee transport is a remote access transport protocol implementation. Prior to 1.26.25, the extractTar routine uses strictly lexical path validation that does not account for on-disk symlinks created earlier in the extraction process. A cra…

  32. 9.4CVE-2026-77179docker docker sandboxesEPSS 0.2%

    On macOS, the virtio-fs host server used by Docker Sandboxes improperly follows symlinks when reopening an unlinked file from a stored path. A malicious guest can replace a parent directory with a symlink, escape the shared workspace, and …

  33. 8.4CVE-2026-84584apple macosEPSS 0.2%

    This issue was addressed with improved handling of symlinks. This issue is fixed in macOS Golden Gate 27. An app may be able to break out of its sandbox.

  34. 6.9CVE-2026-89021mikrotik routerosEPSS 0.4%

    MikroTik RouterOS before 7.24.2 contains a path traversal vulnerability in the container package OCI/tar image extraction that allows attackers to write files outside the container root by supplying a crafted container image with symlinks …

  35. 8.4CVE-2026-82049python software foundation cpythonEPSS 0.2%

    In CPython 3.13 and earlier, the tarfile module's data and tar extraction filters are vulnerable to crafted archives containing a hard link to a symbolic link. Such archives may cause extraction to modify the permissions or modification ti…

  36. 2.1CVE-2026-90807nanocoai nanoclawEPSS 0.4%

    A vulnerability was found in nanocoai NanoClaw up to 2.1.17. This issue affects the function forwardAttachedFiles of the file src/modules/agent-to-agent/agent-route.ts of the component Attachment Handler. The manipulation results in link f…

  37. 7.6CVE-2026-90930filebrowserEPSS 0.5%

    File Browser through 2.63.23 applies path rules to the requested lexical path but resolves symbolic links without reapplying rules to the target, allowing authenticated users to bypass deny rules. Attackers can read and overwrite rule-deni…

  38. 5.7CVE-2026-87910python software foundation cpythonEPSS 0.6%

    When tarfile extracts a link on a system that doesn't support links, it falls back to extracting a member from the archive. In this case, the filter function is run twice: once for the extracted member, and once with name set to the locati…

  39. 9.3CVE-2026-89258gohugoio hugoEPSS 0.3%

    Hugo is a static site generator. In versions after v0.123.0 and before v0.165.0, symlinks in parent directories were not dropped during direct resource lookups, allowing path confinement to be bypassed. An attacker who can place — or who c…

  40. 7.1CVE-2026-88016rcloneEPSS 0.2%

    rclone is a command-line program to sync files and directories to and from different cloud storage providers. Prior to 1.75.1, when backend/local runs with --links, a source .rclonelink object can plant a symlink in the destination and lat…

  41. 5.6CVE-2026-88265EPSS 0.1%

    A flaw was found in crun. After pivot_root, reopening /dev/null for stdio can follow a symlink and attach a host file to container stdio, then change that file's ownership. Affected versions are crun 1.29.1 and earlier. Default configurati…

  42. 5.6CVE-2026-88264containers crunEPSS 0.1%

    A flaw was found in crun. When the container configuration does not give /dev a dedicated mount, terminal setup can redirect /dev/console onto an attacker-controlled path, including via the read-only-rootfs bind-mount fallback. Affected ve…

  43. 8.8CVE-2026-87766red hatEPSS 0.2%

    A flaw was found in bubblewrap. During sandbox setup, creating files or directories under the new root can follow a parent symlink onto the host via /oldroot, writing attacker-chosen paths outside the sandbox as the launching user. This ha…

  44. 6.0CVE-2026-78622okta okta verify for windowsEPSS 0.1%

    The Okta Verify for Windows uninstaller does not verify whether the user data directory is a filesystem junction before deleting its contents with elevated privileges. The delete operation follows the junction target, resulting in recursiv…

  45. 7.0CVE-2026-83999microsoftEPSS 0.3%

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

  46. 7.8CVE-2026-81963microsoftKEVEPSS 7.1%

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

  47. 8.1CVE-2026-70563microsoftEPSS 0.8%

    Improper link resolution before file access ('link following') in Windows Shell allows an unauthorized attacker to perform spoofing over a network.

  48. 4.7CVE-2026-69771microsoftEPSS 0.3%

    Improper link resolution before file access ('link following') in Windows Container Manager Service allows an authorized attacker to bypass a security feature locally.

  49. 4.7CVE-2026-69425microsoftEPSS 0.3%

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

  50. 7.0CVE-2026-69379microsoftEPSS 0.3%

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