Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessPoison project-local config or wrapper
-
ExploitVictim invokes fzf-tmux with tainted layout value
-
ExecutionBash arithmetic expands a[$(cmd)] subscript
-
ImpactCommand executes as invoking user
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires all of the following, per the GHSA advisory: (1) a less-trusted source - project-local configuration, a wrapper script, or an editor plugin - must supply a poisoned value into fzf-tmux's layout size arguments (-l or -u) or its popup geometry arguments (-x/-y/-w/-h/-p), using the ATTACHED form (e.g. -l50) which bypasses the regex validation applied only to the separate-argument form; (2) the victim must actually invoke bin/fzf-tmux with that value. The -l/-u sink fires during Bash argument parsing via arithmetic expansion ($((max - size)) / $((100 - size))%), so it executes even with no tmux and no fzf binary present; the geometry sink injects tmux flags (e.g. -e BASH_ENV=<path>) through an unquoted $opt in the tmux popup invocation. LIMITING FACTORS: the flaw is local-only (AV:L), requires victim interaction (UI:R), and in normal use layout values are user-set or hardcoded in trusted config so the poisoned data flow is uncommon (AC:H); additionally bin/fzf-tmux is deprecated in favor of the built-in --tmux/--popup options, reducing the number of environments that still call it. |
| Impact | This is a high-severity (CVSS 7.0) but conditionally-exploitable local command-injection flaw whose real-world priority is moderate, consistent with the vuln.today 'this_week' decision label rather than an emergency. The CVSS vector (AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H) tells a coherent story: the attacker needs no privileges on the box but exploitation is local-only, high-complexity, and requires the victim to invoke fzf-tmux. The complexity is high precisely because - per the GHSA advisory - a real attack requires attacker-controlled data to reach the -l/-u layout arguments (or -x/-y/-w/-h/-p geometry), and in normal use those values are user-set or hardcoded in trusted config, so a vulnerable data flow is uncommon. Signals are not in tension but they are incomplete: there is no CISA KEV listing and no EPSS score in the provided data, so there is no indication of active exploitation or mass-scanning likelihood - unsurprising for a local, developer-tooling bug. Offsetting the low likelihood, a working PoC is published in the GHSA advisory and the technical impact is full command execution as the invoking user. Net: treat as a prompt-but-not-crisis patch item, weighted up for teams that run fzf-tmux inside editor plugins or wrappers that ingest project-local (less-trusted) configuration, and weighted down because bin/fzf-tmux is a deprecated wrapper superseded by the built-in --tmux option since 0.53.0. |
| Exploit ScenarioDerived | A developer uses an editor plugin or shell wrapper that assembles fzf-tmux arguments (e.g. fzf-tmux -l "${height}%") from project-local configuration. An attacker commits a poisoned repository or config supplying a crafted layout value such as '-l a[$(id > /tmp/pwn)]'; when the victim opens the project and the plugin invokes fzf-tmux, Bash arithmetic expansion executes the embedded command as the victim during option parsing - before any tmux interaction. A verified public PoC exists in the GHSA advisory demonstrating this end-to-end against the unmodified 0.74.4 script. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 18, 2026
Command injection in fzf's bin/fzf-tmux wrapper (fzf through 0.74.4) lets an attached-form layout size such as -l a[$(cmd)] reach Bash arithmetic expansion and execute arbitrary commands as the invoking user during option parsing, before any tmux interaction occurs. The same missing validation lets space-bearing popup geometry values (-x/-y/-w/-h/-p) inject extra tmux flags, such as -e BASH_ENV=<path>, through an unquoted popup option string. Exploitation requires a less-trusted project config, wrapper or plugin to supply the poisoned value and the victim to actually invoke fzf-tmux; the vendor advisory ships a verified proof-of-concept reproducer, and the issue is fixed in 0.74.5 with no confirmed active exploitation (no CISA KEV listing).
RemediationAI
Upgrade fzf to version 0.74.5, the vendor-released fix (release notes at https://github.com/junegunn/fzf/releases/tag/v0.74.5), which adds an attached-form validation guard - [[ $size =~ ^[0-9%,]+$ || $size =~ ^[A-Z]$ ]] || continue - to the option parser and closes both the arithmetic-expansion and popup flag-injection sinks (commit https://github.com/junegunn/fzf/commit/f126ff29549e0983f571fbc32dddcfbede251aa7). Where upgrading is delayed, the durable mitigating step is to eliminate the data flow: stop passing any layout size (-l/-u) or popup geometry (-x/-y/-w/-h/-p) value that originates from project-local config, wrapper scripts, plugins or other less-trusted input into bin/fzf-tmux, and hardcode or strictly constrain those arguments at the call site; the trade-off is that any wrapper relying on dynamic layout values must be rewritten. Migrating callers to fzf's built-in --tmux/--popup options (available since 0.53.0) removes the vulnerable script from the attack path entirely, at the cost of reworking wrapper and plugin integrations that still shell out to fzf-tmux. The advisory's suggested hardening - applying the regex to the attached form, constraining size to [0-9]+ before any $((...)), and building the tmux command as an array instead of unquoted $opt - is what the 0.74.5 fix implements, so backporting that single guard is the minimum acceptable patch.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in go, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is a CWE-78 command injection rooted in asymmetric input validation inside the Bash script bin/fzf-tmux. The option parser applies a ^[0-9%,]+$ / ^[A-Z]$ regex only to the separate-argument form of -l/-u (line 82 at tag 0.74.4, commit a140afeb), while the attached form (e.g. -l50) is captured unvalidated at line 80 via size="${arg:2}". For -l/-u the captured size subsequently flows into arithmetic evaluation - size=$((max - size)) (line 120) for non-percent values and $((100 - size))% / $((100 - size)) (lines 102 and 108) for percent values. Because Bash expands array subscripts inside arithmetic context, an operand like a[$(id)] runs the embedded command during argument parsing, with no tmux or fzf binary required (a stub fzf on PATH is sufficient). A second sink shares the same root cause: the popup geometry options -x/-y/-w/-h/-p are interpolated into an unquoted $opt used in tmux popup -d "$PWD" $opt "bash $argsf" (lines 236 and 249), so a geometry value containing spaces injects additional tmux flags, e.g. -e BASH_ENV=/path/to/evil.sh to execute code via non-interactive bash sourcing. Note that the CVSS vector (AV:L/AC:H/PR:N/UI:R) frames this as a local, interaction-dependent issue whose high attack complexity reflects the uncommon poisoned-data-flow precondition rather than any race or timing condition; the trigger mechanism is as described in the advisory, not inferred. bin/fzf-tmux has been superseded by the built-in --tmux/--popup options since 0.53.0, so exposure is limited to environments still invoking the legacy script.
Know when Fzf gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Local-only trigger (AV:L); attacker needs no privileges but must get tainted data into layout args and the victim must run fzf-tmux, an uncommon flow (AC:H, UI:R); command execution as the user yields full C:H/I:H/A:H.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
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.
Technical POC Analysis
CWE-78 (OS command injection) in bin/fzf-tmux, the Bash wrapper script shipped in the fzf repository.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
CVE-2026-121716 is a high-severity command injection vulnerability in the fzf-tmux wrapper (fzf up to 0.74.4) that allows arbitrary command execution when a user invokes fzf-tmux with a maliciously crafted layout size or popup geometry. This affects developers and engineers using fzf-tmux in their workflows; if a less-trusted project config, wrapper, or plugin supplies the poisoned value, the attacker could execute commands with the victim's privileges, potentially compromising source code, credentials, and internal systems. Leadership should prioritize remediation because the vulnerability is easily triggered through common developer tooling and could serve as a foothold for supply chain or lateral movement attacks.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
Denial of service in fzf's --listen mode HTTP server arises from quadratic-time (O(n²)) body processing caused by repeat
Integer overflow in fzf's FuzzyMatchV2 function causes a non-recoverable process crash (denial of service) when input li
fzf versions prior to 0.74.5 ship a zsh completion helper that writes completion data through a FIFO at the predictable
The fzf fuzzy finder (0.36.0 through 0.74.5) builds its masked action string with repeated string concatenation in maskA
EUVD-2026-127245
GHSA-w6x2-f5m4-xw82
NVD
CVE.org
EPSS
Exploit-DB