# CVE-2026-65611: Shell Command Injection in nnn

- Severity: Medium 5.1 (CVSS:4.0, scored by CERT-PL) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 27% of CVEs (2026-12-01)
- Published: 2026-08-19T13:21:25.542Z
- Modified: 2026-10-27T12:10:00.343Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- nnn nnn: 5.2

## References

- <https://cert.pl/en/posts/2026/08/CVE-2026-65609> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-65611](https://www.cve.org/CVERecord?id=CVE-2026-65611), CVE Terms of Use, modified 2026-08-20
- NVD: [CVE-2026-65611](https://nvd.nist.gov/vuln/detail/CVE-2026-65611), Public domain, modified 2026-10-27

---

Page: https://cve.day/CVE-2026-65611 · Whole record: https://cve.day/CVE-2026-65611.json · Rebuilt by cve.day 2026-11-25T22:59:33.926Z
