{"id":"CVE-2026-121548","summary":"nnn through 5.3 OS Command Injection via togglex Plugin","details":"Jarun nnn through 5.3 contains an OS command injection vulnerability in plugins/togglex that allows attackers to execute commands via crafted filenames. Attackers can place files whose names contain a double quote and shell syntax, which xargs -I splices into an sh -c script, running commands as the user invoking togglex.","modified":"2026-11-05T07:58:17.725661835Z","published":"2026-11-03T15:17:08.075Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/121xxx/CVE-2026-121548.json","cna_assigner":"VulnCheck","cwe_ids":["CWE-78"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/121xxx/CVE-2026-121548.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-121548"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/nnn-through-5.3-os-command-injection-via-togglex-plugin"},{"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/togglex#L15"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/jarun/nnn","events":[{"introduced":"0"},{"fixed":"04715921aece0257fef7a8558c0783493d98efff"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"last_affected":"5.3"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"range":[{"fixed":"04715921aece0257fef7a8558c0783493d98efff"}],"source":"REFERENCES_COMMIT"}]}}],"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-121548.json","vanir_signatures":[{"target":{"file":"src/nnn.c","function":"main"},"deprecated":false,"digest":{"function_hash":"171063477316256069403720297315206611284","length":7801},"id":"CVE-2026-121548-05c47bcf","signature_type":"Function","signature_version":"v1","source":"https://github.com/jarun/nnn/commit/04715921aece0257fef7a8558c0783493d98efff"},{"signature_type":"Function","signature_version":"v1","source":"https://github.com/jarun/nnn/commit/04715921aece0257fef7a8558c0783493d98efff","target":{"file":"src/nnn.c","function":"notify_fifo"},"deprecated":false,"digest":{"length":690,"function_hash":"187044755683001450775922366739253522105"},"id":"CVE-2026-121548-200aedba"},{"target":{"file":"src/nnn.c","function":"send_to_explorer"},"deprecated":false,"digest":{"function_hash":"243255289732332706240331186625867180560","length":352},"id":"CVE-2026-121548-52ee4047","signature_type":"Function","signature_version":"v1","source":"https://github.com/jarun/nnn/commit/04715921aece0257fef7a8558c0783493d98efff"},{"id":"CVE-2026-121548-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-05T07:58:17Z"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}]}