nnn through 5.3 Symlink-Following Write via NNN_FIFO Handling
- State
- Published
- Severity
- 1.0 Low
- Published
- Nov 3, 2026
- Updated
- Nov 9, 2026
- Reserved
- Nov 3, 2026
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.
| Product | Versions |
|---|---|
| nnn jarun | 5.3 and earlier Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 1.0 Low | VulnCheck | |
| 3.1 | 3.3 Low | VulnCheck |
Weaknesses
- CWE-59 Improper Link Resolution Before File Access ('Link Following')
References
- GitHub Issue #2188Issue Tracker
- https://github.com/jarun/nnnProduct Page
- Fix commitPatch
- https://github.com/jarun/nnn/blob/v5.3/src/nnn.c#L10635Technical Details
- https://github.com/jarun/nnn/blob/v5.3/src/nnn.c#L7433Technical Details
- VulnCheck Advisory: nnn through 5.3 Symlink-Following Write via NNN_FIFO HandlingThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.