fzfの脆弱性、fzf-tmuxで細工された値からコマンドを実行されるおそれ
Summary
fzf-tmuxのレイアウト指定(-l/-u)の検証が不十分なため、細工された値によってコマンドが実行されるおそれがあります。影響するのは0.74.5より前のfzfで、0.74.5で修正されています。細工された値は、信頼されていないプロジェクト設定やラッパー、プラグインを経由して入る可能性があるため、0.74.5以降へ更新してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
fzf-tmuxのレイアウト指定(-l/-u)の検証が不十分なため、細工された値によってコマンドが実行されるおそれがあります。影響するのは0.74.5より前のfzfで、0.74.5で修正されています。細工された値は、信頼されていないプロジェクト設定やラッパー、プラグインを経由して入る可能性があるため、0.74.5以降へ更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| junegunnfzf | — | Not listed |
| Gogithub.com/junegunn/fzf |
< 0.74.5→ 0.74.5 |
0.74.5 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-121716 fzf Fix available
- Ubuntu UBUNTU-CVE-2026-121716 fzf No fixed version in this record
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- web github.com
- web github.com