# 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:** 7.0 (v3.1, CNA) `CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; Privileges required: None; User interaction: Required; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.19% (percentile 5, 2026-11-29)
- **CWE:** CWE-78
- **Aliases:** GHSA-w6x2-f5m4-xw82, GO-2026-7008
- **Published:** 2026-11-17T19:47:36.414Z
- **Modified:** 2026-11-23T20:30:15.813Z

## Who should check

- Projects that depend on Go package github.com/junegunn/fzf (\<= 0.74.4)
- Anyone running junegunn fzf \< 0.74.5

## 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.

## Affected and fixed versions

- Go `github.com/junegunn/fzf`: affected \<= 0.74.4; fixed 0.74.5 (ghsa)
- junegunn fzf: \< 0.74.5 (cvelist)

## Technologies

Go modules

## Mitigation

- Upgrade github.com/junegunn/fzf to 0.74.5 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-121716. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-121716.md
Affected: github.com/junegunn/fzf <= 0.74.4
Fixed in: 0.74.5

Steps:
1. Search this machine and project for github.com/junegunn/fzf (Go), junegunn fzf: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-121716 being exploited?

There is no confirmed exploitation: CVE-2026-121716 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.19% chance of exploitation in the next 30 days (as of 2026-11-29).

### How serious is CVE-2026-121716?

High: CVSS 7.0 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-121716?

github.com/junegunn/fzf \<= 0.74.4.

### Is there a fix for CVE-2026-121716?

Yes. Fixed in 0.74.5. Upgrade github.com/junegunn/fzf to 0.74.5 or later.

### How do I check if I'm affected by CVE-2026-121716?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/junegunn/fzf/security/advisories/GHSA-w6x2-f5m4-xw82>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-121716>
- patch: <https://github.com/junegunn/fzf/commit/f126ff29549e0983f571fbc32dddcfbede251aa7>
- other: <https://github.com/junegunn/fzf/releases/tag/v0.74.5>
- other: <https://github.com/advisories/GHSA-w6x2-f5m4-xw82>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-121716>
- GitHub Advisory Database: CC-BY 4.0 <https://github.com/advisories/GHSA-w6x2-f5m4-xw82> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2026-7008> (license: <https://creativecommons.org/licenses/by/4.0/>)
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-121716> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-121716>
