Description
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.
Metrics
CVSS 3.1 3.3/10
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:NWeakness enumeration
Affected software
Source: the vendor's advisory (CNA). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| jarun | nnn | <= 5.3 |
References
- https://github.com/jarun/nnn
- https://github.com/jarun/nnn/blob/v5.3/src/nnn.c#L10635
- https://github.com/jarun/nnn/blob/v5.3/src/nnn.c#L7433
- https://github.com/jarun/nnn/commit/04715921aece0257fef7a8558c0783493d98efff
- https://github.com/jarun/nnn/issues/2188
- https://www.vulncheck.com/advisories/nnn-through-5.3-symlink-following-write-via-nnn-fifo-handling
Timeline
- Published
- Nov 3, 2026
- Last modified
- Nov 9, 2026
- NVD status
- Awaiting Analysis