nnn through 5.3 Insecure Temporary File Symlink Overwrite via pdfread and nuke Plugins
- State
- Published
- Severity
- 4.1 Medium
- Published
- Nov 3, 2026
- Updated
- Nov 7, 2026
- Reserved
- Nov 3, 2026
Description
nnn through 5.3 contains an insecure temporary file vulnerability in the pdfread and nuke plugins that allows local attackers to overwrite files by exploiting predictable paths in /tmp. Attackers can pre-create a symlink at the name-derived or PID-derived path so the victim's plugin truncates and overwrites any file the victim can write.
| Product | Versions |
|---|---|
| nnn jarun | 5.3 and earlier Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 4.1 Medium | VulnCheck | |
| 3.1 | 4.4 Medium | VulnCheck |
Weaknesses
- CWE-377 Insecure Temporary File
References
- GitHub Issue #2188Issue Tracker
- https://github.com/jarun/nnnProduct Page
- Fix commitPatch
- https://github.com/jarun/nnn/blob/v5.3/plugins/pdfread#L9-L10Technical Details
- https://github.com/jarun/nnn/blob/v5.3/plugins/nuke#L280Technical Details
- VulnCheck Advisory: nnn through 5.3 Insecure Temporary File Symlink Overwrite via pdfread and nuke PluginsThird-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.