What’s Vulnerable › Vulnerabilities
CVE-2026-3227: Authenticated Command Injection on TP-Link TL-WR802N, TL-WR841N and TL-WR840N
- Severity: medium (CVSS 6.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.0% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-03-16 · updated 2026-07-01
- Weakness: CWE-78
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.
Affected products
- TP-LINK TL-WR802N V4(JP): before 260304 — fixed in 260304
- TP-Link Tl-Wr840N Firmware: before 260304 — fixed in 260304
- TP-Link TL-WR841N: before 260303 — fixed in 260303
How to fix
Upgrade to a fixed version: TP-LINK TL-WR802N V4(JP) 260304; TP-Link Tl-Wr840N Firmware 260304; TP-Link TL-WR841N 260303. Check the vendor advisory for mitigations.
References
- https://www.tp-link.com/en/support/download/tl-wr802n/v4/#Firmware
- https://www.tp-link.com/en/support/download/tl-wr840n/v6/#Firmware
- https://www.tp-link.com/en/support/download/tl-wr841n/v14/#Firmware
- https://www.tp-link.com/us/support/download/tl-wr802n/v4/#Firmware
- https://www.tp-link.com/us/support/download/tl-wr841n/v14/#Firmware
- https://www.tp-link.com/us/support/faq/5018/
Get alerted when CVE-2026-3227 or the next vulnerability affects your stack