CVE-2026-121549
nnn through 5.3 contains an insecure temporary file vulnerability …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/jarun/nnn
- github.com/jarun/nnn/blob/v5.3/plugins/nuke#L280
- github.com/jarun/nnn/blob/v5.3/plugins/pdfread#L9-L10
- github.com/jarun/nnn/commit/04715921aece0257fef7a8558c0783493d98efff
- github.com/jarun/nnn/issues/2188
- www.vulncheck.com/advisories/nnn-through-5.3-insecure-temporary-file-symlink-overwrite-via
- nvd.nist.gov/vuln/detail/CVE-2026-121549
- cve.org/CVERecord?id=CVE-2026-121549
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.