Technical impact
The vulnerability in fzf's zsh completion creates a predictable FIFO at ${TMPDIR:-/tmp}/fzf-complete-fifo-$$ that an attacker on a multi‑user host can pre‑create as a symlink to a writable file. When the victim triggers the completion, the FIFO writes data that overwrites the symlink target, potentially replacing user‑writable files. If the overwritten file is later sourced, the attacker could run arbitrary code with the victim’s privileges. The flaw arises from insecure temporary file handling without proper permission checks.
Affected Systems
This weakness affects the fzf command‑line fuzzy finder distributed by junegunn, impacting any installation older than version 0.74.5. Systems running shared fzf environments without kernel protection settings are the primary risk area.
Risk and Exploitability
The CVSS score of 5 indicates a medium severity. EPSS data is not available and the vulnerability is not listed in the CISA KEV catalog. Exploitability requires a local user on a host where kernel hardening options such as fs.protected_symlinks, protected_fifos, and protected_regular are disabled, and where the victim has enabled the affected zsh completion. The attack surface is therefore limited, but the potential for code execution remains significant if the conditions are met.