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).
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | nnn | no fix listed | DEBIAN-CVE-2026-65611 |
| Debian:13 | nnn | no fix listed | DEBIAN-CVE-2026-65611 |
| Debian:14 | nnn | no fix listed | DEBIAN-CVE-2026-65611 |
| Ubuntu:22.04:LTS | nnn | no fix listed | UBUNTU-CVE-2026-65611 |
| Ubuntu:24.04:LTS | nnn | no fix listed | UBUNTU-CVE-2026-65611 |
| Ubuntu:26.04:LTS | nnn | no fix listed | UBUNTU-CVE-2026-65611 |
| Ubuntu:26.10 | nnn | no fix listed | UBUNTU-CVE-2026-65611 |
Affected products (as reported)
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
- https://cert.pl/en/posts/2026/08/CVE-2026-65609 third-party-advisory