{"id":"UBUNTU-CVE-2026-121549","details":"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.","modified":"2026-11-05T11:45:29.283615173Z","published":"2026-11-03T16:17:00Z","upstream":["CVE-2026-121549"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-121549"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-121549"},{"type":"REPORT","url":"https://github.com/jarun/nnn"},{"type":"REPORT","url":"https://github.com/jarun/nnn/blob/v5.3/plugins/nuke#L280"},{"type":"REPORT","url":"https://github.com/jarun/nnn/blob/v5.3/plugins/pdfread#L9-L10"},{"type":"REPORT","url":"https://github.com/jarun/nnn/commit/04715921aece0257fef7a8558c0783493d98efff"},{"type":"REPORT","url":"https://github.com/jarun/nnn/issues/2188"},{"type":"REPORT","url":"https://www.vulncheck.com/advisories/nnn-through-5.3-insecure-temporary-file-symlink-overwrite-via-pdfread-and-nuke-plugins"}],"affected":[{"package":{"name":"nnn","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/nnn?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3-2","1.5-1","1.6-1","1.7-1"],"ecosystem_specific":{"binaries":[{"binary_name":"nnn","binary_version":"1.7-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-121549.json"}},{"package":{"name":"nnn","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/nnn?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.6-1","2.7-1","2.8-1","2.8.1-1","2.9-1","3.0-1","3.0-2"],"ecosystem_specific":{"binaries":[{"binary_name":"nnn","binary_version":"3.0-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-121549.json"}},{"package":{"name":"nnn","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/nnn?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.5-1","4.3-1"],"ecosystem_specific":{"binaries":[{"binary_name":"nnn","binary_version":"4.3-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-121549.json"}},{"package":{"name":"nnn","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/nnn?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.8-1","4.9-1","4.9-1build1","4.9-1build2"],"ecosystem_specific":{"binaries":[{"binary_version":"4.9-1build2","binary_name":"nnn"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-121549.json"}},{"package":{"name":"nnn","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/nnn?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.1-1","5.2-1","5.3-1"],"ecosystem_specific":{"binaries":[{"binary_version":"5.3-1","binary_name":"nnn"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-121549.json"}},{"package":{"name":"nnn","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/nnn?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.0-1","5.1-1"],"ecosystem_specific":{"binaries":[{"binary_version":"5.1-1","binary_name":"nnn"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-121549.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"},{"type":"Ubuntu","score":"medium"}]}