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.
Metrics
Affected Vendors & Products
References
| Link | Providers |
|---|---|
| https://cert.pl/en/posts/2026/08/CVE-2026-65609 |
|
History
Thu, 20 Aug 2026 09:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Nnn
Nnn nnn |
|
| Vendors & Products |
Nnn
Nnn nnn |
Wed, 19 Aug 2026 13:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Shell Command Injection in nnn | |
| Weaknesses | CWE-78 | |
| References |
| |
| Metrics |
cvssV4_0
|
Status: PUBLISHED
Assigner: CERT-PL
Published: 2026-08-19T13:21:25.542Z
Updated: 2026-08-19T13:21:25.542Z
Reserved: 2026-07-22T10:59:31.846Z
Link: CVE-2026-65611
No data.
Status : Received
Published: 2026-08-19T14:17:38.373
Modified: 2026-08-19T14:17:38.373
Link: CVE-2026-65611
No data.