fzf command execution in fzf-tmux layout option parsing
junegunn fzf
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| github.com/junegunn/fzf Go |
|
|
Original 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.
From the CVE record · GitHub_M
References
- github.com/junegunn/fzf/security/advisories/GHSA-w6x2-f5m4-xw82
- github.com/junegunn/fzf/commit/f126ff29549e0983f571fbc32dddcfbede251aa7
- github.com/junegunn/fzf/releases/tag/v0.74.5
- github.com/CVEProject/cvelistV5/tree/main/cves/2026/121xxx/CVE-2026-121716.json
- nvd.nist.gov/vuln/detail/CVE-2026-121716
- github.com/junegunn/fzf