{"id":"CVE-2026-121549","aliases":["DEBIAN-CVE-2026-121549","EUVD-2026-115894","GHSA-p7pp-h3gc-2v7m","UBUNTU-CVE-2026-121549"],"status":"published","title":"nnn through 5.3 Insecure Temporary File Symlink Overwrite via pdfread and nuke Plugins","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.","severity":{"version":"4.0","score":4.1,"vector":"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","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-12","score":0.00109,"percentile":0.01241,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-377"],"published":"2026-11-03T15:17:08Z","modified":"2026-11-07T03:08:53Z","affected":[{"source":"osv","ecosystem":"Debian:12","package":"nnn","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.7-1","4.8-1","4.9-1","5.0-1","5.1-1","5.2-1","5.3-1"]},{"source":"osv","ecosystem":"Debian:13","package":"nnn","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.0-1","5.1-1","5.2-1","5.3-1"]},{"source":"osv","ecosystem":"Debian:14","package":"nnn","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.0-1","5.1-1","5.2-1","5.3-1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"nnn","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3-2","1.5-1","1.6-1","1.7-1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"nnn","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"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"nnn","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.5-1","4.3-1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"nnn","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.8-1","4.9-1","4.9-1build1","4.9-1build2"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"nnn","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.1-1","5.2-1","5.3-1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"nnn","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.0-1","5.1-1"]}],"products":[{"vendor":"jarun","product":"nnn"}],"references":[{"url":"https://github.com/jarun/nnn/issues/2188","tags":["issue-tracking","exploit","report"]},{"url":"https://github.com/jarun/nnn","tags":["product","package","report"]},{"url":"https://github.com/jarun/nnn/commit/04715921aece0257fef7a8558c0783493d98efff","tags":["patch","fix","report"]},{"url":"https://github.com/jarun/nnn/blob/v5.3/plugins/pdfread#L9-L10","tags":["technical-description","article","report"]},{"url":"https://github.com/jarun/nnn/blob/v5.3/plugins/nuke#L280","tags":["technical-description","article","report"]},{"url":"https://www.vulncheck.com/advisories/nnn-through-5.3-insecure-temporary-file-symlink-overwrite-via-pdfread-and-nuke-plugins","tags":["third-party-advisory","advisory","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-121549","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-p7pp-h3gc-2v7m"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/121xxx/CVE-2026-121549.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-121549","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-121549","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-121549","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2026-121549","title":"nnn through 5.3 Insecure Temporary File Symlink Overwrite via pdfread and nuke Plugins","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.","status":"published","published":"2026-11-03T15:17:08.749Z","modified":"2026-11-07T03:08:53.973Z","cvss":[{"version":"4.0","score":4.1,"vector":"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","level":"medium","assessor":"cna"},{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-377"],"updated_at":"2026-11-07T04:32:31.343254Z"}],"euvd":[{"id":"EUVD-2026-115894","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.","status":"published","published":"2026-11-03T15:17:08Z","modified":"2026-11-07T03:08:53Z","cvss":[{"version":"4.0","score":4.1,"vector":"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","level":"medium"}],"updated_at":"2026-11-07T04:08:16.282099Z"}],"ghsa":[{"id":"GHSA-p7pp-h3gc-2v7m","title":"nnn through 5.3 contains an insecure temporary file vulnerability in the pdfread and nuke plugins...","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.","status":"published","published":"2026-11-03T18:31:04Z","modified":"2026-11-03T18:31:04Z","cvss":[{"version":"4.0","score":4.1,"vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium"},{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N","level":"medium"}],"cwes":["CWE-377"],"updated_at":"2026-11-03T19:01:31.965978Z"}],"nvd":[{"id":"CVE-2026-121549","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.","status":"published","published":"2026-11-03T16:17:26.73Z","modified":"2026-11-07T04:17:20.953Z","cvss":[{"version":"4.0","score":4.1,"vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium","assessor":"secondary"},{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-377"],"updated_at":"2026-11-07T07:04:25.467195Z"}],"osv":[{"id":"CVE-2026-121549","title":"nnn through 5.3 Insecure Temporary File Symlink Overwrite via pdfread and nuke Plugins","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.","status":"published","published":"2026-11-03T15:17:08.749Z","modified":"2026-11-08T07:04:00.298413466Z","cvss":[{"version":"4.0","score":4.1,"vector":"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","level":"medium"}],"cwes":["CWE-377"],"updated_at":"2026-11-08T02:57:14.556074Z"},{"id":"DEBIAN-CVE-2026-121549","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.","status":"published","published":"2026-11-03T16:17:26.73Z","modified":"2026-11-07T10:01:24.89533463Z","cvss":[{"version":"4.0","score":4.1,"vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium"}],"updated_at":"2026-11-07T10:13:34.340634Z"},{"id":"UBUNTU-CVE-2026-121549","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.","status":"published","published":"2026-11-03T16:17:00Z","modified":"2026-11-05T11:45:29.283615173Z","cvss":[{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N","level":"medium"},{"version":"4.0","score":4.1,"vector":"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","level":"medium"}],"updated_at":"2026-11-05T13:30:49.23793Z"}]}}
