CVE-2026-82413 ntopng: authenticated (non-admin) OS command injection via the vulnerability-scan `scan_ports` parameter (`nmap` argument reaches `popen`)
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- Ubuntu
Description
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.
Upgrade path
4 packages: 0 fixed, 3 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| azure linux ntopng(Azure Linux 3.0) | All versions | No fix listed | No fix yet |
| ubuntu/ntopng(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/ntopng(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ntopng | = < 6.7.260717 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| ntopng | = < 6.7.260717 | No fix listed |
| ubuntu/ntopng(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/ntopng(Ubuntu:24.04) | All versions | No fix listed |
| azure linux ntopng(Azure Linux:3.0) | All versions | No fix listed |
References
- https://github.com/ntop/ntopng/security/advisories/GHSA-9xj6-f266-r46p
- https://github.com/ntop/ntopng/commit/fda269014c6a8a445c2c893cf9d2fad0128364a5
- MSRC Security Update Guide vendor-advisory
- Release Notes vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- ENISA EUVD EUVD-2026-117562 third-party-advisory