Vulnerability · Published Aug 19, 2026 · Assigned by CERT-PL

CVE-2026-65611Shell Command Injection in nnn

Medium 5.1

In plain English

A medium-severity OS command injection in nnn from nnn. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 39% of all known vulnerabilities).

Severity (CVSS 4.0)5.1Medium
Exploit odds (30 days)0.4%top 61.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

nnn does not sanitize the path variable. An attacker can create a directory on a shared filesystem, removable media, or inside an extracted archive whose name contains a single quote followed by shell syntax. If the victim enters that directory in nnn and uses the batch copy or move workflow, the crafted directory name is embedded into the generated shell command and the injected payload executes with the privileges of the nnn process. Maintainer of this project was notified about this vulnerability. It might has been addressed, but the maintainer did not provide a vulnerable version range. Only version 5.2 was tested and confirmed as vulnerable.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12nnnno fix listedDEBIAN-CVE-2026-65611
Debian:13nnnno fix listedDEBIAN-CVE-2026-65611
Debian:14nnnno fix listedDEBIAN-CVE-2026-65611
Ubuntu:22.04:LTSnnnno fix listedUBUNTU-CVE-2026-65611
Ubuntu:24.04:LTSnnnno fix listedUBUNTU-CVE-2026-65611
Ubuntu:26.04:LTSnnnno fix listedUBUNTU-CVE-2026-65611
Ubuntu:26.10nnnno fix listedUBUNTU-CVE-2026-65611

Affected products (as reported)

VendorProductVersions
nnn nnn 5.2

Weakness: CWE-78 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:L/SI:L/SA:L

References