nnn through 5.3 contains an insecure file handling vulnerability that allows local attackers to redirect writes because main() accepts an existing NNN_FIFO path without verifying it is a FIFO. Attackers can pre-create the documented predictable /tmp/nnn.fifo path as a symlink or readable regular file, causing victim-writable files to be overwritten or leaking the victim's browsed paths.
https://www.vulncheck.com/advisories/nnn-through-5.3-symlink-following-write-via-nnn-fifo-handling
https://github.com/jarun/nnn/issues/2188
https://github.com/jarun/nnn/commit/04715921aece0257fef7a8558c0783493d98efff
https://github.com/jarun/nnn/blob/v5.3/src/nnn.c#L7433
Published: 2026-11-03
Updated: 2026-11-03
Base Score: 2.4
Vector: CVSS2#AV:L/AC:H/Au:S/C:P/I:P/A:N
Severity: Low
Base Score: 3.3
Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N
Severity: Low
Base Score: 1
Vector: CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
Severity: Low
EPSS: 0.00116