CVE-2026-121548

nnn through 5.3 OS Command Injection via togglex Plugin

Published Nov 3, 2026 CVSS 4.0 · 8.4 High EPSS 1.2% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

An OS command injection flaw exists in the togglex plugin of Jarun’s nnn file manager version 5.3. The plugin passes a user‑supplied filename into xargs –I and then into sh –c, allowing an attacker to inject arbitrary shell commands. The code lacks proper input validation, enabling the user who launches togglex to execute commands with their own privileges. The high CVSS score of 8.4 reflects the potential for complete compromise of the executing account.

Affected Systems

The affected product is the nnn file manager from developer Jarun, with versions up to and including 5.3. The togglex plugin is bundled in those releases, so any user installing or updating nnn to 5.3 without the hot‑fix is vulnerable. No other nnn releases after 5.3 are noted as affected in the available data.

Risk and Exploitability

The escalation route requires the attacker to create or rename a file with a malicious name that will be processed by togglex. Based on the description, it is inferred that the attack requires local access to the user’s file system and execution of the togglex program; there is no documented network‑based entry point. The EPSS score of 1% indicates a low but non‑zero probability of exploitation, and the vulnerability is not listed in KEV, meaning active exploitation is not known. The high CVSS score still suggests that a capable local adversary could achieve arbitrary command execution quickly, making prompt remediation advisable.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade nnn to a newer release that removes the vulnerable togglex plugin code or applies the vendor‑supplied patch.
  • If an update is not immediately possible, disable or uninstall the togglex plugin to eliminate the exploitation vector.
  • Remove any filenames that contain quotes or shell metacharacters from the directories used by togglex.

Generated by OpenCVE AI on November 4, 2026 at 15:01 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Jarun
Jarun nnn
Vendors & Products Jarun
Jarun nnn
Type Values Removed Values Added
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.
Title nnn through 5.3 OS Command Injection via togglex Plugin
Weaknesses CWE-78
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.4, 'vector': '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'}

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 3, 2026, 4:47 PM
Reserved
Nov 3, 2026, 2:46 PM
Status
Awaiting Analysis
Published
Nov 3, 2026, 4:17 PM
Modified
Nov 3, 2026, 5:18 PM