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.
2298 vulnerabilities reference this CWE, most recent first.
GHSA-45MC-HH26-869M
Vulnerability from github – Published: 2022-05-02 03:29 – Updated: 2022-05-02 03:29The configtest function in the Red Hat dhcpd init script for DHCP 3.0.1 in Red Hat Enterprise Linux (RHEL) 3 allows local users to overwrite arbitrary files via a symlink attack on an unspecified temporary file, related to the "dhcpd -t" command.
{
"affected": [],
"aliases": [
"CVE-2009-1893"
],
"database_specific": {
"cwe_ids": [
"CWE-59"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2009-07-17T16:30:00Z",
"severity": "MODERATE"
},
"details": "The configtest function in the Red Hat dhcpd init script for DHCP 3.0.1 in Red Hat Enterprise Linux (RHEL) 3 allows local users to overwrite arbitrary files via a symlink attack on an unspecified temporary file, related to the \"dhcpd -t\" command.",
"id": "GHSA-45mc-hh26-869m",
"modified": "2022-05-02T03:29:37Z",
"published": "2022-05-02T03:29:37Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2009-1893"
},
{
"type": "WEB",
"url": "https://access.redhat.com/errata/RHSA-2009:1154"
},
{
"type": "WEB",
"url": "https://access.redhat.com/security/cve/CVE-2009-1893"
},
{
"type": "WEB",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=510024"
},
{
"type": "WEB",
"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/51718"
},
{
"type": "WEB",
"url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11597"
},
{
"type": "WEB",
"url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A6440"
},
{
"type": "WEB",
"url": "http://secunia.com/advisories/35831"
},
{
"type": "WEB",
"url": "http://securitytracker.com/id?1022554"
},
{
"type": "WEB",
"url": "http://www.redhat.com/support/errata/RHSA-2009-1154.html"
},
{
"type": "WEB",
"url": "http://www.securityfocus.com/bid/35670"
}
],
"schema_version": "1.4.0",
"severity": []
}
GHSA-45Q7-7MRV-F7JR
Vulnerability from github – Published: 2022-05-17 01:41 – Updated: 2022-05-17 01:41openCryptoki 2.4.1 allows local users to create or set world-writable permissions on arbitrary files via a symlink attack on the (1) LCK..opencryptoki or (2) LCK..opencryptoki_stdll file in /var/lock/.
{
"affected": [],
"aliases": [
"CVE-2012-4455"
],
"database_specific": {
"cwe_ids": [
"CWE-59"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2012-10-10T18:55:00Z",
"severity": "MODERATE"
},
"details": "openCryptoki 2.4.1 allows local users to create or set world-writable permissions on arbitrary files via a symlink attack on the (1) LCK..opencryptoki or (2) LCK..opencryptoki_stdll file in /var/lock/.",
"id": "GHSA-45q7-7mrv-f7jr",
"modified": "2022-05-17T01:41:59Z",
"published": "2022-05-17T01:41:59Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2012-4455"
},
{
"type": "WEB",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=730636"
},
{
"type": "WEB",
"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/78943"
},
{
"type": "WEB",
"url": "http://opencryptoki.git.sourceforge.net/git/gitweb.cgi?p=opencryptoki/opencryptoki%3Ba=commitdiff%3Bh=5667edb52cd27b7e512f48f823b4bcc6b872ab15"
},
{
"type": "WEB",
"url": "http://opencryptoki.git.sourceforge.net/git/gitweb.cgi?p=opencryptoki/opencryptoki;a=commitdiff;h=5667edb52cd27b7e512f48f823b4bcc6b872ab15"
},
{
"type": "WEB",
"url": "http://secunia.com/advisories/50702"
},
{
"type": "WEB",
"url": "http://sourceforge.net/mailarchive/message.php?msg_id=29191022"
},
{
"type": "WEB",
"url": "http://www.openwall.com/lists/oss-security/2012/09/07/2"
},
{
"type": "WEB",
"url": "http://www.openwall.com/lists/oss-security/2012/09/07/6"
},
{
"type": "WEB",
"url": "http://www.openwall.com/lists/oss-security/2012/09/09/2"
},
{
"type": "WEB",
"url": "http://www.openwall.com/lists/oss-security/2012/09/20/6"
},
{
"type": "WEB",
"url": "http://www.openwall.com/lists/oss-security/2012/09/25/5"
},
{
"type": "WEB",
"url": "http://www.openwall.com/lists/oss-security/2012/09/27/2"
},
{
"type": "WEB",
"url": "http://www.securityfocus.com/bid/55627"
}
],
"schema_version": "1.4.0",
"severity": []
}
GHSA-45WV-GC6W-FQ7M
Vulnerability from github – Published: 2022-05-17 05:30 – Updated: 2025-04-11 03:44The FileUtils.remove_entry_secure method in Ruby 1.8.6 through 1.8.6-420, 1.8.7 through 1.8.7-330, 1.8.8dev, 1.9.1 through 1.9.1-430, 1.9.2 through 1.9.2-136, and 1.9.3dev allows local users to delete arbitrary files via a symlink attack.
{
"affected": [],
"aliases": [
"CVE-2011-1004"
],
"database_specific": {
"cwe_ids": [
"CWE-59"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2011-03-02T20:00:00Z",
"severity": "MODERATE"
},
"details": "The FileUtils.remove_entry_secure method in Ruby 1.8.6 through 1.8.6-420, 1.8.7 through 1.8.7-330, 1.8.8dev, 1.9.1 through 1.9.1-430, 1.9.2 through 1.9.2-136, and 1.9.3dev allows local users to delete arbitrary files via a symlink attack.",
"id": "GHSA-45wv-gc6w-fq7m",
"modified": "2025-04-11T03:44:58Z",
"published": "2022-05-17T05:30:37Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2011-1004"
},
{
"type": "WEB",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=678913"
},
{
"type": "WEB",
"url": "http://lists.apple.com/archives/security-announce/2012/May/msg00001.html"
},
{
"type": "WEB",
"url": "http://lists.fedoraproject.org/pipermail/package-announce/2011-March/054422.html"
},
{
"type": "WEB",
"url": "http://lists.fedoraproject.org/pipermail/package-announce/2011-March/054436.html"
},
{
"type": "WEB",
"url": "http://osvdb.org/70958"
},
{
"type": "WEB",
"url": "http://secunia.com/advisories/43434"
},
{
"type": "WEB",
"url": "http://secunia.com/advisories/43573"
},
{
"type": "WEB",
"url": "http://support.apple.com/kb/HT5281"
},
{
"type": "WEB",
"url": "http://www.mandriva.com/security/advisories?name=MDVSA-2011:097"
},
{
"type": "WEB",
"url": "http://www.openwall.com/lists/oss-security/2011/02/21/2"
},
{
"type": "WEB",
"url": "http://www.openwall.com/lists/oss-security/2011/02/21/5"
},
{
"type": "WEB",
"url": "http://www.redhat.com/support/errata/RHSA-2011-0909.html"
},
{
"type": "WEB",
"url": "http://www.redhat.com/support/errata/RHSA-2011-0910.html"
},
{
"type": "WEB",
"url": "http://www.ruby-lang.org/en/news/2011/02/18/fileutils-is-vulnerable-to-symlink-race-attacks"
},
{
"type": "WEB",
"url": "http://www.securityfocus.com/bid/46460"
},
{
"type": "WEB",
"url": "http://www.vupen.com/english/advisories/2011/0539"
}
],
"schema_version": "1.4.0",
"severity": []
}
GHSA-467H-6PW9-97GQ
Vulnerability from github – Published: 2022-05-24 19:10 – Updated: 2026-08-10 18:30Windows Event Tracing Elevation of Privilege Vulnerability This CVE ID is unique from CVE-2021-34486, CVE-2021-34487.
{
"affected": [],
"aliases": [
"CVE-2021-26425"
],
"database_specific": {
"cwe_ids": [
"CWE-269",
"CWE-59"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2021-08-12T18:15:00Z",
"severity": "HIGH"
},
"details": "Windows Event Tracing Elevation of Privilege Vulnerability This CVE ID is unique from CVE-2021-34486, CVE-2021-34487.",
"id": "GHSA-467h-6pw9-97gq",
"modified": "2026-08-10T18:30:52Z",
"published": "2022-05-24T19:10:54Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-26425"
},
{
"type": "WEB",
"url": "https://msrc.microsoft.com/update-guide/vulnerability/CVE-2021-26425"
},
{
"type": "WEB",
"url": "https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2021-26425"
}
],
"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-4682-R8PF-C5PM
Vulnerability from github – Published: 2022-05-02 00:05 – Updated: 2022-05-02 00:05javareconf in R 2.7.2 allows local users to overwrite arbitrary files via a symlink attack on temporary files.
{
"affected": [],
"aliases": [
"CVE-2008-3931"
],
"database_specific": {
"cwe_ids": [
"CWE-59"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2008-09-04T18:41:00Z",
"severity": "MODERATE"
},
"details": "javareconf in R 2.7.2 allows local users to overwrite arbitrary files via a symlink attack on temporary files.",
"id": "GHSA-4682-r8pf-c5pm",
"modified": "2022-05-02T00:05:05Z",
"published": "2022-05-02T00:05:05Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2008-3931"
},
{
"type": "WEB",
"url": "https://bugs.gentoo.org/show_bug.cgi?id=235770"
},
{
"type": "WEB",
"url": "https://bugs.gentoo.org/show_bug.cgi?id=235822"
},
{
"type": "WEB",
"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/44736"
},
{
"type": "WEB",
"url": "http://bugs.debian.org/496418"
},
{
"type": "WEB",
"url": "http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=496363"
},
{
"type": "WEB",
"url": "http://dev.gentoo.org/~rbu/security/debiantemp/r-base-core"
},
{
"type": "WEB",
"url": "http://dev.gentoo.org/~rbu/security/debiantemp/r-base-core-ra"
},
{
"type": "WEB",
"url": "http://secunia.com/advisories/31647"
},
{
"type": "WEB",
"url": "http://secunia.com/advisories/31996"
},
{
"type": "WEB",
"url": "http://security.gentoo.org/glsa/glsa-200809-13.xml"
},
{
"type": "WEB",
"url": "http://www.mandriva.com/security/advisories?name=MDVSA-2008:198"
},
{
"type": "WEB",
"url": "http://www.openwall.com/lists/oss-security/2008/10/30/2"
},
{
"type": "WEB",
"url": "http://www.securityfocus.com/bid/30878"
}
],
"schema_version": "1.4.0",
"severity": []
}
GHSA-46MV-P9PH-Q95R
Vulnerability from github – Published: 2022-11-08 12:00 – Updated: 2022-11-09 12:00Local privilege escalation due to improper soft link handling. The following products are affected: Acronis Cyber Protect Home Office (Windows) before build 40107.
{
"affected": [],
"aliases": [
"CVE-2022-44747"
],
"database_specific": {
"cwe_ids": [
"CWE-59"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2022-11-07T20:15:00Z",
"severity": "HIGH"
},
"details": "Local privilege escalation due to improper soft link handling. The following products are affected: Acronis Cyber Protect Home Office (Windows) before build 40107.",
"id": "GHSA-46mv-p9ph-q95r",
"modified": "2022-11-09T12:00:24Z",
"published": "2022-11-08T12:00:24Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2022-44747"
},
{
"type": "WEB",
"url": "https://security-advisory.acronis.com/advisories/SEC-4540"
}
],
"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-46R6-Q3G6-PCCF
Vulnerability from github – Published: 2022-05-24 17:25 – Updated: 2022-11-18 21:30An issue was discovered in TrouSerS through 0.3.14. If the tcsd daemon is started with root privileges, the creation of the system.data file is prone to symlink attacks. The tss user can be used to create or corrupt existing files, which could possibly lead to a DoS attack.
{
"affected": [],
"aliases": [
"CVE-2020-24332"
],
"database_specific": {
"cwe_ids": [
"CWE-59"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2020-08-13T17:15:00Z",
"severity": "MODERATE"
},
"details": "An issue was discovered in TrouSerS through 0.3.14. If the tcsd daemon is started with root privileges, the creation of the system.data file is prone to symlink attacks. The tss user can be used to create or corrupt existing files, which could possibly lead to a DoS attack.",
"id": "GHSA-46r6-q3g6-pccf",
"modified": "2022-11-18T21:30:16Z",
"published": "2022-05-24T17:25:35Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2020-24332"
},
{
"type": "WEB",
"url": "https://bugzilla.suse.com/show_bug.cgi?id=1164472"
},
{
"type": "WEB",
"url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SSDL7COIFCZQMUBNAASNMKMX7W5JUHRD"
},
{
"type": "WEB",
"url": "https://seclists.org/oss-sec/2020/q2/att-135/tcsd_fixes.patch"
},
{
"type": "WEB",
"url": "https://sourceforge.net/p/trousers/mailman/message/37015817"
},
{
"type": "WEB",
"url": "http://www.openwall.com/lists/oss-security/2020/08/14/1"
}
],
"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-472R-J47F-HRMV
Vulnerability from github – Published: 2025-05-21 18:33 – Updated: 2025-05-21 18:33Improper Link Resolution Before File Access ('Link Following') vulnerability in HYPR Passwordless on Windows allows Privilege Escalation.This issue affects HYPR Passwordless: before 10.1.
{
"affected": [],
"aliases": [
"CVE-2025-2102"
],
"database_specific": {
"cwe_ids": [
"CWE-59"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2025-05-21T18:15:52Z",
"severity": "MODERATE"
},
"details": "Improper Link Resolution Before File Access (\u0027Link Following\u0027) vulnerability in HYPR Passwordless on Windows allows Privilege Escalation.This issue affects HYPR Passwordless: before 10.1.",
"id": "GHSA-472r-j47f-hrmv",
"modified": "2025-05-21T18:33:31Z",
"published": "2025-05-21T18:33:31Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2025-2102"
},
{
"type": "WEB",
"url": "https://www.hypr.com/trust-center/security-advisories"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:4.0/AV:L/AC:H/AT:P/PR:H/UI:A/VC:L/VI:H/VA:N/SC:L/SI:H/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-4735-2RHV-69G6
Vulnerability from github – Published: 2022-05-02 03:15 – Updated: 2022-05-02 03:15Open redirect vulnerability in the web interface in the Rockwell Automation ControlLogix 1756-ENBT/A EtherNet/IP Bridge Module allows remote attackers to redirect users to arbitrary web sites and conduct phishing attacks via unspecified vectors.
{
"affected": [],
"aliases": [
"CVE-2009-0473"
],
"database_specific": {
"cwe_ids": [
"CWE-59"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2009-02-06T19:30:00Z",
"severity": "MODERATE"
},
"details": "Open redirect vulnerability in the web interface in the Rockwell Automation ControlLogix 1756-ENBT/A EtherNet/IP Bridge Module allows remote attackers to redirect users to arbitrary web sites and conduct phishing attacks via unspecified vectors.",
"id": "GHSA-4735-2rhv-69g6",
"modified": "2022-05-02T03:15:50Z",
"published": "2022-05-02T03:15:50Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2009-0473"
},
{
"type": "WEB",
"url": "http://rockwellautomation.custhelp.com/cgi-bin/rockwellautomation.cfg/php/enduser/std_adp.php?p_faqid=57729"
},
{
"type": "WEB",
"url": "http://secunia.com/advisories/33783"
},
{
"type": "WEB",
"url": "http://www.kb.cert.org/vuls/id/619499"
},
{
"type": "WEB",
"url": "http://www.securityfocus.com/bid/33636"
},
{
"type": "WEB",
"url": "http://www.vupen.com/english/advisories/2009/0347"
}
],
"schema_version": "1.4.0",
"severity": []
}
GHSA-47JC-H939-7PJ5
Vulnerability from github – Published: 2026-05-10 15:31 – Updated: 2026-05-10 15:31CyberPanel 2.1 contains a command execution vulnerability that allows authenticated attackers to read arbitrary files and execute remote code by exploiting symlink attacks through the filemanager controller endpoint. Attackers can manipulate the completeStartingPath parameter in POST requests to /filemanager/controller to create symbolic links, read sensitive files like database credentials, and execute arbitrary shell commands through the /websites/fetchFolderDetails endpoint.
{
"affected": [],
"aliases": [
"CVE-2021-47949"
],
"database_specific": {
"cwe_ids": [
"CWE-59"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-05-10T13:16:31Z",
"severity": "HIGH"
},
"details": "CyberPanel 2.1 contains a command execution vulnerability that allows authenticated attackers to read arbitrary files and execute remote code by exploiting symlink attacks through the filemanager controller endpoint. Attackers can manipulate the completeStartingPath parameter in POST requests to /filemanager/controller to create symbolic links, read sensitive files like database credentials, and execute arbitrary shell commands through the /websites/fetchFolderDetails endpoint.",
"id": "GHSA-47jc-h939-7pj5",
"modified": "2026-05-10T15:31:20Z",
"published": "2026-05-10T15:31:20Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-47949"
},
{
"type": "WEB",
"url": "https://cyberpanel.net"
},
{
"type": "WEB",
"url": "https://github.com/usmannasir/cyberpanel"
},
{
"type": "WEB",
"url": "https://www.exploit-db.com/exploits/50230"
},
{
"type": "WEB",
"url": "https://www.vulncheck.com/advisories/cyberpanel-authenticated-remote-code-execution-via-symlink-attack"
}
],
"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:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/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"
}
]
}
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.