CVE-2026-65611
Received Received - Intake

Path Traversal Vulnerability in nnn File Manager

Vulnerability report for CVE-2026-65611, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-19

Last updated on: 2026-08-19

Assigner: 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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-19
Last Modified
2026-08-19
Generated
2026-08-19
AI Q&A
2026-08-19
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Currently, no data is known.

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-78 The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

The vulnerability in nnn involves improper sanitization of the path variable. An attacker can create a directory with a name containing a single quote followed by shell syntax on a shared filesystem, removable media, or inside an archive. When a victim enters this directory and uses batch copy or move operations, the crafted directory name is inserted into a shell command, leading to arbitrary code execution with the privileges of the nnn process.

Detection Guidance

To detect this vulnerability, check if nnn version 5.2 is installed on your system. You can run the command 'nnn -v' to verify the version. If you are using version 5.2, the system is vulnerable. Additionally, inspect directories with unusual names containing special characters like single quotes.

Impact Analysis

This vulnerability allows an attacker to execute arbitrary commands on your system if you interact with a maliciously named directory using nnn's batch copy or move features. The impact includes potential data theft, system compromise, or further network infiltration, depending on the attacker's goals and your system permissions.

Compliance Impact

This vulnerability could potentially impact compliance with GDPR and HIPAA by allowing unauthorized code execution through directory traversal and shell injection. If exploited, it may lead to unauthorized data access, modification, or exfiltration, violating confidentiality and integrity requirements under these regulations.

Mitigation Strategies

Immediately update nnn to a patched version if available. Avoid using batch copy or move workflows in nnn until the issue is resolved. Do not enter directories with suspicious names containing special characters.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-65611. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart