Skip to main content
← Vulnerabilities

nnn through 5.3 OS Command Injection via togglex Plugin

Affects nnn through 5.3 and master HEAD at commit c3e00d99cc83c71a9a0d285669775ae3c82db38e, when a selected filename with shell syntax is passed to the togglex plugin. CVSS rates it high; no vendor rating or fix is listed.

Written by anthropic/claude-haiku-5.5 from the sources below. Verify against them.

8.4HighCNA
Exploited
Proof of concept public, per CISA
Fix
Fix or patch referenced
Who is exposed
Specific setups only

Do first: Check whether your setup matches what the bug needs. Affects nnn master HEAD at the stated commit (the advisory does not name a release version) A selected filename must contain shell syntax (e.g. a double quote) and be passed to the togglex plugin

29Pcve.now Index 29 of 100 · methodology v3 · provisional
  • Exploitation15/40CISA rates a proof of concept as public
  • Exposure5/25Specific setups only
  • Reach?/20Reach: unknown (data gap). No tracked technology or package matched
  • Severity9.4/10CVSS 8.4, total technical impact per CISA
  • No patch0/5No signal

What would change the score

  • Would score about 64 if added to CISA KEV
  • Would score about 59 if CISA's SSVC rates exploitation active
  • Would score about 39 if CISA's SSVC rates it automatable

CVE-2026-121548 is not in CISA's Known Exploited Vulnerabilities (KEV) catalog. No public exploit code is tracked. It is rated CVSS 8.4 (high) and affects nnn; a fix or patch is referenced.

Published
Last modified
Published
Not listed in CISA KEV
29/100 · provisional
Specific setups only
Fix
Fix or patch referenced
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

The nnn terminal file manager, a widely used command-line tool, is affected by this vulnerability in its togglex plugin. An attacker who can create files with specially crafted names could run arbitrary commands with the privileges of the user who runs the plugin.

Read the original description

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.

What to do

  • Check whether your setup matches what the bug needs.

    Affects nnn master HEAD at the stated commit (the advisory does not name a release version) A selected filename must contain shell syntax (e.g. a double quote) and be passed to the togglex plugin
  • Apply the patch listed under Evidence.

Timeline

  1. CVE published
  2. First seen by cve.now
  3. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  4. Record last updated

Affected versions

  • jarun nnn

    through 5.3

Evidence 5

  1. Patch
  2. Report
  3. Repository
  4. Repository
  5. Link

Corrections

None so far.

Something wrong on this page? Report an error. Every fix is listed here.

FAQ

Questions about CVE-2026-121548

Is CVE-2026-121548 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. CISA's SSVC assessment notes a proof of concept exists. No public exploit code is tracked.Source: cve.now feed data

What does this mean?

A selected filename that contains shell syntax, such as a double quote, breaks out of the intended test in the togglex plugin. The shell code it contains then runs under the identity of the user who invoked nnn.Source: github.com

Which versions are affected by CVE-2026-121548?

nnn: through 5.3.Source: cve.now feed data

Am I affected, and how do I check?

The advisory lists nnn versions through 5.3, and it also confirms the bug on master HEAD at commit c3e00d99cc83c71a9a0d285669775ae3c82db38e, without naming a release. To check a copy, run nnn with the version flag and see whether the togglex plugin is installed and used.Source: github.com

How do I fix CVE-2026-121548?

The sources do not name a fixed release or a workaround, so no upgrade target can be given. Check the vendor's project page for a patched version.Source: github.com