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.
Metrics
CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| TP-Link Systems Inc. | TL-WR802N v4 | < V4_260304 |
| TP-Link Systems Inc. | TL-WR841N v14 | < V14_260303 |
| TP Link Systems Inc. | TL-WR840N v6 | < V6_260304 |
References
- https://www.tp-link.com/en/support/download/tl-wr802n/v4/#FirmwareProduct
- https://www.tp-link.com/en/support/download/tl-wr840n/v6/#FirmwareProduct
- https://www.tp-link.com/en/support/download/tl-wr841n/v14/#FirmwareProduct
- https://www.tp-link.com/us/support/download/tl-wr802n/v4/#FirmwareProduct
- https://www.tp-link.com/us/support/download/tl-wr841n/v14/#FirmwareProduct
- https://www.tp-link.com/us/support/faq/5018/Vendor Advisory
Timeline
- Published
- Mar 16, 2026
- Last modified
- Jul 1, 2026
- NVD status
- Analyzed