Medium severity · published Mar 16, 2026
CVE-2026-3227
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
6.8
CVSS
2%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Attack vector
Adjacent
Complexity
Low
Privileges
High
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)2.0% · higher than 81% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
TF
Tl-wr802n Firmware · Tp-link
before 260304 · source: NVD
TF
Tl-wr840n Firmware · Tp-link
before 260304 · source: NVD
TF
Tl-wr841n Firmware · Tp-link
before 260303 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-3227
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-3227
Product
https://www.tp-link.com/en/support/download/tl-wr802n/v4/#Firmware
Product
https://www.tp-link.com/en/support/download/tl-wr840n/v6/#Firmware
Product
https://www.tp-link.com/en/support/download/tl-wr841n/v14/#Firmware
Product
https://www.tp-link.com/us/support/download/tl-wr802n/v4/#Firmware
Product
https://www.tp-link.com/us/support/download/tl-wr841n/v14/#Firmware
Vendor Advisory
https://www.tp-link.com/us/support/faq/5018/
More from Tl-wr802n Firmware
8.8
CVE-2023-36489
Multiple TP-LINK products allow a network-adjacent unauthenticated attacker to execute arbitrary OS commands
8.8
CVE-2021-4144
TP-Link wifi router TL-WR802N V4(JP), with firmware version prior to 211202, is vulnerable to OS command injection
8.1
CVE-2021-29302
TP-Link TL-WR802N(US), Archer_C50v5_US v4_200 <= 2020.06 contains a buffer overflow vulnerability in the httpd process in the body message
6.1
CVE-2021-3275
Unauthenticated stored cross-site scripting (XSS) exists in multiple TP-Link products including WIFI Routers (Wireless AC routers), Access Points, ADSL + DSL Gateways and Routers,…
