← Vulnerabilities

HighAdvisoryGoGitHub

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

Affected

PackageAffected versionsFixed in
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…

Read on GitHub Advisory Database

On 11/20/2026, 07:41 AM, GitHub Advisory Database published "fzf: Arbitrary command execution via bash arithmetic expansion on unvalidated layout size in fzf-tmux (-l/-u attached value)" (type: Advisory). Severity is "High" (high). Related technologies: Go, GitHub. CVE: CVE-2026-121716.