CVE-2026-3227: Authenticated Command Injection on TP-Link TL-WR802N, TL-WR841N and TL-WR840N
A command injection vulnerability was identified in TP-Link TL-WR802N v4, TL-WR841N v14, and TL-WR840N v6 due to improper neutralization of special elements used in an OS command. In the router configuration import function allows an authenticated attacker to upload a crafted configuration file that results in execution of OS commands with root privileges during port-trigger processing.
Successful exploitation allows an authenticated attacker to execute system commands with root privileges, leading to full device compromise.
Security readout for executives and security teams
Plain-English summary
CVE-2026-3227 lets an authenticated attacker fully take over certain TP-Link routers by importing a malicious configuration file. The attacker already needs router access, but successful exploitation runs commands as root, making the device fully compromised.
Executive priority
Prioritize affected routers because compromise gives root-level control of network edge devices. Urgency is highest where administrative access is shared, weakly controlled, or reachable from less trusted networks.
Technical view
The issue is CWE-78 command injection in the configuration import function of TP-Link TL-WR802N v4, TL-WR841N v14, and TL-WR840N v6. Crafted configuration data is processed during port-trigger handling and can execute OS commands with root privileges. CVSS 4.0 score is 8.5 high.
Likely exposure
Exposure is limited to the listed TP-Link hardware versions where administrative access and configuration import are available. The CVSS vector indicates adjacent-network attack scope and high privileges required.
Exploitation context
The source bundle does not show CISA KEV listing or cited evidence of active exploitation. Exploitation requires authenticated access and a crafted configuration import, but impact is full device compromise if successful.
Researcher notes
Evidence supports authenticated command injection through configuration import and port-trigger processing. The bundle identifies patch references but does not include firmware version thresholds or proof of active exploitation. Avoid assuming other TP-Link models are affected.
Mitigation direction
Apply the relevant TP-Link firmware update for the exact model, region, and hardware version.
Review TP-Link FAQ 5018 and model firmware pages for vendor-specific guidance.
Do not import configuration files from untrusted or unaudited sources.
Restrict router administrative access to trusted administrators while updates are pending.
Validation and detection
Inventory TP-Link TL-WR802N v4, TL-WR841N v14, and TL-WR840N v6 devices.
Check each device firmware against the appropriate TP-Link download page.
Confirm administrative access is limited to authorized users only.
Review change history for unexpected configuration imports on affected routers.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · medium confidence lookup
CWE-78: Command execution behavior lookup
Command injection weaknesses can lead defenders to review execution techniques and command interpreter telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
1CVSS vectors
3Timeline events
1ADP providers
7Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: pocAutomatable: noTechnical Impact: total
CVSS vector scores
1 official score
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-78 · source CWE mapping
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.