CVE-2026-121548

Source
https://cve.org/CVERecord?id=CVE-2026-121548
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-121548.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-121548
Downstream
Published
2026-11-03T15:17:08Z
Modified
2026-11-05T07:58:17Z
Severity
  • 8.4 (High) CVSS_V4 - CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
nnn through 5.3 OS Command Injection via togglex Plugin
Details

Jarun nnn through 5.3 contains an OS command injection vulnerability in plugins/togglex that allows attackers to execute commands via crafted filenames. Attackers can place files whose names contain a double quote and shell syntax, which xargs -I splices into an sh -c script, running commands as the user invoking togglex.

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

Affected packages

Git / github.com/jarun/nnn

Affected ranges

Type
GIT
Repo
https://github.com/jarun/nnn
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "last_affected":  "5.3"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        },
        {
            "range":  [
                {
                    "fixed":  "04715921aece0257fef7a8558c0783493d98efff"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

v1.*
v1.0
v1.1
v1.2
v1.3
v1.4
v1.5
v1.6
v1.7
v1.8
v1.9
v2.*
v2.0
v2.1
v2.2
v2.3
v2.4
v2.5
v2.6
v2.7
v2.8
v2.8.1
v2.9
v3.*
v3.0
v3.1
v3.2
v3.3
v3.4
v3.5
v3.6
v3.7
v4.*
v4.0
v4.1
v4.1.1
v4.2
v4.3
v4.4
v4.5
v4.6
v4.7
v4.8
v4.9
v5.*
v5.0
v5.1
v5.2
v5.3

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-121548.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "171063477316256069403720297315206611284",
            "length":  7801
        },
        "id":  "CVE-2026-121548-05c47bcf",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/jarun/nnn/commit/04715921aece0257fef7a8558c0783493d98efff",
        "target":  {
            "file":  "src/nnn.c",
            "function":  "main"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "187044755683001450775922366739253522105",
            "length":  690
        },
        "id":  "CVE-2026-121548-200aedba",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/jarun/nnn/commit/04715921aece0257fef7a8558c0783493d98efff",
        "target":  {
            "file":  "src/nnn.c",
            "function":  "notify_fifo"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "243255289732332706240331186625867180560",
            "length":  352
        },
        "id":  "CVE-2026-121548-52ee4047",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/jarun/nnn/commit/04715921aece0257fef7a8558c0783493d98efff",
        "target":  {
            "file":  "src/nnn.c",
            "function":  "send_to_explorer"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "259320240188334450813817935704031583037",
                "297033148696963200506990403829013644535",
                "60351959690622900025858771375611669113",
                "86486511867830702503423136848975071898",
                "275267327306086145224632923086749822602",
                "199654160723493815288900677015053152037",
                "148047723056606081044294330990466502879",
                "85089041455774501909900297084339980630",
                "303999337214278770597086496708233541555",
                "62265440344506930514567310187835881705",
                "118526281980284906110964661611054392784",
                "331436642811416433624912077541678990024",
                "244892843877916811205151509834428397312",
                "125849855225244563255267144217574228699",
                "110589512738784483728026222746925466058",
                "311164762172523958413528406682253837946",
                "117670874402019842051869899371981323725",
                "335334734052490396784685798052415135710",
                "42512126474012370581545373880133593095",
                "315285652143777104683409606478009525730",
                "8492196318472285959088371636692632231",
                "154914459127544499866225755055312646408",
                "242391457571831573281418568877767437043",
                "58276381312512240522504057406353697293",
                "214384793481741364310728945986401823065"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-121548-6ce6a70e",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/jarun/nnn/commit/04715921aece0257fef7a8558c0783493d98efff",
        "target":  {
            "file":  "src/nnn.c"
        }
    }
]
vanir_signatures_modified
"2026-11-05T07:58:17Z"