Skip to main content

fzf EUVDEUVD-2026-127245

| CVE-2026-121716 HIGH
OS Command Injection (CWE-78)
2026-11-17 GitHub_M GHSA-w6x2-f5m4-xw82
7.0
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Poison project-local config or wrapper
  2. Exploit
    Victim invokes fzf-tmux with tainted layout value
  3. Execution
    Bash arithmetic expands a[$(cmd)] subscript
  4. Impact
    Command 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

fzf < 0.74.5

Affected Packages

go github.com/junegunn/fzf fix: 0.74.5
euvd fzf fix: 0.74.5

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

Vendor (GitHub_M) PRIMARY 7.0 HIGH
AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
vuln.today AI 7.0 HIGH

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.

3.1 AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:L/AC:H/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Local
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Nov 17, 2026 - 21:02 EUVD
CVE Published
Nov 17, 2026 - 19:47 cve.org
HIGH 7.0

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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 92% exploitable
Prevalence
Medium
popular developer CLI tool; vulnerable fzf-tmux wrapper deprecated since 0.53.0
Threat Intel
1
1 source
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

35
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +35
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy