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

- Severity: High 7.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 19% of CVEs (2026-12-01)
- Published: 2026-11-17T19:47:36.414Z
- Modified: 2026-11-23T20:40:44.751Z
- Also known as: GHSA-w6x2-f5m4-xw82, GO-2026-7008
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- junegunn fzf: < 0.74.5
- github.com/junegunn/fzf (Go): before 0.74.5

## Every score

- GitHub_M: CVSS:3.1 7.0 High `CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 7.0 High `CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/junegunn/fzf/security/advisories/GHSA-w6x2-f5m4-xw82> (advisory, web)
- <https://github.com/junegunn/fzf/commit/f126ff29549e0983f571fbc32dddcfbede251aa7> (fix, web)
- <https://github.com/junegunn/fzf/releases/tag/v0.74.5> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-121716> (advisory)
- <https://github.com/junegunn/fzf> (package)

## Sources

- CVE List: [CVE-2026-121716](https://www.cve.org/CVERecord?id=CVE-2026-121716), CVE Terms of Use, modified 2026-11-17
- GitHub Advisory Database: [GHSA-w6x2-f5m4-xw82](https://github.com/advisories/GHSA-w6x2-f5m4-xw82), CC-BY-4.0, modified 2026-11-23
- Go Vulnerability Database: [GO-2026-7008](https://pkg.go.dev/vuln/GO-2026-7008), CC-BY-4.0, modified 2026-11-23
- NVD: [CVE-2026-121716](https://nvd.nist.gov/vuln/detail/CVE-2026-121716), Public domain, modified 2026-11-17

---

Page: https://cve.day/CVE-2026-121716 · Whole record: https://cve.day/CVE-2026-121716.json · Rebuilt by cve.day 2026-11-25T22:59:51.028Z
