{"id":"CVE-2026-121549","summary":"nnn through 5.3 Insecure Temporary File Symlink Overwrite via pdfread and nuke Plugins","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-08T07:04:00.298413466Z","published":"2026-11-03T15:17:08.749Z","database_specific":{"cwe_ids":["CWE-377"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/121xxx/CVE-2026-121549.json","cna_assigner":"VulnCheck"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/121xxx/CVE-2026-121549.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-121549"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/nnn-through-5.3-insecure-temporary-file-symlink-overwrite-via-pdfread-and-nuke-plugins"},{"type":"REPORT","url":"https://github.com/jarun/nnn/issues/2188"},{"type":"FIX","url":"https://github.com/jarun/nnn/commit/04715921aece0257fef7a8558c0783493d98efff"},{"type":"PACKAGE","url":"https://github.com/jarun/nnn"},{"type":"ARTICLE","url":"https://github.com/jarun/nnn/blob/v5.3/plugins/nuke#L280"},{"type":"ARTICLE","url":"https://github.com/jarun/nnn/blob/v5.3/plugins/pdfread#L9-L10"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/jarun/nnn","events":[{"introduced":"0"},{"fixed":"04715921aece0257fef7a8558c0783493d98efff"}],"database_specific":{"extracted_events":[{"strategy":"StandardRange","range":[{"introduced":"0"},{"last_affected":"5.3"}],"source":"AFFECTED_FIELD"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"04715921aece0257fef7a8558c0783493d98efff"}]}]}}],"versions":["v5.3","v5.2","v5.1","v5.0","v4.9","v4.8","v4.7","v4.6","v4.5","v4.4","v4.3","v4.2","v4.1.1","v4.1","v4.0","v3.7","v3.6","v3.5","v3.4","v3.3","v3.2","v3.1","v3.0","v2.9","v2.8.1","v2.8","v2.7","v2.6","v2.5","v2.4","v2.3","v2.2","v2.1","v2.0","v1.9","v1.8","v1.7","v1.6","v1.5","v1.4","v1.3","v1.2","v1.1","v1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-121549.json","vanir_signatures":[{"target":{"file":"src/nnn.c","function":"main"},"deprecated":false,"digest":{"length":7801,"function_hash":"171063477316256069403720297315206611284"},"id":"CVE-2026-121549-05c47bcf","signature_type":"Function","signature_version":"v1","source":"https://github.com/jarun/nnn/commit/04715921aece0257fef7a8558c0783493d98efff"},{"signature_version":"v1","source":"https://github.com/jarun/nnn/commit/04715921aece0257fef7a8558c0783493d98efff","target":{"file":"src/nnn.c","function":"notify_fifo"},"deprecated":false,"digest":{"function_hash":"187044755683001450775922366739253522105","length":690},"id":"CVE-2026-121549-200aedba","signature_type":"Function"},{"source":"https://github.com/jarun/nnn/commit/04715921aece0257fef7a8558c0783493d98efff","target":{"file":"src/nnn.c","function":"send_to_explorer"},"deprecated":false,"digest":{"length":352,"function_hash":"243255289732332706240331186625867180560"},"id":"CVE-2026-121549-52ee4047","signature_type":"Function","signature_version":"v1"},{"deprecated":false,"digest":{"line_hashes":["259320240188334450813817935704031583037","297033148696963200506990403829013644535","60351959690622900025858771375611669113","86486511867830702503423136848975071898","275267327306086145224632923086749822602","199654160723493815288900677015053152037","148047723056606081044294330990466502879","85089041455774501909900297084339980630","303999337214278770597086496708233541555","62265440344506930514567310187835881705","118526281980284906110964661611054392784","331436642811416433624912077541678990024","244892843877916811205151509834428397312","125849855225244563255267144217574228699","110589512738784483728026222746925466058","311164762172523958413528406682253837946","117670874402019842051869899371981323725","335334734052490396784685798052415135710","42512126474012370581545373880133593095","315285652143777104683409606478009525730","8492196318472285959088371636692632231","154914459127544499866225755055312646408","242391457571831573281418568877767437043","58276381312512240522504057406353697293","214384793481741364310728945986401823065"],"threshold":0.9},"id":"CVE-2026-121549-6ce6a70e","signature_type":"Line","signature_version":"v1","source":"https://github.com/jarun/nnn/commit/04715921aece0257fef7a8558c0783493d98efff","target":{"file":"src/nnn.c"}}],"vanir_signatures_modified":"2026-11-08T07:04:00Z"}}],"schema_version":"1.9.2","severity":[{"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"}]}