
CVE catalog
CVE-2026-65612
nnn does not sanitize the filename variable. An attacker can place a file with a crafted name on a shared filesystem, removable media, or inside an extracted archive whose name contains a single quote
- Severity
- High · CVSS 7.3
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H - Published
- Updated
- Source
- [NVD] · [CVE record]
- EPSS
- 0.44% · Oct 25, 2026
nnn does not sanitize the filename variable. An attacker can place a file with a crafted name on a shared filesystem, removable media, or inside an extracted archive whose name contains a single quote followed by shell syntax. If the victim navigates to that file and opens it with preview-tabbed, the filename 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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | nnn | sid | 5.3-1 | vulnerable |
| Debian | nnn | forky | 5.3-1 | vulnerable |
| Debian | nnn | trixie | 5.0-1 | vulnerable |
| Debian | nnn | bookworm | 4.7-1 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | nnn | source | sid | (unfixed) | not yet assigned | Not reported | [1145170] |
| Debian | nnn | source | forky | (unfixed) | not yet assigned | Not reported | [1145170] |
| Debian | nnn | source | trixie | (unfixed) | not yet assigned | Not reported | [1145170] |
| Debian | nnn | source | bookworm | (unfixed) | not yet assigned | Not reported | [1145170] |
Notes
[trixie] nnn: Minor issue [bookworm] nnn: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [nnn]Affected
Details (2)
4.7-1· amd64 · bookwormAffected
nvd · nnn · debian · bookworm; nvd · nnn · debian · 12
4.7-1· arm64 · bookwormAffected
nvd · nnn · debian · bookworm; nvd · nnn · debian · 12
[Debian 13 (Trixie)]
- [nnn]Affected
Details (2)
5.0-1· amd64 · trixieAffected
nvd · nnn · debian · 13
5.0-1· arm64 · trixieAffected
nvd · nnn · debian · 13
Observed:
References
- [https://cert.pl/en/posts/2026/08/CVE-2026-65609]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-65612]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-65612]
- [https://security-tracker.debian.org/tracker/CVE-2026-65612]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-65612.json]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]