CVE-2026-82413
Deferred Deferred - Pending Action

ntopng Command Injection via scan_ports Parameter

Vulnerability report for CVE-2026-82413, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-05

Last updated on: 2026-11-05

Assigner: GitHub, Inc.

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-05
Last Modified
2026-11-05
Generated
2026-11-08
AI Q&A
2026-11-05
EPSS Evaluated
2026-11-06
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
ntop ntopng < 6.7.260717

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-78 The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.
CWE-77 The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component.
CWE-88 The product constructs a string for a command to be executed by a separate component in another control sphere, but it does not properly delimit the intended arguments, options, or switches within that command string.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is a command injection vulnerability in ntopng, a network monitoring tool. It allows authenticated users, including non-admins, to execute arbitrary operating system commands on the host system through the vulnerability-scan feature. The issue occurs because the scan_ports parameter is improperly validated and directly concatenated into an nmap command, enabling shell metacharacters to be injected.

Detection Guidance

Check ntopng version with command: ntopng --version. If version is below 6.7.260717, the system is vulnerable. Inspect network traffic for unexpected nmap commands or unusual port scan activity originating from the ntopng service account.

Impact Analysis

An attacker could gain full control of the ntopng service account, access sensitive data, modify configurations, or use the system as a pivot point to attack other network resources. This applies even in default Docker deployments with nmap bundled and does not require admin privileges to exploit.

Compliance Impact

This vulnerability could lead to unauthorized access and data breaches, violating compliance requirements such as GDPR (data protection) and HIPAA (health information security). It undermines security controls and may result in regulatory penalties due to compromised sensitive data.

Mitigation Strategies

Upgrade ntopng to version 6.7.260717 or later immediately. If upgrading is not possible, disable the vulnerability scan feature in ntopng configuration or restrict access to authenticated admin users only. Remove nmap from the system if bundled with ntopng to prevent command execution.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-82413. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...