{"id":"CVE-2026-82413","aliases":["CVE-2026-82413"],"related":[],"kind":"vulnerability","state":"published","title":"ntopng: authenticated (non-admin) OS command injection via the vulnerability-scan `scan_ports` parameter (`nmap` argument reaches `popen`)","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-05T16:04:14.697Z","modified":"2026-11-09T17:17:33.560Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-77","CWE-78","CWE-88"],"affected":[{"ranges":[{"version":"< 6.7.260717","status":"affected"}],"vendor":"ntop","product":"ntopng","source":"cvelist"}],"references":[{"url":"https://github.com/ntop/ntopng/security/advisories/GHSA-9xj6-f266-r46p","tags":["x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/ntop/ntopng/commit/fda269014c6a8a445c2c893cf9d2fad0128364a5","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-11-09T16:12:14.170Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-82413","url":"https://www.cve.org/CVERecord?id=CVE-2026-82413","licence":"CVE Terms of Use","modified":"2026-11-09T16:51:24.190Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-82413","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-82413","licence":"Public domain","modified":"2026-11-09T17:17:33.560Z"}],"updatedAt":"2026-11-25T22:59:49.138Z","epss":{"score":0.01294,"percentile":0.71156,"date":"2026-12-01T12:00:22.000Z"}}