Skip to main content

fzf EUVDEUVD-2026-127374

| CVE-2026-121717 MEDIUM
Improper Link Resolution Before File Access (CWE-59)
2026-11-17 GitHub_M GHSA-7rj6-7pqx-v7rm
5.0
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain local account on shared host
  2. Delivery
    Pre-create predictable FIFO path as symlink to victim file
  3. Exploit
    Victim invokes zsh fzf trigger completion
  4. Execution
    Completion stream overwrites startup file with attacker-influenced content
  5. Impact
    Code execution at victim's next login

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Symlink resolution safety
Exploitation Conditions

Exploitation requires ALL of: (1) a multi-user/shared host on which the attacker already holds a local account; (2) the victim using zsh with fzf trigger-driven completion (e.g. kill/ssh/telnet/export/unset/unalias **<TAB>) from a version prior to 0.74.5; (3) the attacker pre-creating the predictable path ${TMPDIR:-/tmp}/fzf-complete-fifo-$$ in shared /tmp as a symlink (for overwrite) or plain FIFO (for disclosure/hang); and (4) the kernel protections fs.protected_symlinks (for the overwrite/code-execution variant) and protected_fifos/protected_regular (for the FIFO disclosure/blocking variants) being DISABLED - on default modern hosts these are enabled and block the primary variant. LIMITING FACTORS: victim must invoke the affected completion (UI:R), attacker needs an existing local account (PR:L), the code-execution outcome is a downstream chain that additionally requires the clobbered file to be sourced and the victim to log in again, and disclosed data is limited to a bounded completion-candidate list (process names, hostnames, variable names).

Impact

This is a genuine but low-urgency, conditionally-exploitable local flaw rather than a widespread emergency. The CVSS:3.1 vector (AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:H/A:N, base 5.0) is internally consistent with the mechanism: local-only, requires an existing low-privilege account on a shared host (PR:L), requires the victim to invoke completion (UI:R), and carries high integrity impact (I:H, arbitrary victim-file overwrite) but only limited confidentiality (C:L, bounded candidate-list disclosure) and no availability impact scored. AC:H is justified by the advisory's own stated preconditions, not by any described race - in fact the advisory stresses 'no race required' and attributes the complexity to deployment prerequisites. No EPSS score and no KEV status are provided in the input; it is NOT on CISA KEV, so there is no evidence of active exploitation. The vuln.today decision label is 'this_month' (not act_now/emergency), aligning with a patch-this-cycle rather than drop-everything priority. The advisory documents a verified exploitation mechanism and a reproducer, but that reproducer was provided privately by email, so this is not confirmed publicly weaponized exploit code. Crucially, the vendor states that on default modern hosts fs.protected_symlinks blocks the file-overwrite (code-execution) variant and protected_fifos/protected_regular limit the disclosure/blocking variants - so real-world exploitation depends on those kernel protections being disabled AND on a multi-user host AND on the victim using zsh fzf trigger completion. Net: a legitimate multi-user-host hardening issue worth patching, but not a high-real-risk internet-facing threat.

Exploit ScenarioDerived

On a shared multi-user Linux host with kernel symlink protection disabled, a local attacker pre-creates the predictable FIFO path (${TMPDIR:-/tmp}/fzf-complete-fifo-$$) as a symlink pointing at a victim-writable startup file such as ~/.bashrc. When the victim runs zsh fzf trigger completion (e.g. kill **<TAB>), their own completion stream - which can include attacker-influenced process names - overwrites that file, enabling code execution the next time the victim logs in. A verified reproducer exists but was shared privately with the maintainer by email; it is not verified as public working exploit code.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 18, 2026

fzf versions prior to 0.74.5 ship a zsh completion helper that writes completion data through a FIFO at the predictable path ${TMPDIR:-/tmp}/fzf-complete-fifo-$$, so another local user on a shared host can pre-create that path as a symlink and have the victim's own completion stream overwrite a victim-writable file, or as a plain FIFO to leak or block the completion stream. The overwrite variant can land attacker-influenced content (e.g. process names from kill-completion) in a file the victim later sources, giving code execution at next login, but the advisory notes this chain is blocked on default modern hosts by fs.protected_symlinks while protected_fifos and protected_regular limit the FIFO variants, so exploitation depends on those kernel protections being disabled plus the victim invoking the affected completion. Severity is assessed as CVSS 3.1 5.0 (AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:H/A:N); there is no CISA KEV entry and no confirmed working exploit, though the advisory documents a mechanism-level proof of concept; the vendor has released fzf 0.74.5.

RemediationAI

Upgrade fzf to 0.74.5, the vendor-released fix, which creates the completion FIFO inside a private mktemp -d directory (mode 700), checks mkfifo's exit status and removes the private directory on cleanup, eliminating the predictable shared path entirely; the exact fix is commit cbc11e4d9591e1fa47fb9d8711b18b74d625746e and the release notes are at https://github.com/junegunn/fzf/releases/tag/v0.74.5, per advisory GHSA-7rj6-7pqx-v7rm. Where the upgrade cannot be applied immediately, the concrete compensating control is to confirm that the kernel hardening that the advisory relies on is actually active; verify fs.protected_symlinks=1, which blocks the symlink-following overwrite (code-execution) variant, and fs.protected_fifos=1 plus fs.protected_regular=1, which limit the FIFO disclosure and blocking variants - the trade-off is that these sysctls are host-wide, so enabling them affects every service on the machine, and turning them off to avoid application breakage re-exposes this issue. A narrower per-user workaround is to point TMPDIR for interactive zsh sessions at a private directory (mode 700) owned by the user, since the vulnerable path is built from ${TMPDIR:-/tmp}; the trade-off is that the path remains predictable within that directory, and any environment where TMPDIR is not reliably set for the completion shell falls back to shared /tmp. Until a fix or one of these controls is in place, users sharing a host with untrusted accounts should avoid the trigger-driven completions (kill, ssh, telnet, export, unset, unalias followed by the completion trigger), noting that this removes a convenience feature rather than invalidating the exposure.

Affected VersionsENISA

fzf < 0.74.5

Affected Packages

go github.com/junegunn/fzf fix: 0.74.5
euvd fzf fix: 0.74.5

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in go, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The issue lives in shell/completion.zsh, the zsh integration that drives fzf-backed tab completion for commands such as kill, ssh, telnet, export, unset and unalias. In affected tags the function _fzf_feed_fifo runs command rm -f "$1" followed by mkfifo "$1" and then cat <&0 > "$1" &|, all against a path built as ${TMPDIR:-/tmp}/fzf-complete-fifo-$$ - a name derived only from the shell PID, so it is predictable and a wide PID range can be pre-seeded in a world-writable /tmp. Neither the rm nor the mkfifo exit status is checked, and because /tmp is sticky, a victim cannot remove an entry owned by the attacker, so the subsequent redirect follows or blocks on whatever object the attacker placed there. That error-ignoring open-then-write on a predictable shared path is the classic CWE-59 link-following / CWE-377 insecure temporary file pattern the advisory assigns; it is a pre-placement issue rather than a race, since the attacker wins simply by owning the path name first. The upstream fix removes both root causes: the FIFO is created inside a private directory from command mktemp -d "${TMPDIR:-/tmp}/fzf-completion-XXXXXX", mkfifo's failure now aborts with || return, and cleanup uses rm -rf on the private directory. Operating-system hardening is the reason the primary variant is often unreachable: fs.protected_symlinks prevents a process from following a symlink in a sticky, world-writable directory that is owned by another user, and protected_fifos / protected_regular restrict the FIFO and regular-file placement variants, so the assessment assumes all of these must be disabled for practical exploitation. Authentication requirements are not confirmed beyond the CVSS vector, which specifies PR:L - an attacker already holding a local account - together with UI:R for the victim invoking the completion.

Know when Fzf gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 5.0 MEDIUM
AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:H/A:N
vuln.today AI 5.0 MEDIUM

Local shared-host attack needing a local account (PR:L) and victim-invoked completion (UI:R); AC:H reflects required disabled kernel protections and preconditions; I:H for arbitrary file overwrite, C:L for bounded leak, A:N.

3.1 AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:H/A:N
4.0 AV:L/AC:H/AT:P/PR:L/UI:A/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N
Red Hat 5.0 MEDIUM

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
High
Availability
None

Lifecycle Timeline

1
Patch available
Nov 17, 2026 - 21:02 EUVD

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.2%
Top 91% exploitable
Prevalence
Medium
fzf is a popular developer CLI tool but not on most production servers
Threat Intel
1
1 source
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

25
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +25
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy