← VULNERABILITIES

CVE-2026-121717

fzf: Predictable FIFO path in zsh completion allows local symlink attack / arbitrary file overwrite as the victim user (_fzf_feed_fifo)

Medium · 5.0Fix available
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

EcosystemPackageRangeFixed
Gogithub.com/junegunn/fzf<= 0.74.40.74.5
Gogithub.com/junegunn/fzf>=0, <0.74.50.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

JSON