CVE-2026-121716
High 7.0No known exploitationFix availablefzf: Arbitrary command execution via bash arithmetic expansion on unvalidated layout size in fzf-tmux (-l/-u attached value)
Vendor advisory: GHSA-w6x2-f5m4-xw82
Record last updated
CVSS score
High on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 10% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
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.
Weakness: CWE-78
Patching and mitigation
- Patch status
- Fix available (source: GitHub Advisory Database)
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- github.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| go | github.com/junegunn/fzf | all versions up to and including 0.74.4 | 0.74.5 | GitHub Advisory Database |
| junegunn | fzf | < 0.74.5 | Not documented | CVE Program |
Timeline
Disclosure
CVE record published by GitHub_M
Source: CVE Program (opens in a new tab)
Patch
Fix documented by GitHub Advisory Database
Vendor guidance and references
- GitHub Advisory GHSA-w6x2-f5m4-xw82 (opens in a new tab)github-advisory
- https://github.com/junegunn/fzf/commit/f126ff29549e0983f571fbc32dddcfbede251aa7 (opens in a new tab)x_refsource_misc
- https://github.com/junegunn/fzf/releases/tag/v0.74.5 (opens in a new tab)x_refsource_misc
- https://github.com/junegunn/fzf/security/advisories/GHSA-w6x2-f5m4-xw82 (opens in a new tab)x_refsource_confirm