CVE-2026-121717
fzf: Predictable FIFO path in zsh completion allows local symlink attack / arbitrary file overwrite as the victim user (_fzf_feed_fifo)
- CVSS
- 5
- EPSS
- 0.29% (p24)
- Published
- 2026-11-17
- Age
- 19d old
- Modified
- 2026-11-19
- Product
- junegunn fzf
- Aliases
- GHSA-7rj6-7pqx-v7rm
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:H/A:N
Description
fzf is a command-line fuzzy finder. Prior to 0.74.5, trigger-driven zsh completion in shell/completion.zsh uses _fzf_feed_fifo to create a FIFO at the predictable shared path ${TMPDIR:-/tmp}/fzf-complete-fifo-$$ and continues after removal or creation errors. On a multi-user host, a local attacker can pre-create that path as a symlink so the victim's completion stream overwrites a victim-writable file, potentially enabling code execution when that file is later sourced. A pre-created FIFO can instead disclose a bounded stream of completion candidates or block completion. On default modern hosts, fs.protected_symlinks blocks the overwrite variant, and protected_fifos and protected_regular further limit the FIFO disclosure and blocking variants, so exploitation depends on the relevant kernel protections being disabled and on the victim invoking the affected completion. This issue is fixed in version 0.74.5.
Fixed in
0.74.5
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| Go | github.com/junegunn/fzf | <= 0.74.4 | 0.74.5 |
| Go | github.com/junegunn/fzf | >=0, <0.74.5 | 0.74.5 |
Sources
- NVD · first seen 19d ago · NVD terms of use
- OSV · first seen 18d ago · CC-BY 4.0
- GitHub Advisory Database · first seen 17d ago · CC-BY 4.0
- CVE List · first seen 19d ago · CVE Terms of Use
References
- https://github.com/junegunn/fzf/security/advisories/GHSA-7rj6-7pqx-v7rm x_refsource_CONFIRM
- https://github.com/junegunn/fzf/commit/cbc11e4d9591e1fa47fb9d8711b18b74d625746e x_refsource_MISC
- https://github.com/junegunn/fzf/releases/tag/v0.74.5 x_refsource_MISC
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/121xxx/CVE-2026-121717.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-121717 advisory
- https://github.com/advisories/GHSA-7rj6-7pqx-v7rm other
- https://github.com/junegunn/fzf package