Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconReach router admin UI on LAN/Wi-Fi
-
DeliveryAuthenticate with admin credentials
-
ExploitOpen IPv6 WAN PPPoE config page
-
InstallSubmit PPPoE field with shell metacharacters
-
C2Vulnerable handler invokes shell with injected payload
-
ExecuteArbitrary commands run with elevated privileges
-
ImpactPersist on router for interception or pivoting
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques 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 | Exploitation requires (1) network reachability to the router's management interface from the adjacent network - typically the LAN or Wi-Fi segment, per AV:A - and (2) valid administrator credentials for the web UI, per PR:H, since the vulnerable code path is the authenticated IPv6 WAN configuration handler with the connection type set to PPPoE. The attacker must specifically reach the IPv6 PPPoE configuration form and supply a crafted PPPoE parameter; routers configured with a non-PPPoE IPv6 WAN type do not invoke the vulnerable handler during normal operation, though an authenticated admin can switch to PPPoE at will. No user interaction by a second party is required (UI:N), and exploitation is limited to TL-WR940N hardware revision v6 on firmware older than V6_260528. |
| Impact | The provided CVSS 4.0 vector (AV:A/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H) and score of 8.5 paint a coherent picture: an attacker must already be on the adjacent network (LAN/Wi-Fi) and must already hold administrator credentials, but once those preconditions are met, exploitation is reliable and yields full control of the device. EPSS data was not provided, the CVE is not listed in CISA KEV, and no public PoC is referenced, so this is best treated as a credible post-authentication device-takeover bug rather than an internet-spray threat. The realistic risk concentrates on routers exposed to untrusted internal users, those with weak/default admin passwords, those whose admin UI is reachable from the WAN, and as a second-stage capability after credential phishing or CSRF against the admin session - situations where the PR:H barrier is effectively lowered. |
| Exploit ScenarioDerived | An attacker who has obtained the router's administrator password - for example by guessing a default/weak credential, reusing leaked credentials, or coercing an authenticated admin's browser via CSRF on the LAN - logs into the TL-WR940N v6 web UI, navigates to the IPv6 WAN connection page, selects PPPoE, and submits a connection parameter (such as the service name or username) containing shell metacharacters followed by an arbitrary command. The vulnerable handler concatenates the value into a system command, the shell executes the injected payload with the router's elevated privileges, and the attacker gains a persistent foothold on the device suitable for DNS hijacking, traffic interception, or pivoting deeper into the network. No public PoC has been published at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 16, 2026
Authenticated OS command injection in the TP-Link TL-WR940N v6 router's IPv6 PPPoE configuration handler allows administrators to break out of the configuration parser and execute arbitrary shell commands with elevated (typically root) privileges on the device. The flaw was reported by TP-Link itself and a firmware fix is available; no public exploit identified at time of analysis. Risk is bounded by the CVSS 4.0 vector requiring adjacent-network access and high privileges (AV:A/PR:H), but post-exploitation impact on confidentiality, integrity, and availability is rated High.
RemediationAI
Vendor-released patch: TL-WR940N v6 firmware build V6_260528 (or later), available from https://www.tp-link.com/en/support/download/tl-wr940n/v6/#Firmware and https://www.tp-link.com/us/support/download/tl-wr940n/v6/#Firmware, with vendor context at https://www.tp-link.com/us/support/faq/5131/ - upgrade affected devices to this build as the primary remediation. Until the firmware can be applied, change the default/weak admin password to a long unique secret and disable remote (WAN-side) management of the web UI so that only trusted LAN hosts can reach the configuration interface, accepting the trade-off that legitimate remote administration will require a VPN. Where IPv6 PPPoE is not in use, leave the IPv6 WAN connection type set to something other than PPPoE so the vulnerable handler is not invoked, noting that this is a workaround rather than a fix and does not protect against an admin who can change the WAN configuration. On networks where guests or untrusted users share the LAN/Wi-Fi, segment the router's management VLAN/SSID away from those users to remove the AV:A precondition.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The TL-WR940N v6 is a consumer/SOHO wireless N router whose web management interface accepts IPv6 PPPoE connection parameters (typically service name, username, password, and related connection fields) that are passed to underlying system utilities - likely via shell invocation in the embedded Linux/BusyBox environment used by TP-Link's firmware. CWE-78 (Improper Neutralization of Special Elements used in an OS Command) indicates that one or more of these PPPoE input fields are concatenated into a command string without escaping shell metacharacters such as ';', '|', '`', or '$()', so a crafted value is interpreted as additional commands by the shell. The affected CPE cpe:2.3:a:tp-link_systems_inc.:tl-wr940n_v6:*:*:*:*:*:*:*:* identifies hardware revision v6 specifically; earlier hardware revisions of the TL-WR940N run different firmware images and are not covered by this advisory.
Know when Tl Wr940N V6 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
CVSS:4.0/AV:A/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Adjacent LAN/Wi-Fi reach to admin UI (AV:A), low complexity once authenticated (AC:L), administrator login required (PR:H), no user interaction, and full device compromise gives C/I/A:H.
Primary rating from Vendor (TPLink).
CVSS VectorVendor: TPLink
DescriptionCVE.org
An authenticated OS command injection vulnerability exists in the IPv6 PPPoE configuration handler in TL-WR940N v6 due to improper sanitization of user input. An attacker with administrative access may exploit this issue to execute arbitrary system commands with elevated privileges.
Executive ViewAI
A vulnerability in TP-Link TL-WR940N v6 routers allows authenticated administrative users to execute arbitrary commands with root privileges on network infrastructure. Organizations deploying this router model face potential compromise of network confidentiality, integrity, and availability. This risk particularly affects organizations where administrative access is shared, delegated, or where administrative credentials may be compromised.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
More in Tl Wr940N V6
View allRemote code execution and denial-of-service in the TP-Link TL-WR940N v6 router stem from a stack-based buffer overflow i
Authenticated OS command injection in the TP-Link TL-WR940N v6 router's BigPond Cable (BPA) WAN configuration module all
EUVD-2026-37499
NVD
CVE.org
EPSS
Vulnrichment
GitHub PoC
Exploit-DB