nnn Insecure Temporary File Symlink Overwrite via pdfread and nuke Plugins
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- Active
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- —
- Confidentiality · integrity · availability
- None · High · None
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
The jarun nnn file manager through 5.3 uses predictable temporary file paths in /tmp in its pdfread and nuke plugins. A local attacker with low privileges can plant a symlink at one of those paths so that the plugin truncates and overwrites any file the victim can write (CWE-377).
Written with Claude Haiku 5.5 from the sources below · 2026-11-07
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
The sources list no fixed version for nnn. The sources do not list a workaround.
Written with Claude Haiku 5.5 from the sources below · 2026-11-07
Vendor assessments
Timeline
- 2026-11-03 Threatist record created from CVE-2026-121549
- 2026-11-03 Alias added: GHSA-p7pp-h3gc-2v7m
- 2026-11-04 Affected versions changed · Red Hat
- 2026-11-04 CVSS score added · Red Hat
- 2026-11-07 CISA SSVC decision points changed
- 2026-11-07 Priority changed: LOW → MEDIUM
References
More jarun vulnerabilities
- TI-2026-84354 OS command injection in nnn togglex plugin via crafted filenames CVSS 4.0HIGH 8.4
- TI-2026-85580 Server-side request forgery in Buku bukuserver reaches internal hosts CVSS 4.0MEDIUM 6.3
- TI-2026-84450 Stored cross-site scripting in buku bookmark list via bookmark URL CVSS 4.0MEDIUM 5.3
- TI-2025-12396 jarun nnn nnn.c run_cmd_as_plugin double free CVSS 4.0MEDIUM 4.8
- TI-2026-84356 Symlink-following write in nnn via NNN_FIFO handling CVSS 4.0LOW 1.0
Sources
- CVE-2026-121549 · CVE Program
- CVE-2026-121549 · NVD
- FIRST EPSS
- GHSA-p7pp-h3gc-2v7m · GitHub Advisory Database · CC BY 4.0
- CVE-2026-121549 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences