Skip to main content

ntopng CVE-2026-82413

| EUVDEUVD-2026-117562 HIGH
Command Injection (CWE-77)
2026-11-05 GitHub_M
8.8
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as non-admin web user (or none if login disabled)
  2. Delivery
    Submit scan_ports with shell metacharacters via scan-schedule REST endpoint
  3. Exploit
    Minute scheduler concatenates value into nmap command
  4. Execution
    popen runs injected command through /bin/sh
  5. Impact
    Arbitrary OS commands execute as ntopng service account

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Command injection prevention
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

nmap must be installed so the vulnerability-scan modules are enabled (vs_utils.is_nmap_installed); this is the default in the official ntop/ntopng Docker image, which bundles nmap, but a bare-metal install requires the operator to have added nmap. By default a valid ntopng session is required and the account may be a non-administrator, because neither scheduling endpoint performs an isAdministrator() check; where ntopng is configured with login disabled the same requests are reachable fully unauthenticated. The injectable value is scan_ports, screened only by validateSingleWord, which blocks spaces and single quotes but permits ; | & $ ` ( ) { } - spaces are reintroduced with ${IFS}. 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; loopback and any live host satisfy this, so it is largely attacker-controllable. The injected command runs as the ntopng service account (root on installs running ntopng as root).

Impact

CVSS 3.1 scores this 8.8 (High) with AV:N/AC:L/PR:L/UI:N and C:H/I:H/A:H, i.e. network-reachable, low-complexity, low-privilege command injection with total impact on the ntopng host. No EPSS score is provided in the input and the CVE is not listed in CISA KEV, so there is no confirmed active exploitation; the vuln.today decision label is 'this_week' rather than act_now/emergency. These signals are partly offset upward by the GitHub Security Advisory (GHSA-9xj6-f266-r46p), which contains a complete, author-labelled runtime-confirmed proof of concept, and by the fact that the official ntop/ntopng Docker image bundles nmap, so a stock containerized deployment is exploitable out of the box. The PR:L rating is a floor, not a ceiling: the description states that deployments with login disabled expose the same endpoints with no authentication at all, and any valid non-administrator session suffices otherwise. Net assessment: a genuine priority (working PoC, default-exploitable containers, service-account RCE) rather than a paper-high CVSS, but tempered by the absence of EPSS data and any evidence of in-the-wild use - treat as prompt-patch, not drop-everything.

Exploit ScenarioDerived

A low-privileged (non-administrator) ntopng web user, or any unauthenticated client where login is disabled, submits a vulnerability-scan request whose scan_ports value carries shell metacharacters (spaces supplied via ${IFS}). ntopng's per-minute scheduler concatenates that value into an nmap command line and runs it through popen, executing the attacker's OS commands as the ntopng service account with no victim interaction. A complete, runtime-confirmed PoC for this is published in the GHSA advisory (demonstrated against 127.0.0.1).

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 1.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 05, 2026

OS command injection in ntopng's vulnerability-scan feature lets any authenticated web user, including a non-administrator account, execute arbitrary commands as the ntopng service account. The REST endpoints that schedule a scan (scripts/lua/rest/v2/add/host/to_scan.lua and .../exec/host/schedule_vulnerability_scan.lua) pass the attacker-supplied scan_ports value through validateSingleWord, which blocks only spaces and single quotes, and the value is later concatenated into an nmap command line executed through popen by the per-minute scheduler; spaces are reintroduced with ${IFS}. The precondition is that nmap be installed (the default in the official ntop/ntopng container image), and deployments running with login disabled expose the same request unauthenticated; the advisory documents a locally reproduced PoC against loopback, and no confirmed exploitation in the wild or CISA KEV listing is indicated for this CVE.

RemediationAI

Vendor-released patch: ntopng 6.7.260717 (and later). Upgrade to that release, which replaces the scan_ports validator in scripts/lua/modules/http_lint.lua from validateSingleWord to validateScanPorts, restricting scan_ports to numeric port lists and ranges only; see advisory GHSA-9xj6-f266-r46p and commit fda269014c6a8a445c2c893cf9d2fad0128364a5. Note the fix removes the injection sink but the advisory does not describe an added isAdministrator() gate, so treat non-admin accounts as still able to schedule scans. Where upgrading is not immediately possible, the documented precondition is the lever: remove or do not install nmap on the ntopng host so vs_utils.is_nmap_installed() disables the scan modules and the vulnerable command path, at the cost of losing the vulnerability-scan/active-scan feature entirely. Additionally, because the endpoints are reachable by any session, avoid running ntopng with login disabled and do not hand out web accounts to untrusted users; restrict network access to the ntopng web UI and REST API so only administrative networks can reach /lua/rest/v2/add/host/to_scan.lua and /lua/rest/v2/exec/host/schedule_vulnerability_scan.lua. Also confirm the service account's privileges, since injected commands run with ntopng's own privileges (root on installations running ntopng as root).

Affected VersionsENISA

ntopng < 6.7.260717

Affected Packages

euvd ntopng fix: 6.7.260717

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

ntopng's active/vulnerability scanning feature shells out to nmap to probe user-supplied hosts. Requests to the two scheduling REST endpoints read host, scan_type and scan_ports directly from request parameters and persist them; http_lint.lua maps scan_ports to validateSingleWord, which rejects only the space character and single quotes and therefore permits ; | & $ ` ( ) { } and other shell metacharacters, with spaces trivially restored via ${IFS}. A per-minute callback (scripts/callbacks/minute/system/vulnerability_scan.lua) pops the queued record and calls vs_utils.nmap_scan_host(), which builds the command by string concatenation (command .. " -p " .. ports) and hands it to ntop.execCmd or ntop.execCmdAsync, both of which reach popen() in src/Utils.cpp and src/JobQueue.cpp, i.e. /bin/sh -c. The result is CWE-77 command injection (the advisory additionally classifies it as CWE-78 and CWE-88) across the web-user-to-OS-shell trust boundary; neither scheduling script performs an isAdministrator() check, so any valid session suffices. 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, which loopback or any live host satisfies. The official fix replaces validateSingleWord for scan_ports with a new validateScanPorts routine that accepts only numeric ports and ranges (1-65535, maximum length 256), closing the injection sink rather than adding an authorization check.

Know when Ntopng gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 8.8 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 8.8 HIGH

Network REST endpoint, metacharacter filter is trivially bypassed with ${IFS} so AC:L; a non-admin session is needed by default so PR:L; command injection yields full host compromise (C/I/A:H).

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Nov 05, 2026 - 17:03 EUVD
CVE Published
Nov 05, 2026 - 16:04 cve.org
HIGH 8.8

DescriptionCVE.org

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.

Technical POC Analysis

CWE-77 (improper neutralization of special elements in a command); the advisory also tags CWE-78 and CWE-88.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

CVE-2026-82413 is a high-severity command injection in ntopng's vulnerability-scan feature, affecting all deployments where nmap is installed (including the official container image). Any authenticated non-admin web user can execute arbitrary commands as the ntopng service account; deployments with login disabled are vulnerable without authentication. Leadership should care because this enables system compromise from a low-privileged network position, potentially exposing sensitive network telemetry and service credentials.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis; interim mitigations include disabling the vulnerability-scan feature, removing nmap, enforcing authentication and restricting access to trusted users, and monitoring for anomalous scan scheduling requests.

Threat Intelligence Overview

EPSS Score
1.1%
Top 35% exploitable
Prevalence
Medium
popular open-source network traffic monitor, common but not ubiquitous
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 1.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

45
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

More in Ntopng

View all
CVE-2014-5464 MEDIUM POC
4.3 Sep 08

Cross-site scripting (XSS) vulnerability in the nDPI traffic classification library in ntopng (aka ntop) before 1.2.1 al

CVE-2017-5473 HIGH POC
8.8 Jan 14

Cross-site request forgery (CSRF) vulnerability in ntopng through 2.4 allows remote attackers to hijack the authenticati

CVE-2018-12520 HIGH POC
8.1 Jul 05

An issue was discovered in ntopng 3.4 before 3.4.180617. Rated high severity (CVSS 8.1), this vulnerability is remotely

CVE-2015-8368 MEDIUM POC
6.0 Dec 17

ntopng (aka ntop) before 2.2 allows remote authenticated users to change the login context and gain privileges via the u

CVE-2026-82412 HIGH
8.8 Sep 21

OS command injection in ntopng prior to 6.7.260717 allows an authenticated non-administrator user to run arbitrary opera

CVE-2026-84990 HIGH
8.8 Sep 21

Authenticated non-administrator users of ntopng prior to 6.7.260718 can list and download complete system-configuration

CVE-2014-4329 MEDIUM POC
4.3 Jun 19

Cross-site scripting (XSS) vulnerability in lua/host_details.lua in ntopng 1.1 allows remote attackers to inject arbitra

CVE-2026-83621 HIGH
8.1 Sep 21

Any authenticated but non-administrator user on ntopng deployments prior to 6.7.260717 can tamper with threat-intelligen

CVE-2017-7458 HIGH
7.5 Jun 26

The NetworkInterface::getHost function in NetworkInterface.cpp in ntopng before 3.0 allows remote attackers to cause a d

CVE-2017-7459 HIGH
7.5 Jun 26

ntopng before 3.0 allows HTTP Response Splitting. Rated high severity (CVSS 7.5), this vulnerability is remotely exploit

CVE-2026-86091 HIGH
7.1 Sep 04

Missing authorization on the host pool bulk-delete REST endpoint in ntopng before 6.7.260717 allows any authenticated lo

CVE-2026-86090 HIGH
7.1 Sep 04

Missing authorization in ntopng's REST v2 API allows any authenticated low-privilege user to permanently delete all conf

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy