CVE-2026-65611
published medium CVSS 4.0 · 5.1Shell Command Injection in nnn
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| nnn | — | nnn5.2 · Other versions: unknown | Affected | Not stated | CERT-PL |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.1 / 10
- Severity
- medium
- Provider
- CERT-PL · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| nnn | nnn | 5.2 (affected · git)Default: unknown | CERT-PL · cna |
Weaknesses
1- CWE-78 CWE-78 Improper neutralization of special elements used in an OS command ('OS command injection')
References
1Provider assertions
2CERT-PL · cna
Shell Command Injection in nnn
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 56a2b080363d4b447e3a0e3b975ef4ae3e4af38d9111a07e9961fa46e884ae65
- Ingested
- 23 Sep 2026, 09:26:32 UTC
- Source record
- Official CVE record