{"id":"CVE-2026-121550","summary":"nnn through 5.3 Symlink-Following Write via NNN_FIFO Handling","details":"nnn through 5.3 contains an insecure file handling vulnerability that allows local attackers to redirect writes because main() accepts an existing NNN_FIFO path without verifying it is a FIFO. Attackers can pre-create the documented predictable /tmp/nnn.fifo path as a symlink or readable regular file, causing victim-writable files to be overwritten or leaking the victim's browsed paths.","modified":"2026-11-11T07:23:24.386006523Z","published":"2026-11-03T15:17:09.442Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/121xxx/CVE-2026-121550.json","cna_assigner":"VulnCheck","cwe_ids":["CWE-59"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/121xxx/CVE-2026-121550.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-121550"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/nnn-through-5.3-symlink-following-write-via-nnn-fifo-handling"},{"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/src/nnn.c#L10635"},{"type":"ARTICLE","url":"https://github.com/jarun/nnn/blob/v5.3/src/nnn.c#L7433"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/jarun/nnn","events":[{"introduced":"0"},{"fixed":"04715921aece0257fef7a8558c0783493d98efff"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"0"},{"last_affected":"5.3"}]},{"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-121550.json","vanir_signatures":[{"digest":{"function_hash":"171063477316256069403720297315206611284","length":7801},"id":"CVE-2026-121550-05c47bcf","signature_type":"Function","signature_version":"v1","source":"https://github.com/jarun/nnn/commit/04715921aece0257fef7a8558c0783493d98efff","target":{"file":"src/nnn.c","function":"main"},"deprecated":false},{"target":{"file":"src/nnn.c","function":"notify_fifo"},"deprecated":false,"digest":{"function_hash":"187044755683001450775922366739253522105","length":690},"id":"CVE-2026-121550-200aedba","signature_type":"Function","signature_version":"v1","source":"https://github.com/jarun/nnn/commit/04715921aece0257fef7a8558c0783493d98efff"},{"id":"CVE-2026-121550-52ee4047","signature_type":"Function","signature_version":"v1","source":"https://github.com/jarun/nnn/commit/04715921aece0257fef7a8558c0783493d98efff","target":{"file":"src/nnn.c","function":"send_to_explorer"},"deprecated":false,"digest":{"function_hash":"243255289732332706240331186625867180560","length":352}},{"id":"CVE-2026-121550-6ce6a70e","signature_type":"Line","signature_version":"v1","source":"https://github.com/jarun/nnn/commit/04715921aece0257fef7a8558c0783493d98efff","target":{"file":"src/nnn.c"},"deprecated":false,"digest":{"threshold":0.9,"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"]}}],"vanir_signatures_modified":"2026-11-11T07:23:24Z"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"}]}