CVE-2026-65611
Description
A flaw was found in nnn, a file manager. This vulnerability, known as Shell Command Injection, allows an attacker to execute arbitrary commands. By creating a specially crafted directory name containing shell syntax on a shared filesystem, removable media, or within an extracted archive, an attacker can exploit this flaw. If a victim navigates into this directory and uses the batch copy or move function, the malicious directory name is embedded into a shell command, leading to the execution of the attacker's payload with the privileges of the nnn process.
Statement
Red Hat has evaluated this vulnerability as Important severity because it enables arbitrary command execution within the context of the active user session, though exploitation requires specific user interaction. The nnn package is not shipped in core Red Hat Enterprise Linux repositories and is only provided via Extra Packages for Enterprise Linux (EPEL) and Fedora. To trigger the vulnerability, an operator must actively enter an untrusted directory containing specially crafted shell syntax and invoke batch file operations.
Mitigation
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
Understanding the Weakness (CWE)
Confidentiality,Integrity,Availability,Non-Repudiation
Technical Impact: Execute Unauthorized Code or Commands; DoS: Crash, Exit, or Restart; Read Files or Directories; Modify Files or Directories; Read Application Data; Modify Application Data; Hide Activities
Attackers could execute unauthorized operating system commands, which could then be used to disable the product, or read and modify data for which the attacker does not have permissions to access directly. Since the targeted application is directly executing the commands instead of the attacker, any malicious activities may appear to come from the application or the application's owner.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.