{"id":"UBUNTU-CVE-2026-82413","details":"ntopng is a web-based network traffic monitoring application. Prior to 6.7.260717, scripts/lua/rest/v2/add/host/to_scan.lua and scripts/lua/rest/v2/exec/host/schedule_vulnerability_scan.lua accept scan_ports from any authenticated session, including non-administrator users, while deployments with login disabled expose the same request without authentication. The endpoints validate scan_ports with validateSingleWord, which permits shell metacharacters, and persist the value for the minute vulnerability-scan scheduler. The scheduler concatenates the value into an nmap command through nmap_scan_host and executes it through ntop.execCmd or ntop.execCmdAsync using popen. For the tcp_portscan and cve modules, a preliminary nmap -sn probe must first report the target as up before the attacker-controlled ports are used. When nmap is installed, this command injection allows arbitrary operating-system commands to execute as the ntopng service account without further user interaction. This issue is fixed in version 6.7.260717.","modified":"2026-11-07T01:46:43.501750818Z","published":"2026-11-06T00:00:00Z","upstream":["CVE-2026-82413"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-82413"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-82413"},{"type":"REPORT","url":"https://github.com/ntop/ntopng/security/advisories/GHSA-9xj6-f266-r46p"},{"type":"REPORT","url":"https://github.com/ntop/ntopng/commit/fda269014c6a8a445c2c893cf9d2fad0128364a5"}],"affected":[{"package":{"name":"ntopng","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/ntopng?arch=source&distro=esm-apps%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.1+dfsg1-2ubuntu1","2.0+dfsg1-1","2.2+dfsg1-1","2.2+dfsg1-1build1","2.2+dfsg1-1ubuntu0.1~esm2"],"ecosystem_specific":{"binaries":[{"binary_version":"2.2+dfsg1-1ubuntu0.1~esm2","binary_name":"ntopng"},{"binary_name":"ntopng-data","binary_version":"2.2+dfsg1-1ubuntu0.1~esm2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-82413.json"}},{"package":{"name":"ntopng","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/ntopng?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.4+dfsg1-3","2.4+dfsg1-4","3.2+dfsg1-1","3.2+dfsg1-1ubuntu0.1~esm2"],"ecosystem_specific":{"binaries":[{"binary_name":"ntopng","binary_version":"3.2+dfsg1-1ubuntu0.1~esm2"},{"binary_name":"ntopng-data","binary_version":"3.2+dfsg1-1ubuntu0.1~esm2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-82413.json"}},{"package":{"name":"ntopng","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/ntopng?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.8+dfsg1-2.1build3"],"ecosystem_specific":{"binaries":[{"binary_name":"ntopng","binary_version":"3.8+dfsg1-2.1build3"},{"binary_version":"3.8+dfsg1-2.1build3","binary_name":"ntopng-data"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-82413.json"}},{"package":{"name":"ntopng","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/ntopng?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.2.1+dfsg1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"ntopng","binary_version":"5.2.1+dfsg1-1"},{"binary_version":"5.2.1+dfsg1-1","binary_name":"ntopng-data"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-82413.json"}},{"package":{"name":"ntopng","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/ntopng?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.2.1+dfsg1-1","5.2.1+dfsg1-1ubuntu1","5.2.1+dfsg1-1ubuntu3","5.2.1+dfsg1-1ubuntu4"],"ecosystem_specific":{"binaries":[{"binary_name":"ntopng","binary_version":"5.2.1+dfsg1-1ubuntu4"},{"binary_name":"ntopng-data","binary_version":"5.2.1+dfsg1-1ubuntu4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-82413.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}