{"id":"CVE-2026-121716","summary":"fzf: Arbitrary command execution via bash arithmetic expansion on unvalidated layout size in fzf-tmux (-l/-u attached value)","details":"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.","aliases":["GHSA-w6x2-f5m4-xw82"],"modified":"2026-11-17T23:45:51.960914012Z","published":"2026-11-17T19:47:36.414Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-78"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/121xxx/CVE-2026-121716.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/121xxx/CVE-2026-121716.json"},{"type":"FIX","url":"https://github.com/junegunn/fzf/commit/f126ff29549e0983f571fbc32dddcfbede251aa7"},{"type":"WEB","url":"https://github.com/junegunn/fzf/releases/tag/v0.74.5"},{"type":"ADVISORY","url":"https://github.com/junegunn/fzf/security/advisories/GHSA-w6x2-f5m4-xw82"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-121716"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/junegunn/fzf","events":[{"introduced":"0"},{"fixed":"c0a193e031f01fb50bf6f7be4381990a3753f7cf"},{"fixed":"f126ff29549e0983f571fbc32dddcfbede251aa7"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StringRangeExpression","range":[{"introduced":"0"},{"fixed":"0.74.5"}]},{"range":[{"fixed":"f126ff29549e0983f571fbc32dddcfbede251aa7"}],"source":"REFERENCES_COMMIT"},{"original_tag":"v0.74.5","range":[{"fixed":"c0a193e031f01fb50bf6f7be4381990a3753f7cf"}],"source":"REFERENCES_TAG"}]}}],"versions":["v0.74.4","v0.74.3","v0.74.2","v0.74.1","v0.74.0","v0.73.1","v0.73.0","v0.72.0","v0.71.0","v0.70.0","v0.68.0","v0.67.0","v0.66.1","v0.66.0","v0.65.2","v0.65.1","v0.65.0","v0.64.0","v0.63.0","v0.62.0","v0.61.3","v0.61.2","v0.61.1","v0.61.0","v0.60.3","v0.60.2","v0.60.1","v0.60.0","v0.59.0","v0.58.0","v0.57.0","v0.56.3","v0.56.2","v0.56.1","v0.56.0","v0.55.0","v0.54.3","v0.54.2","v0.54.1","v0.54.0","0.53.0","0.52.1","0.52.0","0.51.0","0.50.0","0.49.0","0.48.1","0.48.0","0.47.0","0.46.1","0.46.0","0.45.0","0.44.1","0.44.0","0.43.0","0.42.0","0.41.1","0.41.0","0.40.0","0.39.0","0.38.0","0.37.0","0.36.0","0.35.1","0.35.0","0.34.0","0.33.0","0.32.1","0.32.0","0.30.0","0.29.0","0.28.0","0.27.3","0.27.2","0.27.1","0.27.0","0.26.0","0.25.1","0.25.0","0.24.4","0.24.3","0.24.2","0.24.1","0.24.0-1","0.24.0","0.23.1","0.23.0","0.22.0","0.21.1","0.21.0-1","0.21.0","0.20.0","0.19.0","0.18.0","0.17.5","0.17.4","0.17.3","0.17.1","0.17.0-2","0.17.0","0.16.11","0.16.10","0.16.9","0.16.8","0.16.7","0.16.6","0.16.5","0.16.4","0.16.3","0.16.2","0.16.1","0.16.0","0.15.9","0.15.8","0.15.7","0.15.6","0.15.5","0.15.4","0.15.3","0.15.2","0.15.1","0.15.0","0.13.5","0.13.4","0.13.3","0.13.2","0.13.1","0.13.0","0.12.2","0.12.1","0.12.0","0.11.4","0.11.3","0.11.2","0.11.1","0.11.0","0.10.9","0.10.8","0.10.7","0.10.6","0.10.5","0.10.4","0.10.3","0.10.2","0.10.1","0.10.0","0.9.13","0.9.12","0.9.11","0.9.10","0.9.7-1","0.9.7","0.9.4-1","0.9.4","0.9.3","0.9.2","0.9.1","0.9.0","0.8.9","0.8.8","0.8.7","0.8.6","0.8.5","0.8.4","0.8.3","0.8.2","0.8.1","0.8.0","0.7.1","0.7.0","0.6.0","0.5.1","0.5.0","0.4.2","0.4.0","0.3.1","0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-121716.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}