## fzf: Arbitrary command execution via bash arithmetic expansion on unvalidated layout size in fzf-tmux (-l/-u attached value)

- 種別: advisory
- 重大度: high
- 関連技術: go, github
- CVE: CVE-2026-121716
- 公開日時: 2026-11-19T22:41:46.000Z
- 情報源: GitHub Advisory Database (https://github.com/advisories/GHSA-w6x2-f5m4-xw82)
- パーマリンク: https://vulnpulse.app/items/ghsa-ghsa-w6x2-f5m4-xw82

影響: go:github.com/junegunn/fzf <= 0.74.4 → 0.74.5
bin/fzf-tmux fails to validate layout size values given in the attached form (e.g. -l50). For -l/-u these values reach bash arithmetic expansion ($(( max - size ))), where an operand like a[$(cmd)] executes cmd as the invoking user during option parsing — before any tmux interaction and even outside tmux. A second sink embeds unvalidated popup geometry (-x/-y/-w/-h/-p) into an unquoted tmux popup ... $opt ... invocation, allowing injection of tmux flags such as -e BASH_ENV= (command execution v…