CVE-2026-121716

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

Published Nov 17, 2026 CVSS 3.1 · 7 High EPSS n/a KEV · Not listed
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.

Analysis

AI-generated

Technical impact

fzf-tmux does not validate separate layout sizes supplied with the -l and -u options before performing Bash arithmetic expansion, allowing an attacker to embed command substitution in a crafted operand that executes as the invoking user during option parsing. Additionally, unquoted geometry options such as -x, -y, -w, -h, and -p can inject additional tmux flags, enabling arbitrary command execution whenever fzf-tmux is called.

Affected Systems

All versions of Junegunn fzf prior to 0.74.5 are affected. Any deployment that uses the fzf-tmux helper script and supplies untrusted values for layout sizing or geometry options is vulnerable.

Risk and Exploitability

The CVSS score of 7 indicates moderate‑to‑high severity. EPSS is not available, and the vulnerability is not listed in CISA KEV. Exploitation requires an attacker to control a less‑trusted configuration file, wrapper, or plugin that supplies the poisoned values, and the victim must invoke fzf-tmux. The attack vector is thus local or potentially remote if an attacker can influence configuration or environment settings.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply v0.74.5 or later of fzf, which includes the validation fix.
  • Disable or remove the fzf-tmux helper if it is not needed; use built‑in tmux popup options instead.
  • If the update cannot be performed, strictly validate all -l and -u values in any configuration or wrapper scripts and eliminate untrusted plugins that set these options.
  • Ensure that all configuration files and environment variables providing fzf-tmux arguments originate from trusted sources only.

Generated by OpenCVE AI on November 17, 2026 at 21:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Junegunn
Junegunn fzf
Vendors & Products Junegunn
Junegunn fzf
Type Values Removed Values Added
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.
Title fzf: Arbitrary command execution via bash arithmetic expansion on unvalidated layout size in fzf-tmux (-l/-u attached value)
Weaknesses CWE-78
References
Metrics cvssV3_1

{'score': 7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H'}

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 17, 2026, 10:24 PM
Reserved
Nov 3, 2026, 8:41 PM
Status
Received
Published
Nov 17, 2026, 8:17 PM
Modified
Nov 17, 2026, 11:17 PM