CVE-2026-121716
fzf: Arbitrary command execution via bash arithmetic expansion on unvalidated layout size in fzf-tmux (-l/-u attached value)
- 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
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| Go | github.com/junegunn/fzf | <= 0.74.4 | 0.74.5 |
| Go | github.com/junegunn/fzf | >=0, <0.74.5 | 0.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
- https://github.com/junegunn/fzf/security/advisories/GHSA-w6x2-f5m4-xw82 x_refsource_CONFIRM
- https://github.com/junegunn/fzf/commit/f126ff29549e0983f571fbc32dddcfbede251aa7 x_refsource_MISC
- https://github.com/junegunn/fzf/releases/tag/v0.74.5 x_refsource_MISC
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/121xxx/CVE-2026-121716.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-121716 advisory
- https://github.com/advisories/GHSA-w6x2-f5m4-xw82 other
- https://github.com/junegunn/fzf package