CVE-2026-65612: nnn - Command Injection
- Cve: CVE-2026-65612
- Name: nnn - Command Injection
- Description: nnn does not sanitize the filename variable. An attacker can place a file with a crafted name on a shared filesystem, removable media, or inside an extracted archive whose name contains a single quote followed by shell syntax. If the victim navigates to that file and opens it with preview-tabbed, the filename 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.
- Impact: Attackers can execute arbitrary commands with the privileges of the nnn process, potentially leading to full system compromise.
- Remediation: Update to the latest version where this issue is fixed.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution
- Requirement type: user_interaction
- Requirements: Victim must open a crafted file with a malicious filename in nnn.
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.1
- Cvss 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- Epss score: 0.00444
- Epss percentile: 0.3934
- Assignee: [email protected]
- Published at: 2026-08-19T14:17:38Z
- Age in days: 97
- Modified at: 2026-10-27T12:10:00Z
- References total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-65612
- Nvd status: deferred
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command |
References
| Url | Source | Tags |
|---|---|---|
| https://cert.pl/en/posts/2026/08/CVE-2026-65609 | nvd |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts