← 漏洞与更新

高危漏洞公告GoGitHub

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

受影响

软件包受影响版本修复版本
go:github.com/junegunn/fzf<= 0.74.40.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…

在 GitHub Advisory Database 阅读

2026/11/20 07:41,GitHub Advisory Database 发布了“fzf: Arbitrary command execution via bash arithmetic expansion on unvalidated layout size in fzf-tmux (-l/-u attached value)”(类型:漏洞公告)。严重程度为“高危”(high)。相关技术:Go、GitHub。CVE:CVE-2026-121716。