{"id":"UBUNTU-CVE-2026-121548","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.","modified":"2026-11-05T11:45:29.480638342Z","published":"2026-11-03T16:17:00Z","upstream":["CVE-2026-121548"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-121548"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-121548"},{"type":"REPORT","url":"https://github.com/jarun/nnn"},{"type":"REPORT","url":"https://github.com/jarun/nnn/blob/v5.3/plugins/togglex#L15"},{"type":"REPORT","url":"https://github.com/jarun/nnn/commit/04715921aece0257fef7a8558c0783493d98efff"},{"type":"REPORT","url":"https://github.com/jarun/nnn/issues/2188"},{"type":"REPORT","url":"https://www.vulncheck.com/advisories/nnn-through-5.3-os-command-injection-via-togglex-plugin"}],"affected":[{"package":{"name":"nnn","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/nnn?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3-2","1.5-1","1.6-1","1.7-1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.7-1","binary_name":"nnn"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-121548.json"}},{"package":{"name":"nnn","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/nnn?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.6-1","2.7-1","2.8-1","2.8.1-1","2.9-1","3.0-1","3.0-2"],"ecosystem_specific":{"binaries":[{"binary_name":"nnn","binary_version":"3.0-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-121548.json"}},{"package":{"name":"nnn","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/nnn?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.5-1","4.3-1"],"ecosystem_specific":{"binaries":[{"binary_name":"nnn","binary_version":"4.3-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-121548.json"}},{"package":{"name":"nnn","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/nnn?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.8-1","4.9-1","4.9-1build1","4.9-1build2"],"ecosystem_specific":{"binaries":[{"binary_name":"nnn","binary_version":"4.9-1build2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-121548.json"}},{"package":{"name":"nnn","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/nnn?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.1-1","5.2-1","5.3-1"],"ecosystem_specific":{"binaries":[{"binary_version":"5.3-1","binary_name":"nnn"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-121548.json"}},{"package":{"name":"nnn","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/nnn?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.0-1","5.1-1"],"ecosystem_specific":{"binaries":[{"binary_version":"5.1-1","binary_name":"nnn"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-121548.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"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"},{"type":"Ubuntu","score":"medium"}]}