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.
1987 vulnerabilities reference this CWE, most recent first.
GHSA-9R9P-4477-QF64
Vulnerability from github – Published: 2024-01-09 15:30 – Updated: 2024-01-09 15:30A symbolic link manipulation vulnerability in Trellix Anti-Malware Engine prior to the January 2024 release allows an authenticated local user to potentially gain an escalation of privileges. This was achieved by adding an entry to the registry under the Trellix ENS registry folder with a symbolic link to files that the user wouldn't normally have permission to. After a scan, the Engine would follow the links and remove the files
{
"affected": [],
"aliases": [
"CVE-2024-0206"
],
"database_specific": {
"cwe_ids": [
"CWE-59"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2024-01-09T14:15:46Z",
"severity": "HIGH"
},
"details": "\nA symbolic link manipulation vulnerability in Trellix Anti-Malware Engine prior to the January 2024 release allows an authenticated local user to potentially gain an escalation of privileges. This was achieved by adding an entry to the registry under the Trellix ENS registry folder with a symbolic link to files that the user wouldn\u0027t normally have permission to. After a scan, the Engine would follow the links and remove the files\n\n",
"id": "GHSA-9r9p-4477-qf64",
"modified": "2024-01-09T15:30:33Z",
"published": "2024-01-09T15:30:33Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2024-0206"
},
{
"type": "WEB",
"url": "https://kcm.trellix.com/corporate/index?page=content\u0026id=SB10415"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H",
"type": "CVSS_V3"
}
]
}
GHSA-9RGW-WJ76-5W5X
Vulnerability from github – Published: 2022-05-24 16:49 – Updated: 2024-04-04 01:11deepin-clone before 1.1.3 uses a fixed path /tmp/partclone.log in the Helper::getPartitionSizeInfo() function to write a log file as root, and follows symlinks there. An unprivileged user can prepare a symlink attack there to create or overwrite files in arbitrary file system locations. The content is not attacker controlled.
{
"affected": [],
"aliases": [
"CVE-2019-13229"
],
"database_specific": {
"cwe_ids": [
"CWE-59"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2019-07-04T12:15:00Z",
"severity": "MODERATE"
},
"details": "deepin-clone before 1.1.3 uses a fixed path /tmp/partclone.log in the Helper::getPartitionSizeInfo() function to write a log file as root, and follows symlinks there. An unprivileged user can prepare a symlink attack there to create or overwrite files in arbitrary file system locations. The content is not attacker controlled.",
"id": "GHSA-9rgw-wj76-5w5x",
"modified": "2024-04-04T01:11:30Z",
"published": "2022-05-24T16:49:29Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2019-13229"
},
{
"type": "WEB",
"url": "https://github.com/linuxdeepin/deepin-clone/commit/e079f3e2712b4f8c28e3e63e71ba1a1f90fce1ab"
},
{
"type": "WEB",
"url": "https://bugzilla.suse.com/show_bug.cgi?id=1130388"
},
{
"type": "WEB",
"url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TCHGRJV5CWTMYEE5B5C2FNMCFVP45S7H"
},
{
"type": "WEB",
"url": "http://www.openwall.com/lists/oss-security/2019/07/04/1"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N",
"type": "CVSS_V3"
}
]
}
GHSA-9RQ6-PQ33-GMW9
Vulnerability from github – Published: 2022-05-01 23:31 – Updated: 2022-05-01 23:31PatchLink Update client for Unix, as used by Novell ZENworks Patch Management Update Agent for Linux/Unix/Mac (LUM) 6.2094 through 6.4102 and other products, allows local users to (1) truncate arbitrary files via a symlink attack on the /tmp/patchlink.tmp file used by the logtrimmer script, and (2) execute arbitrary code via a symlink attack on the /tmp/plshutdown file used by the rebootTask script.
{
"affected": [],
"aliases": [
"CVE-2008-0525"
],
"database_specific": {
"cwe_ids": [
"CWE-59"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2008-01-31T20:00:00Z",
"severity": "MODERATE"
},
"details": "PatchLink Update client for Unix, as used by Novell ZENworks Patch Management Update Agent for Linux/Unix/Mac (LUM) 6.2094 through 6.4102 and other products, allows local users to (1) truncate arbitrary files via a symlink attack on the /tmp/patchlink.tmp file used by the logtrimmer script, and (2) execute arbitrary code via a symlink attack on the /tmp/plshutdown file used by the rebootTask script.",
"id": "GHSA-9rq6-pq33-gmw9",
"modified": "2022-05-01T23:31:01Z",
"published": "2022-05-01T23:31:01Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2008-0525"
},
{
"type": "WEB",
"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/39956"
},
{
"type": "WEB",
"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/39958"
},
{
"type": "WEB",
"url": "https://secure-support.novell.com/KanisaPlatform/Publishing/18/3908994_f.SAL_Public.html"
},
{
"type": "WEB",
"url": "http://secunia.com/advisories/28657"
},
{
"type": "WEB",
"url": "http://secunia.com/advisories/28665"
},
{
"type": "WEB",
"url": "http://securityreason.com/securityalert/3599"
},
{
"type": "WEB",
"url": "http://support.lumension.com/scripts/rightnow.cfg/php.exe/enduser/std_adp.php?p_faqid=527"
},
{
"type": "WEB",
"url": "http://support.lumension.com/scripts/rightnow.cfg/php.exe/enduser/std_adp.php?p_faqid=528"
},
{
"type": "WEB",
"url": "http://support.lumension.com/scripts/rightnow.cfg/php.exe/enduser/std_adp.php?p_faqid=530"
},
{
"type": "WEB",
"url": "http://www.securityfocus.com/archive/1/487103/100/0/threaded"
},
{
"type": "WEB",
"url": "http://www.securityfocus.com/bid/27458"
},
{
"type": "WEB",
"url": "http://www.securitytracker.com/id?1019272"
},
{
"type": "WEB",
"url": "http://www.vupen.com/english/advisories/2008/0426"
}
],
"schema_version": "1.4.0",
"severity": []
}
GHSA-9RVG-H3PH-F3V3
Vulnerability from github – Published: 2023-08-31 21:32 – Updated: 2023-08-31 21:32Local privilege escalation during installation due to improper soft link handling. The following products are affected: Acronis Cyber Protect Home Office (Windows) before build 40278.
{
"affected": [],
"aliases": [
"CVE-2022-46869"
],
"database_specific": {
"cwe_ids": [
"CWE-269",
"CWE-59",
"CWE-610"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2023-08-31T20:15:08Z",
"severity": "HIGH"
},
"details": "Local privilege escalation during installation due to improper soft link handling. The following products are affected: Acronis Cyber Protect Home Office (Windows) before build 40278.",
"id": "GHSA-9rvg-h3ph-f3v3",
"modified": "2023-08-31T21:32:40Z",
"published": "2023-08-31T21:32:40Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2022-46869"
},
{
"type": "WEB",
"url": "https://security-advisory.acronis.com/advisories/SEC-3835"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
}
]
}
GHSA-9V2X-X2QC-4CFG
Vulnerability from github – Published: 2022-05-02 06:19 – Updated: 2022-05-02 06:19GNU nano before 2.2.4 does not verify whether a file has been changed before it is overwritten in a file-save operation, which allows local user-assisted attackers to overwrite arbitrary files via a symlink attack on an attacker-owned file that is being edited by the victim.
{
"affected": [],
"aliases": [
"CVE-2010-1160"
],
"database_specific": {
"cwe_ids": [
"CWE-59"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2010-04-16T19:30:00Z",
"severity": "LOW"
},
"details": "GNU nano before 2.2.4 does not verify whether a file has been changed before it is overwritten in a file-save operation, which allows local user-assisted attackers to overwrite arbitrary files via a symlink attack on an attacker-owned file that is being edited by the victim.",
"id": "GHSA-9v2x-x2qc-4cfg",
"modified": "2022-05-02T06:19:38Z",
"published": "2022-05-02T06:19:38Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2010-1160"
},
{
"type": "WEB",
"url": "http://drosenbe.blogspot.com/2010/03/nano-as-root.html"
},
{
"type": "WEB",
"url": "http://lists.gnu.org/archive/html/nano-devel/2010-04/msg00000.html"
},
{
"type": "WEB",
"url": "http://secunia.com/advisories/39444"
},
{
"type": "WEB",
"url": "http://svn.savannah.gnu.org/viewvc/trunk/nano/ChangeLog?revision=4503\u0026root=nano\u0026view=markup"
},
{
"type": "WEB",
"url": "http://www.openwall.com/lists/oss-security/2010/04/14/4"
},
{
"type": "WEB",
"url": "http://www.securitytracker.com/id?1023891"
}
],
"schema_version": "1.4.0",
"severity": []
}
GHSA-9VR4-2F43-PC8V
Vulnerability from github – Published: 2026-06-24 15:31 – Updated: 2026-06-24 15:31ProFTPD through 1.3.9b and 1.3.10rc2 contains an access control bypass vulnerability that allows authenticated FTP users to circumvent Directory ACL restrictions by prefixing paths with /proc/self/root in the RNFR command handler. Attackers can exploit the unresolved symlink components in dir_canonical_path() to cause dir_check() to perform lexical path comparisons that match no configured Directory block, enabling rename operations on files in DenyAll-protected directories and subsequent retrieval of those files. Mitigation: Sessions configured with DefaultRoot (chroot) are not affected, as chroot changes the directory to which /proc/self/root resolves.
{
"affected": [],
"aliases": [
"CVE-2026-35025"
],
"database_specific": {
"cwe_ids": [
"CWE-59"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-06-24T14:17:30Z",
"severity": "HIGH"
},
"details": "ProFTPD through 1.3.9b and 1.3.10rc2 contains an access control bypass vulnerability that allows authenticated FTP users to circumvent Directory ACL restrictions by prefixing paths with /proc/self/root in the RNFR command handler. Attackers can exploit the unresolved symlink components in dir_canonical_path() to cause dir_check() to perform lexical path comparisons that match no configured Directory block, enabling rename operations on files in DenyAll-protected directories and subsequent retrieval of those files. Mitigation: Sessions configured with DefaultRoot (chroot) are not affected, as chroot changes the directory to which /proc/self/root resolves.",
"id": "GHSA-9vr4-2f43-pc8v",
"modified": "2026-06-24T15:31:47Z",
"published": "2026-06-24T15:31:47Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-35025"
},
{
"type": "WEB",
"url": "https://github.com/proftpd/proftpd/issues/2170"
},
{
"type": "WEB",
"url": "https://www.vulncheck.com/advisories/proftpd-acl-bypass-via-proc-self-root-path-prefix-in-rnfr"
},
{
"type": "WEB",
"url": "http://www.proftpd.org"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N",
"type": "CVSS_V3"
},
{
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/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-9VRX-RXRX-2PGP
Vulnerability from github – Published: 2022-05-01 18:10 – Updated: 2022-05-01 18:10The init.d script for the X.Org X11 xfs font server on various Linux distributions might allow local users to change the permissions of arbitrary files via a symlink attack on the /tmp/.font-unix temporary file.
{
"affected": [],
"aliases": [
"CVE-2007-3103"
],
"database_specific": {
"cwe_ids": [
"CWE-59"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2007-07-15T22:30:00Z",
"severity": "MODERATE"
},
"details": "The init.d script for the X.Org X11 xfs font server on various Linux distributions might allow local users to change the permissions of arbitrary files via a symlink attack on the /tmp/.font-unix temporary file.",
"id": "GHSA-9vrx-rxrx-2pgp",
"modified": "2022-05-01T18:10:19Z",
"published": "2022-05-01T18:10:19Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2007-3103"
},
{
"type": "WEB",
"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/35375"
},
{
"type": "WEB",
"url": "https://issues.rpath.com/browse/RPL-1485"
},
{
"type": "WEB",
"url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10802"
},
{
"type": "WEB",
"url": "https://www.exploit-db.com/exploits/5167"
},
{
"type": "WEB",
"url": "https://www.redhat.com/archives/fedora-package-announce/2009-July/msg00095.html"
},
{
"type": "WEB",
"url": "https://www.redhat.com/archives/fedora-package-announce/2009-July/msg00096.html"
},
{
"type": "WEB",
"url": "http://bugs.gentoo.org/show_bug.cgi?id=185660"
},
{
"type": "WEB",
"url": "http://bugzilla.redhat.com/242903"
},
{
"type": "WEB",
"url": "http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=557"
},
{
"type": "WEB",
"url": "http://osvdb.org/40945"
},
{
"type": "WEB",
"url": "http://secunia.com/advisories/26056"
},
{
"type": "WEB",
"url": "http://secunia.com/advisories/26081"
},
{
"type": "WEB",
"url": "http://secunia.com/advisories/26282"
},
{
"type": "WEB",
"url": "http://secunia.com/advisories/27240"
},
{
"type": "WEB",
"url": "http://secunia.com/advisories/35674"
},
{
"type": "WEB",
"url": "http://security.gentoo.org/glsa/glsa-200710-11.xml"
},
{
"type": "WEB",
"url": "http://www.debian.org/security/2007/dsa-1342"
},
{
"type": "WEB",
"url": "http://www.redhat.com/support/errata/RHSA-2007-0519.html"
},
{
"type": "WEB",
"url": "http://www.redhat.com/support/errata/RHSA-2007-0520.html"
},
{
"type": "WEB",
"url": "http://www.securityfocus.com/archive/1/473869/100/0/threaded"
},
{
"type": "WEB",
"url": "http://www.securityfocus.com/bid/24888"
},
{
"type": "WEB",
"url": "http://www.securitytracker.com/id?1018375"
}
],
"schema_version": "1.4.0",
"severity": []
}
GHSA-9VV8-3G89-C4P4
Vulnerability from github – Published: 2022-06-16 00:00 – Updated: 2022-06-25 00:00Local privilege vulnerability in Yandex Browser for Windows prior to 22.3.3.684 allows a local, low privileged, attacker to execute arbitary code with the SYSTEM privileges through manipulating symlinks to installation file during Yandex Browser update process.
{
"affected": [],
"aliases": [
"CVE-2022-28225"
],
"database_specific": {
"cwe_ids": [
"CWE-59"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2022-06-15T20:15:00Z",
"severity": "HIGH"
},
"details": "Local privilege vulnerability in Yandex Browser for Windows prior to 22.3.3.684 allows a local, low privileged, attacker to execute arbitary code with the SYSTEM privileges through manipulating symlinks to installation file during Yandex Browser update process.",
"id": "GHSA-9vv8-3g89-c4p4",
"modified": "2022-06-25T00:00:51Z",
"published": "2022-06-16T00:00:20Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2022-28225"
},
{
"type": "WEB",
"url": "https://yandex.com/bugbounty/i/hall-of-fame-browser"
}
],
"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-9W2R-MXJH-5657
Vulnerability from github – Published: 2025-01-14 18:32 – Updated: 2025-01-14 18:32Windows Event Tracing Denial of Service Vulnerability
{
"affected": [],
"aliases": [
"CVE-2025-21274"
],
"database_specific": {
"cwe_ids": [
"CWE-59"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2025-01-14T18:15:47Z",
"severity": "MODERATE"
},
"details": "Windows Event Tracing Denial of Service Vulnerability",
"id": "GHSA-9w2r-mxjh-5657",
"modified": "2025-01-14T18:32:03Z",
"published": "2025-01-14T18:32:03Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2025-21274"
},
{
"type": "WEB",
"url": "https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-21274"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
}
]
}
GHSA-9W5F-7XRH-R828
Vulnerability from github – Published: 2022-05-14 01:05 – Updated: 2022-05-14 01:05Supportutils, before version 3.1-5.7.1, wrote data to static file /tmp/supp_log, allowing local attackers to overwrite files on systems without symlink protection
{
"affected": [],
"aliases": [
"CVE-2018-19637"
],
"database_specific": {
"cwe_ids": [
"CWE-59"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2019-03-05T16:29:00Z",
"severity": "MODERATE"
},
"details": "Supportutils, before version 3.1-5.7.1, wrote data to static file /tmp/supp_log, allowing local attackers to overwrite files on systems without symlink protection",
"id": "GHSA-9w5f-7xrh-r828",
"modified": "2022-05-14T01:05:25Z",
"published": "2022-05-14T01:05:25Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2018-19637"
},
{
"type": "WEB",
"url": "https://bugzilla.suse.com/show_bug.cgi?id=1117776"
},
{
"type": "WEB",
"url": "http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00018.html"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/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.