DEBIAN-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 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.
DEBIAN-CVE-2026-65612
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: osv:DEBIAN-CVE-2026-65612
nnn
Source reference: /affected/0/package/name
- Affected versions
- 4.7-1
Source reference:
/affected/0/versions4.8-1Source reference:
/affected/0/versions4.9-1Source reference:
/affected/0/versions5.0-1Source reference:
/affected/0/versions5.1-1Source reference:
/affected/0/versions5.2-1Source reference:
/affected/0/versions5.3-1Source reference:
/affected/0/versions - Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
nnn
Source reference: /affected/1/package/name
- Affected versions
- 5.0-1
Source reference:
/affected/1/versions5.1-1Source reference:
/affected/1/versions5.2-1Source reference:
/affected/1/versions5.3-1Source reference:
/affected/1/versions - Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
nnn
Source reference: /affected/2/package/name
- Affected versions
- 5.0-1
Source reference:
/affected/2/versions5.1-1Source reference:
/affected/2/versions5.2-1Source reference:
/affected/2/versions5.3-1Source reference:
/affected/2/versions - Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "nnn",
"purl": "pkg:deb/debian/nnn?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"4.7-1",
"4.8-1",
"4.9-1",
"5.0-1",
"5.1-1",
"5.2-1",
"5.3-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-65612.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "nnn",
"purl": "pkg:deb/debian/nnn?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"versions": [
"5.0-1",
"5.1-1",
"5.2-1",
"5.3-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-65612.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "nnn",
"purl": "pkg:deb/debian/nnn?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"versions": [
"5.0-1",
"5.1-1",
"5.2-1",
"5.3-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-65612.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
]Publisher severity
No explicit severity was provided.
- Event
- #58445 · Revision 1
- Added to Heist Feed
- Publisher date