CWE-59
AllowedImproper Link Resolution Before File Access ('Link Following')
Abstraction: Base · Status: 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.
2324 vulnerabilities reference this CWE, most recent first.
GHSA-PMM8-2C7C-CRQ2
Vulnerability from github – Published: 2026-02-10 00:30 – Updated: 2026-02-10 00:30Tanium addressed a local privilege escalation vulnerability in Patch Endpoint Tools.
{
"affected": [],
"aliases": [
"CVE-2025-15319"
],
"database_specific": {
"cwe_ids": [
"CWE-59"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-02-09T23:16:05Z",
"severity": "HIGH"
},
"details": "Tanium addressed a local privilege escalation vulnerability in Patch Endpoint Tools.",
"id": "GHSA-pmm8-2c7c-crq2",
"modified": "2026-02-10T00:30:31Z",
"published": "2026-02-10T00:30:31Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2025-15319"
},
{
"type": "WEB",
"url": "https://security.tanium.com/TAN-2025-021"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
}
]
}
GHSA-PMMG-WC48-VJHQ
Vulnerability from github – Published: 2026-07-21 21:32 – Updated: 2026-07-23 15:30Data::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 file on create, but the mode is 0666, so under the default umask 022 the file is created mode 0644 (world-readable), and O_NOFOLLOW is absent, so a symlink planted at the path is followed when the segment is attached.
A "Shared" segment naturally lives in a shared directory such as /tmp or /dev/shm, where any local user can read the IPC payloads stored in the world-readable segment, and a pre-planted symlink at the path redirects the open to another file.
{
"affected": [],
"aliases": [
"CVE-2026-64613"
],
"database_specific": {
"cwe_ids": [
"CWE-59"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-07-21T20:17:03Z",
"severity": "MODERATE"
},
"details": "Data::Buffer::Shared versions before 0.05 for Perl create a world-readable mmap backing file and open it without O_NOFOLLOW.\n\nThe segment is created in buf_generic.h with open(path, O_RDWR|O_CREAT|O_EXCL, 0666). O_EXCL blocks a pre-seeded file on create, but the mode is 0666, so under the default umask 022 the file is created mode 0644 (world-readable), and O_NOFOLLOW is absent, so a symlink planted at the path is followed when the segment is attached.\n\nA \"Shared\" segment naturally lives in a shared directory such as /tmp or /dev/shm, where any local user can read the IPC payloads stored in the world-readable segment, and a pre-planted symlink at the path redirects the open to another file.",
"id": "GHSA-pmmg-wc48-vjhq",
"modified": "2026-07-23T15:30:35Z",
"published": "2026-07-21T21:32:41Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-64613"
},
{
"type": "WEB",
"url": "https://metacpan.org/release/EGOR/Data-Buffer-Shared-0.05/changes"
},
{
"type": "WEB",
"url": "https://metacpan.org/release/EGOR/Data-Buffer-Shared-0.05/diff/EGOR/Data-Buffer-Shared-0.04#buf_generic.h"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
"type": "CVSS_V3"
}
]
}
GHSA-PP6P-HWF9-PCPX
Vulnerability from github – Published: 2026-02-18 00:30 – Updated: 2026-02-18 00:30A 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 attack needs to be approached locally. The exploit has been released to the public and may be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way.
{
"affected": [],
"aliases": [
"CVE-2026-2627"
],
"database_specific": {
"cwe_ids": [
"CWE-59"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-02-17T22:18:45Z",
"severity": "HIGH"
},
"details": "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 attack needs to be approached locally. The exploit has been released to the public and may be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way.",
"id": "GHSA-pp6p-hwf9-pcpx",
"modified": "2026-02-18T00:30:16Z",
"published": "2026-02-18T00:30:16Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-2627"
},
{
"type": "WEB",
"url": "https://github.com/thezdi/PoC/tree/main/FilesystemEoPs"
},
{
"type": "WEB",
"url": "https://vuldb.com/?ctiid.346279"
},
{
"type": "WEB",
"url": "https://vuldb.com/?id.346279"
},
{
"type": "WEB",
"url": "https://vuldb.com/?submit.752050"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X",
"type": "CVSS_V4"
}
]
}
GHSA-PP74-39W2-V4W9
Vulnerability from github – Published: 2021-08-25 21:01 – Updated: 2023-04-03 19:13pleaseedit in pleaser before 0.4.0 uses predictable temporary filenames in /tmp and the target directory. This allows a local attacker to gain full root privileges by staging a symlink attack.
{
"affected": [
{
"package": {
"ecosystem": "crates.io",
"name": "pleaser"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "0.4.0"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2021-31154"
],
"database_specific": {
"cwe_ids": [
"CWE-340",
"CWE-59"
],
"github_reviewed": true,
"github_reviewed_at": "2021-06-01T19:34:12Z",
"nvd_published_at": "2021-05-27T13:15:00Z",
"severity": "HIGH"
},
"details": "pleaseedit in pleaser before 0.4.0 uses predictable temporary filenames in /tmp and the target directory. This allows a local attacker to gain full root privileges by staging a symlink attack.",
"id": "GHSA-pp74-39w2-v4w9",
"modified": "2023-04-03T19:13:35Z",
"published": "2021-08-25T21:01:44Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-31154"
},
{
"type": "WEB",
"url": "https://crates.io/crates/pleaser"
},
{
"type": "WEB",
"url": "https://gitlab.com/edneville/please"
},
{
"type": "WEB",
"url": "https://gitlab.com/edneville/please/-/tree/master/src/bin"
},
{
"type": "WEB",
"url": "https://rustsec.org/advisories/RUSTSEC-2021-0102.html"
},
{
"type": "WEB",
"url": "https://www.openwall.com/lists/oss-security/2021/05/18/1"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
}
],
"summary": "Permissions bypass in pleaser"
}
GHSA-PP7J-P833-2H5R
Vulnerability from github – Published: 2022-05-03 03:25 – Updated: 2022-05-03 03:25The SPICE Firefox plug-in (spice-xpi) 2.4, 2.3, 2.2, and possibly other versions allows local users to overwrite arbitrary files via a symlink attack on the usbrdrctl log file, which has a predictable name.
{
"affected": [],
"aliases": [
"CVE-2011-0012"
],
"database_specific": {
"cwe_ids": [
"CWE-59"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2011-04-18T17:55:00Z",
"severity": "LOW"
},
"details": "The SPICE Firefox plug-in (spice-xpi) 2.4, 2.3, 2.2, and possibly other versions allows local users to overwrite arbitrary files via a symlink attack on the usbrdrctl log file, which has a predictable name.",
"id": "GHSA-pp7j-p833-2h5r",
"modified": "2022-05-03T03:25:08Z",
"published": "2022-05-03T03:25:08Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2011-0012"
},
{
"type": "WEB",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=639869"
},
{
"type": "WEB",
"url": "http://www.redhat.com/support/errata/RHSA-2011-0426.html"
},
{
"type": "WEB",
"url": "http://www.securityfocus.com/bid/47269"
},
{
"type": "WEB",
"url": "http://www.securitytracker.com/id?1025304"
},
{
"type": "WEB",
"url": "http://www.vupen.com/english/advisories/2011/0899"
}
],
"schema_version": "1.4.0",
"severity": []
}
GHSA-PPGW-CQJ8-9QRG
Vulnerability from github – Published: 2026-09-10 09:31 – Updated: 2026-09-26 00:32A 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 versions are crun 1.29.1 and earlier. Default configurations that mount a fresh /dev are not exposed. No fixed release is available yet.
{
"affected": [],
"aliases": [
"CVE-2026-88264"
],
"database_specific": {
"cwe_ids": [
"CWE-59"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-09-10T09:17:03Z",
"severity": "MODERATE"
},
"details": "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 versions are crun 1.29.1 and earlier. Default configurations that mount a fresh /dev are not exposed. No fixed release is available yet.",
"id": "GHSA-ppgw-cqj8-9qrg",
"modified": "2026-09-26T00:32:17Z",
"published": "2026-09-10T09:31:34Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-88264"
},
{
"type": "WEB",
"url": "https://access.redhat.com/errata/RHSA-2026:71668"
},
{
"type": "WEB",
"url": "https://access.redhat.com/security/cve/CVE-2026-88264"
},
{
"type": "WEB",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2531223"
},
{
"type": "WEB",
"url": "https://github.com/containers/crun"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:H/A:N",
"type": "CVSS_V3"
}
]
}
GHSA-PQ45-CG3M-2P42
Vulnerability from github – Published: 2022-05-17 02:18 – Updated: 2022-05-17 02:18i2myspell in myspell 3.1 allows local users to overwrite arbitrary files via a symlink attack on (1) /tmp/i2my#####.1 and (2) /tmp/i2my#####.2 temporary files.
{
"affected": [],
"aliases": [
"CVE-2008-4973"
],
"database_specific": {
"cwe_ids": [
"CWE-59"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2008-11-06T15:55:00Z",
"severity": "MODERATE"
},
"details": "i2myspell in myspell 3.1 allows local users to overwrite arbitrary files via a symlink attack on (1) /tmp/i2my#####.1 and (2) /tmp/i2my#####.2 temporary files.",
"id": "GHSA-pq45-cg3m-2p42",
"modified": "2022-05-17T02:18:28Z",
"published": "2022-05-17T02:18:28Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2008-4973"
},
{
"type": "WEB",
"url": "https://bugs.gentoo.org/show_bug.cgi?id=235770"
},
{
"type": "WEB",
"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/44830"
},
{
"type": "WEB",
"url": "http://bugs.debian.org/496392"
},
{
"type": "WEB",
"url": "http://dev.gentoo.org/~rbu/security/debiantemp/myspell-tools"
},
{
"type": "WEB",
"url": "http://uvw.ru/report.lenny.txt"
},
{
"type": "WEB",
"url": "http://www.openwall.com/lists/oss-security/2008/10/30/2"
},
{
"type": "WEB",
"url": "http://www.securityfocus.com/bid/30929"
}
],
"schema_version": "1.4.0",
"severity": []
}
GHSA-PQMW-HQ69-W92W
Vulnerability from github – Published: 2022-05-02 00:07 – Updated: 2022-05-02 00:07The IPSEC livetest tool in Openswan 2.4.12 and earlier, and 2.6.x through 2.6.16, allows local users to overwrite arbitrary files and execute arbitrary code via a symlink attack on the (1) ipseclive.conn and (2) ipsec.olts.remote.log temporary files. NOTE: in many distributions and the upstream version, this tool has been disabled.
{
"affected": [],
"aliases": [
"CVE-2008-4190"
],
"database_specific": {
"cwe_ids": [
"CWE-59"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2008-09-24T11:42:00Z",
"severity": "MODERATE"
},
"details": "The IPSEC livetest tool in Openswan 2.4.12 and earlier, and 2.6.x through 2.6.16, allows local users to overwrite arbitrary files and execute arbitrary code via a symlink attack on the (1) ipseclive.conn and (2) ipsec.olts.remote.log temporary files. NOTE: in many distributions and the upstream version, this tool has been disabled.",
"id": "GHSA-pqmw-hq69-w92w",
"modified": "2022-05-02T00:07:41Z",
"published": "2022-05-02T00:07:41Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2008-4190"
},
{
"type": "WEB",
"url": "https://bugs.gentoo.org/show_bug.cgi?id=235770"
},
{
"type": "WEB",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=460425"
},
{
"type": "WEB",
"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/45250"
},
{
"type": "WEB",
"url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10078"
},
{
"type": "WEB",
"url": "https://www.exploit-db.com/exploits/9135"
},
{
"type": "WEB",
"url": "http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=496374"
},
{
"type": "WEB",
"url": "http://dev.gentoo.org/~rbu/security/debiantemp/openswan"
},
{
"type": "WEB",
"url": "http://secunia.com/advisories/34182"
},
{
"type": "WEB",
"url": "http://secunia.com/advisories/34472"
},
{
"type": "WEB",
"url": "http://www.debian.org/security/2009/dsa-1760"
},
{
"type": "WEB",
"url": "http://www.openwall.com/lists/oss-security/2008/10/30/2"
},
{
"type": "WEB",
"url": "http://www.redhat.com/support/errata/RHSA-2009-0402.html"
},
{
"type": "WEB",
"url": "http://www.securityfocus.com/archive/1/501624/100/0/threaded"
},
{
"type": "WEB",
"url": "http://www.securityfocus.com/archive/1/501640/100/0/threaded"
},
{
"type": "WEB",
"url": "http://www.securityfocus.com/bid/31243"
}
],
"schema_version": "1.4.0",
"severity": []
}
GHSA-PQQC-X6XH-C6H5
Vulnerability from github – Published: 2022-05-02 00:05 – Updated: 2022-05-02 00:05test.sh in Honeyd 1.5c might allow local users to overwrite arbitrary files via a symlink attack on a temporary file.
{
"affected": [],
"aliases": [
"CVE-2008-3928"
],
"database_specific": {
"cwe_ids": [
"CWE-59"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2008-09-04T18:41:00Z",
"severity": "MODERATE"
},
"details": "test.sh in Honeyd 1.5c might allow local users to overwrite arbitrary files via a symlink attack on a temporary file.",
"id": "GHSA-pqqc-x6xh-c6h5",
"modified": "2022-05-02T00:05:04Z",
"published": "2022-05-02T00:05:04Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2008-3928"
},
{
"type": "WEB",
"url": "https://bugs.gentoo.org/show_bug.cgi?id=235770"
},
{
"type": "WEB",
"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/44735"
},
{
"type": "WEB",
"url": "http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=496365"
},
{
"type": "WEB",
"url": "http://dev.gentoo.org/~rbu/security/debiantemp/honeyd-common"
},
{
"type": "WEB",
"url": "http://secunia.com/advisories/31658"
},
{
"type": "WEB",
"url": "http://secunia.com/advisories/33141"
},
{
"type": "WEB",
"url": "http://security.gentoo.org/glsa/glsa-200812-12.xml"
},
{
"type": "WEB",
"url": "http://uvw.ru/report.lenny.txt"
},
{
"type": "WEB",
"url": "http://www.openwall.com/lists/oss-security/2008/10/30/2"
},
{
"type": "WEB",
"url": "http://www.securityfocus.com/bid/30874"
}
],
"schema_version": "1.4.0",
"severity": []
}
GHSA-PQRP-P4C6-2Q4G
Vulnerability from github – Published: 2026-08-11 09:32 – Updated: 2026-09-09 12:31A flaw was found in MRTG. When the MRTG daemon is started as a root user and subsequently drops privileges, a local, low-privileged attacker can exploit a symbolic link (symlink) following vulnerability. By influencing or pre-placing a symlink in the process ID (PID) file path, the attacker can trick the root process into changing the ownership of an arbitrary existing file to the daemon user. This can lead to local privilege escalation, allowing unauthorized access to or modification of sensitive files.
{
"affected": [],
"aliases": [
"CVE-2026-72694"
],
"database_specific": {
"cwe_ids": [
"CWE-59"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-08-11T09:17:14Z",
"severity": "HIGH"
},
"details": "A flaw was found in MRTG. When the MRTG daemon is started as a root user and subsequently drops privileges, a local, low-privileged attacker can exploit a symbolic link (symlink) following vulnerability. By influencing or pre-placing a symlink in the process ID (PID) file path, the attacker can trick the root process into changing the ownership of an arbitrary existing file to the daemon user. This can lead to local privilege escalation, allowing unauthorized access to or modification of sensitive files.",
"id": "GHSA-pqrp-p4c6-2q4g",
"modified": "2026-09-09T12:31:27Z",
"published": "2026-08-11T09:32:35Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-72694"
},
{
"type": "WEB",
"url": "https://access.redhat.com/errata/RHSA-2026:57596"
},
{
"type": "WEB",
"url": "https://access.redhat.com/errata/RHSA-2026:57600"
},
{
"type": "WEB",
"url": "https://access.redhat.com/errata/RHSA-2026:65832"
},
{
"type": "WEB",
"url": "https://access.redhat.com/security/cve/CVE-2026-72694"
},
{
"type": "WEB",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2460973"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N",
"type": "CVSS_V3"
}
]
}
Mitigation MIT-48.1
Strategy: Separation of Privilege
- 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.
CAPEC-132: Symlink Attack
An adversary positions a symbolic link in such a manner that the targeted user or application accesses the link's endpoint, assuming that it is accessing a file with the link's name.
CAPEC-17: Using Malicious Files
An attack of this type exploits a system's configuration that allows an adversary to either directly access an executable file, for example through shell access; or in a possible worst case allows an adversary to upload a file and then execute it. Web servers, ftp servers, and message oriented middleware systems which have many integration points are particularly vulnerable, because both the programmers and the administrators must be in synch regarding the interfaces and the correct privileges for each interface.
CAPEC-35: Leverage Executable Code in Non-Executable Files
An attack of this type exploits a system's trust in configuration and resource files. When the executable loads the resource (such as an image file or configuration file) the attacker has modified the file to either execute malicious code directly or manipulate the target process (e.g. application server) to execute based on the malicious configuration parameters. Since systems are increasingly interrelated mashing up resources from local and remote sources the possibility of this attack occurring is high.
CAPEC-76: Manipulating Web Input to File System Calls
An attacker manipulates inputs to the target software which the target software passes to file system calls in the OS. The goal is to gain access to, and perhaps modify, areas of the file system that the target software did not intend to be accessible.