CVEfocus › CVE database › CVE-2026-65611

CVE-2026-65611Shell Command Injection in nnn

CVSS 5.1 MediumEPSS 0.4% (higher than 30% of CVEs)Published 2026-08-19Updated 2026-08-20Assigner: CERT-PL

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.

CWE-78

What to do

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

6Fix pending
3Under investigation

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10nnnFix pendingUBUNTU-CVE-2026-65611
Ubuntu 26.04nnnUnder investigationUBUNTU-CVE-2026-65611
Ubuntu 24.04nnnUnder investigationUBUNTU-CVE-2026-65611
Ubuntu 22.04nnnUnder investigationUBUNTU-CVE-2026-65611
Ubuntu 20.04nnnFix pendingUBUNTU-CVE-2026-65611
Ubuntu 18.04nnnFix pendingUBUNTU-CVE-2026-65611
Debian 14nnnFix pendingDEBIAN-CVE-2026-65611
Debian 13nnnFix pendingDEBIAN-CVE-2026-65611
Debian 12nnnFix pendingDEBIAN-CVE-2026-65611

What the vendor says

As published in the CVE record by CERT-PL, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.