CVE Catalog

CVE-2026-65611

MediumCVSS 5.1
Published: Translated: NVD NIST

Summary

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.

Risk Assessment

The risk is the execution of malicious code with the privileges of the nnn process, which could lead to system compromise or data theft.

Recommendation

It is recommended to upgrade nnn to the latest available version if a fix has been released, and to avoid entering directories with suspicious names during batch operations.

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS