← VULNERABILITIES

CVE-2026-121716

fzf: Arbitrary command execution via bash arithmetic expansion on unvalidated layout size in fzf-tmux (-l/-u attached value)

High · 7.0Fix available
CVSS
7
EPSS
0.26% (p19)
Published
2026-11-17
Age
19d old
Modified
2026-11-19
Product
junegunn fzf
Aliases
GHSA-w6x2-f5m4-xw82

CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

Description

fzf is a command-line fuzzy finder. Prior to 0.74.5, bin/fzf-tmux validates separately supplied layout sizes but does not validate attached -l and -u layout values before Bash arithmetic expansion, allowing command substitution in a crafted operand to execute as the invoking user during option parsing. The same validation failure lets space-bearing popup geometry options -x, -y, -w, -h, and -p reach an unquoted tmux popup option string and inject additional tmux flags. Exploitation requires less-trusted project configuration, a wrapper, or a plugin to supply the poisoned value and requires the victim to invoke fzf-tmux; normal values are usually trusted, and the script has been superseded by built-in tmux options. 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 19d 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