CVE-2026-121549

NameCVE-2026-121549
Descriptionnnn 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
nnn (PTS)bookworm4.7-1vulnerable
trixie5.0-1vulnerable
forky, sid5.3-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
nnnsource(unstable)(unfixed)unimportant

Notes

https://github.com/jarun/nnn/issues/2188
https://github.com/jarun/nnn/commit/04715921aece0257fef7a8558c0783493d98efff
Neutralised by kernel hardening

Search for package or bug name: Reporting problems