CVE-2026-121717
fzf: Predictable FIFO path in zsh completion allows local symlink attack / arbitrary file overwrite as the victim user (_fzf_feed_fifo)
Also known as GHSA-7rj6-7pqx-v7rm, GO-2026-7004
Mitigation
- Upgrade github.com/junegunn/fzf to 0.74.5 or later.
Who should check
- Projects that depend on Go package github.com/junegunn/fzf (<= 0.74.4)
- Anyone running junegunn fzf < 0.74.5
Vulnerability facts
- Affected
- github.com/junegunn/fzf <= 0.74.4
- Fixed in
- 0.74.5
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.0 (v3.1, CNA)CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:H/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: High
- Privileges required: Low
- User interaction: Required
- Scope: Unchanged
- Confidentiality impact: Low
- Integrity impact: High
- Availability impact: None
- EPSS
- 0.19% chance of exploitation in 30 days (percentile 5, 2026-11-28)
- CWE
- CWE-59, CWE-377
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Go github.com/junegunn/fzf | <= 0.74.4 | 0.74.5 | ghsa |
| junegunn fzf | < 0.74.5 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-121717. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-121717.md Affected: github.com/junegunn/fzf <= 0.74.4 Fixed in: 0.74.5 Steps: 1. Search this machine and project for github.com/junegunn/fzf (Go), junegunn fzf: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
Technologies
References
Vendor advisories
FAQ
Is CVE-2026-121717 being exploited?
There is no confirmed exploitation: CVE-2026-121717 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.19% chance of exploitation in the next 30 days (as of 2026-11-28).
How serious is CVE-2026-121717?
Medium: CVSS 5.0 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2026-121717?
github.com/junegunn/fzf <= 0.74.4.
Is there a fix for CVE-2026-121717?
Yes. Fixed in 0.74.5. Upgrade github.com/junegunn/fzf to 0.74.5 or later.
How do I check if I'm affected by CVE-2026-121717?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.
More github.com/junegunn/fzf vulnerabilities
See all| Severity | Identifier / vulnerability | Technology | Signals | Age |
|---|---|---|---|---|
| HIGH 7.0 | CVE-2026-121716 fzf: Arbitrary command execution via bash arithmetic expansion on unvalidated layout size in fzf-tmux (-l/-u attached value) | Go modules | EPSS 5% |