# CVE-2026-82412: ntopng remote code execution via unauthenticated scan endpoints

Source: https://junglewise.ai/threats/cve-2026-82412-ntopng-is-a-web-based-network-traffic-monitoring-application  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-09-21. Updated: 2026-09-26  
License: CC BY 4.0 with a link back

CVE-2026-82412 · Severity: high · CVSS 8.8 · Published 2026-09-21

ntopng is a network traffic monitoring application that administrators use to analyze and protect network activity. Prior to version 6.7.260717, unauthenticated attackers could execute arbitrary operating system commands on the server by exploiting unprotected vulnerability-scan endpoints. An attacker could trigger this remotely through a logged-in user's browser without needing ntopng credentials, potentially giving attackers full control of the monitoring infrastructure.

Technologies: [Ntopng](https://junglewise.ai/threats/technologies/ntopng). Vendors: [Ntop](https://junglewise.ai/threats/vendors/ntop).

## Quick answers

**Is CVE-2026-82412 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-82412 being exploited in the wild.

**How severe is CVE-2026-82412?** High severity, with a CVSS score of 8.8, published 21 September 2026.

**Which products and versions are affected?** Ntopng before 6.7.260717.

**Is there a fix for CVE-2026-82412?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-82412 attacked?** It is attacked over the network, in a web application.

**Am I affected by CVE-2026-82412?** Check whether you run Ntopng at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

The vulnerability exists in two REST endpoints (/add/host/to_scan.lua and /exec/host/schedule_vulnerability_scan.lua) that accept a scan_ports parameter without proper authorization checks or input validation. The parameter is passed through validateSingleWord, which fails to block shell metacharacters, and is then concatenated directly into an nmap command executed via ntop.execCmd/ntop.execCmdAsync. Since these endpoints accept GET requests, they bypass ntopng's CSRF protection which only validates POST bodies, allowing any authenticated user (or browser-hijacked session) to trigger code execution as the ntopng process account when nmap is installed.

## Affected products

- ntop ntopng before 6.7.260717

## Timeline

- 2026-09-21: disclosed

## References

- [https://github.com/ntop/ntopng/commit/0d3156274f4d12db8b61432ebeded10966c01f3e](https://github.com/ntop/ntopng/commit/0d3156274f4d12db8b61432ebeded10966c01f3e)
- [https://github.com/ntop/ntopng/commit/771b34a9d37f5de989eec4f2f8f2e852db1c7e5e](https://github.com/ntop/ntopng/commit/771b34a9d37f5de989eec4f2f8f2e852db1c7e5e)

## Related threats

- [ntopng stack buffer overflow in nDPI custom category detection](https://junglewise.ai/threats/cve-2026-97371-ntopng-is-a-web-based-network-traffic-monitoring-application)
- [ntopng OS command injection in vulnerability-scan REST endpoint](https://junglewise.ai/threats/cve-2026-82413-ntopng-is-a-web-based-network-traffic-monitoring-application)
- [ntopng authorization bypass in system configuration backup download](https://junglewise.ai/threats/cve-2026-84990-ntopng-is-a-web-based-network-traffic-monitoring-application)
- [ntopng missing authorization check in blacklist editor](https://junglewise.ai/threats/cve-2026-83621-ntopng-is-a-web-based-network-traffic-monitoring-application)
- [ntopng privilege escalation in pools bulk-delete endpoint](https://junglewise.ai/threats/cve-2026-86091-ntopng-privilege-escalation-in-pools-bulk-delete-endpoint)
