fzf: Arbitrary command execution via bash arithmetic expansion on unvalidated layout size in fzf-tmux (-l/-u attached value)
- CVE-2026-121716
- GHSA-w6x2-f5m4-xw82
- GO-2026-7008
- EUVD-2026-127245
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.
Text from the CVE.org record.
Recommendation
No source states a fixed version. Check the vendor advisory.
Affected
junegunn fzf
Affected versions Fixed in < 0.74.5 none stated github.com/junegunn/fzfGo
Affected versions Fixed in up to 0.74.4 none stated
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.