CVE-2026-65612

Source
https://cve.org/CVERecord?id=CVE-2026-65612
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-65612.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-65612
Downstream
Published
2026-08-19T13:21:32.599Z
Modified
2026-08-21T03:46:57.934052003Z
Severity
  • 5.1 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
Shell Command Injection in nnn
Details

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.

Database specific
{
    "cna_assigner": "CERT-PL",
    "cwe_ids": [
        "CWE-78"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/65xxx/CVE-2026-65612.json"
}
References

Affected packages

Git / github.com/jarun/nnn

Affected ranges

Type
GIT
Repo
https://github.com/jarun/nnn
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "introduced": "5.2"
        },
        {
            "last_affected": "5.2"
        }
    ],
    "source": "AFFECTED_FIELD"
}

Affected versions

5.*
5.2
v5.*
v5.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-65612.json"