Common Weakness Enumeration

CWE-59

Allowed

Improper 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.

2328 vulnerabilities reference this CWE, most recent first.

GHSA-H697-89CP-24Q8

Vulnerability from github – Published: 2026-07-03 21:31 – Updated: 2026-09-01 17:19
VLAI
Summary
Gitea template repository generation follows unsafe filesystem paths
Details

Gitea versions before 1.25.5 mishandle path resolution during template repository generation, allowing template processing to read or write through symlinked or otherwise non-regular paths.

Show details on source website

{
  "affected": [
    {
      "package": {
        "ecosystem": "Go",
        "name": "code.gitea.io/gitea"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.25.5"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2026-25718"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-59"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-09-01T17:19:34Z",
    "nvd_published_at": "2026-07-03T21:16:57Z",
    "severity": "CRITICAL"
  },
  "details": "Gitea versions before 1.25.5 mishandle path resolution during template repository generation, allowing template processing to read or write through symlinked or otherwise non-regular paths.",
  "id": "GHSA-h697-89cp-24q8",
  "modified": "2026-09-01T17:19:34Z",
  "published": "2026-07-03T21:31:37Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-25718"
    },
    {
      "type": "WEB",
      "url": "https://github.com/go-gitea/gitea/pull/36734"
    },
    {
      "type": "WEB",
      "url": "https://github.com/go-gitea/gitea/pull/36746"
    },
    {
      "type": "WEB",
      "url": "https://github.com/go-gitea/gitea/commit/2176e84ab977011ff2bc3f3a9066020cc674f6b1"
    },
    {
      "type": "WEB",
      "url": "https://github.com/go-gitea/gitea/commit/579615936c1ef7ba16c8887b9d12ade4c44f78fa"
    },
    {
      "type": "WEB",
      "url": "https://blog.gitea.com/release-of-1.25.5"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/go-gitea/gitea"
    },
    {
      "type": "WEB",
      "url": "https://github.com/go-gitea/gitea/releases/tag/v1.25.5"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Gitea template repository generation follows unsafe filesystem paths"
}

GHSA-H69G-FW62-JJ7R

Vulnerability from github – Published: 2022-05-02 03:14 – Updated: 2022-05-02 03:14
VLAI
Details

Open redirect vulnerability in cs.html in the Autonomy (formerly Verity) Ultraseek search engine allows remote attackers to redirect users to arbitrary web sites and conduct phishing attacks via the url parameter.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2009-0347"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-59"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2009-01-29T19:30:00Z",
    "severity": "MODERATE"
  },
  "details": "Open redirect vulnerability in cs.html in the Autonomy (formerly Verity) Ultraseek search engine allows remote attackers to redirect users to arbitrary web sites and conduct phishing attacks via the url parameter.",
  "id": "GHSA-h69g-fw62-jj7r",
  "modified": "2022-05-02T03:14:34Z",
  "published": "2022-05-02T03:14:34Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2009-0347"
    },
    {
      "type": "WEB",
      "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/48336"
    },
    {
      "type": "WEB",
      "url": "http://sunbeltblog.blogspot.com/2009/01/constant-stream-of-ultraseek-redirects.html"
    },
    {
      "type": "WEB",
      "url": "http://www.kb.cert.org/vuls/id/202753"
    },
    {
      "type": "WEB",
      "url": "http://www.securityfocus.com/bid/33500"
    },
    {
      "type": "WEB",
      "url": "http://www.ultraseek.com/forums/thread.jspa?messageID=9818"
    }
  ],
  "schema_version": "1.4.0",
  "severity": []
}

GHSA-H6FR-RH94-PRMV

Vulnerability from github – Published: 2023-06-07 21:30 – Updated: 2025-11-04 00:30
VLAI
Details

RenderDoc through 1.26 allows local privilege escalation via a symlink attack.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2023-33865"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-59"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2023-06-07T20:15:10Z",
    "severity": "HIGH"
  },
  "details": "RenderDoc through 1.26 allows local privilege escalation via a symlink attack.",
  "id": "GHSA-h6fr-rh94-prmv",
  "modified": "2025-11-04T00:30:37Z",
  "published": "2023-06-07T21:30:18Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-33865"
    },
    {
      "type": "WEB",
      "url": "https://lists.debian.org/debian-lts-announce/2023/07/msg00023.html"
    },
    {
      "type": "WEB",
      "url": "https://lists.debian.org/debian-lts-announce/2024/12/msg00008.html"
    },
    {
      "type": "WEB",
      "url": "https://renderdoc.org"
    },
    {
      "type": "WEB",
      "url": "https://security.gentoo.org/glsa/202311-10"
    },
    {
      "type": "WEB",
      "url": "https://www.qualys.com/2023/06/06/renderdoc/renderdoc.txt"
    },
    {
      "type": "WEB",
      "url": "http://packetstormsecurity.com/files/172804/RenderDoc-1.26-Local-Privilege-Escalation-Remote-Code-Execution.html"
    },
    {
      "type": "WEB",
      "url": "http://seclists.org/fulldisclosure/2023/Jun/2"
    }
  ],
  "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-H6HM-9C4M-MF67

Vulnerability from github – Published: 2022-05-03 03:25 – Updated: 2022-05-03 03:25
VLAI
Details

pimd 2.1.5 and possibly earlier versions allows user-assisted local users to overwrite arbitrary files via a symlink attack on (1) pimd.dump when a USR1 signal is sent, or (2) pimd.cache when USR2 is sent.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2011-0007"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-59"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2011-01-11T03:00:00Z",
    "severity": "LOW"
  },
  "details": "pimd 2.1.5 and possibly earlier versions allows user-assisted local users to overwrite arbitrary files via a symlink attack on (1) pimd.dump when a USR1 signal is sent, or (2) pimd.cache when USR2 is sent.",
  "id": "GHSA-h6hm-9c4m-mf67",
  "modified": "2022-05-03T03:25:08Z",
  "published": "2022-05-03T03:25:08Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2011-0007"
    },
    {
      "type": "WEB",
      "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/64528"
    },
    {
      "type": "WEB",
      "url": "http://secunia.com/advisories/42759"
    },
    {
      "type": "WEB",
      "url": "http://secunia.com/advisories/42793"
    },
    {
      "type": "WEB",
      "url": "http://www.debian.org/security/2011/dsa-2147"
    },
    {
      "type": "WEB",
      "url": "http://www.openwall.com/lists/oss-security/2011/01/07/3"
    },
    {
      "type": "WEB",
      "url": "http://www.openwall.com/lists/oss-security/2011/01/07/4"
    },
    {
      "type": "WEB",
      "url": "http://www.osvdb.org/70305"
    },
    {
      "type": "WEB",
      "url": "http://www.securityfocus.com/bid/45715"
    },
    {
      "type": "WEB",
      "url": "http://www.vupen.com/english/advisories/2011/0113"
    }
  ],
  "schema_version": "1.4.0",
  "severity": []
}

GHSA-H6RP-PHMV-C3RW

Vulnerability from github – Published: 2022-05-14 00:59 – Updated: 2022-05-14 00:59
VLAI
Details

lxclock.c in LXC 1.1.2 and earlier allows local users to create arbitrary files via a symlink attack on /run/lock/lxc/*.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2015-1331"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-59"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2015-08-12T14:59:00Z",
    "severity": "MODERATE"
  },
  "details": "lxclock.c in LXC 1.1.2 and earlier allows local users to create arbitrary files via a symlink attack on /run/lock/lxc/*.",
  "id": "GHSA-h6rp-phmv-c3rw",
  "modified": "2022-05-14T00:59:49Z",
  "published": "2022-05-14T00:59:49Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2015-1331"
    },
    {
      "type": "WEB",
      "url": "https://github.com/lxc/lxc/commit/72cf81f6a3404e35028567db2c99a90406e9c6e6"
    },
    {
      "type": "WEB",
      "url": "https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1470842"
    },
    {
      "type": "WEB",
      "url": "https://service.ait.ac.at/security/2015/LxcSecurityAnalysis.html"
    },
    {
      "type": "WEB",
      "url": "http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00073.html"
    },
    {
      "type": "WEB",
      "url": "http://lists.opensuse.org/opensuse-updates/2015-07/msg00066.html"
    },
    {
      "type": "WEB",
      "url": "http://www.debian.org/security/2015/dsa-3317"
    },
    {
      "type": "WEB",
      "url": "http://www.securityfocus.com/bid/75999"
    },
    {
      "type": "WEB",
      "url": "http://www.ubuntu.com/usn/USN-2675-1"
    }
  ],
  "schema_version": "1.4.0",
  "severity": []
}

GHSA-H734-RGGH-79XQ

Vulnerability from github – Published: 2026-09-27 03:31 – Updated: 2026-09-27 03:31
VLAI
Details

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 filesystem. A malicious process on the untrusted host able to connect to the Kata agent VSOCK could issue a series of CopyFile requests to overwrite security-critical files in the guest or trick the workload into disclosing sensitive data, effectively amounting to a full guest takeover. Users unable to upgrade can apply an equivalent rego policy fix passed to 'contrast generate --policy'.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2026-100838"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-59"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2026-09-27T02:17:22Z",
    "severity": "HIGH"
  },
  "details": "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 filesystem. A malicious process on the untrusted host able to connect to the Kata agent VSOCK could issue a series of CopyFile requests to overwrite security-critical files in the guest or trick the workload into disclosing sensitive data, effectively amounting to a full guest takeover. Users unable to upgrade can apply an equivalent rego policy fix passed to \u0027contrast generate --policy\u0027.",
  "id": "GHSA-h734-rggh-79xq",
  "modified": "2026-09-27T03:31:04Z",
  "published": "2026-09-27T03:31:04Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/edgelesssys/contrast/security/advisories/GHSA-rh99-wc69-c255"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-100838"
    },
    {
      "type": "WEB",
      "url": "https://www.vulncheck.com/advisories/contrast-before-1.19.1-copyfile-policy-symlink-subversion"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N",
      "type": "CVSS_V3"
    },
    {
      "score": "CVSS:4.0/AV:A/AC:L/AT:N/PR:N/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-H76C-22CC-XHHX

Vulnerability from github – Published: 2022-05-17 02:38 – Updated: 2022-05-17 02:38
VLAI
Details

vzctl before 4.9.4 determines the virtual environment (VE) layout based on the presence of root.hdd/DiskDescriptor.xml in the VE private directory, which allows local simfs container (CT) root users to change the root password for arbitrary ploop containers, as demonstrated by a symlink attack on the ploop container root.hdd file and then access a control panel.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2015-6927"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-59"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2015-09-28T20:59:00Z",
    "severity": "LOW"
  },
  "details": "vzctl before 4.9.4 determines the virtual environment (VE) layout based on the presence of root.hdd/DiskDescriptor.xml in the VE private directory, which allows local simfs container (CT) root users to change the root password for arbitrary ploop containers, as demonstrated by a symlink attack on the ploop container root.hdd file and then access a control panel.",
  "id": "GHSA-h76c-22cc-xhhx",
  "modified": "2022-05-17T02:38:26Z",
  "published": "2022-05-17T02:38:26Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2015-6927"
    },
    {
      "type": "WEB",
      "url": "https://openvz.org/Download/vzctl/4.9.4"
    },
    {
      "type": "WEB",
      "url": "https://security.gentoo.org/glsa/201701-30"
    },
    {
      "type": "WEB",
      "url": "https://src.openvz.org/projects/OVZL/repos/vzctl/commits/9e98ea630ac0e88b44e3e23c878a5166aeb74e1c"
    },
    {
      "type": "WEB",
      "url": "http://www.debian.org/security/2015/dsa-3357"
    }
  ],
  "schema_version": "1.4.0",
  "severity": []
}

GHSA-H776-J9JW-992P

Vulnerability from github – Published: 2026-05-20 15:35 – Updated: 2026-05-20 18:31
VLAI
Details

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

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2026-41091"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-59"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2026-05-20T13:16:29Z",
    "severity": "HIGH"
  },
  "details": "Improper link resolution before file access (\u0027link following\u0027) in Microsoft Defender allows an authorized attacker to elevate privileges locally.",
  "id": "GHSA-h776-j9jw-992p",
  "modified": "2026-05-20T18:31:34Z",
  "published": "2026-05-20T15:35:31Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-41091"
    },
    {
      "type": "WEB",
      "url": "https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-41091"
    },
    {
      "type": "WEB",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-41091"
    }
  ],
  "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-H7G5-P978-F45G

Vulnerability from github – Published: 2022-05-24 17:37 – Updated: 2022-05-24 17:37
VLAI
Details

In Malwarebytes Free 4.1.0.56, a symbolic link may be used delete an arbitrary file on the system by exploiting the local quarantine system.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2020-28641"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-59"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2020-12-22T23:15:00Z",
    "severity": "HIGH"
  },
  "details": "In Malwarebytes Free 4.1.0.56, a symbolic link may be used delete an arbitrary file on the system by exploiting the local quarantine system.",
  "id": "GHSA-h7g5-p978-f45g",
  "modified": "2022-05-24T17:37:05Z",
  "published": "2022-05-24T17:37:05Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-28641"
    },
    {
      "type": "WEB",
      "url": "https://support.malwarebytes.com/hc/en-us/articles/1500000403501-Arbitrary-file-deletion-vulnerability-fixed-in-Malwarebytes-Endpoint-Protection"
    },
    {
      "type": "WEB",
      "url": "https://support.malwarebytes.com/hc/en-us/articles/360058885974-Arbitrary-file-deletion-vulnerability-fixed-in-Malwarebytes-for-Windows"
    },
    {
      "type": "WEB",
      "url": "https://www.malwarebytes.com"
    }
  ],
  "schema_version": "1.4.0",
  "severity": []
}

GHSA-H7G6-FRRR-69CX

Vulnerability from github – Published: 2022-05-02 04:00 – Updated: 2022-05-02 04:00
VLAI
Details

The (1) dshield.conf, (2) mail-buffered.conf, (3) mynetwatchman.conf, and (4) mynetwatchman.conf actions in action.d/ in Fail2ban before 0.8.5 allows local users to write to arbitrary files via a symlink attack on temporary files with predictable names, as demonstrated by /tmp/fail2ban-mail.txt.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2009-5023"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-59"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2014-06-10T14:55:00Z",
    "severity": "MODERATE"
  },
  "details": "The (1) dshield.conf, (2) mail-buffered.conf, (3) mynetwatchman.conf, and (4) mynetwatchman.conf actions in action.d/ in Fail2ban before 0.8.5 allows local users to write to arbitrary files via a symlink attack on temporary files with predictable names, as demonstrated by /tmp/fail2ban-mail.txt.",
  "id": "GHSA-h7g6-frrr-69cx",
  "modified": "2022-05-02T04:00:42Z",
  "published": "2022-05-02T04:00:42Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2009-5023"
    },
    {
      "type": "WEB",
      "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=544232"
    },
    {
      "type": "WEB",
      "url": "https://github.com/fail2ban/fail2ban/blob/sdist/0.8.5/ChangeLog"
    },
    {
      "type": "WEB",
      "url": "http://secunia.com/advisories/58841"
    },
    {
      "type": "WEB",
      "url": "http://security.gentoo.org/glsa/glsa-201406-03.xml"
    }
  ],
  "schema_version": "1.4.0",
  "severity": []
}

Mitigation MIT-48.1
Architecture and Design

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.