CVE-2026-3227Authenticated 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.
What to do
None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
What the vendor says
As published in the CVE record by TPLink, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- TP-Link Systems Inc. TL-WR802N v4: affected: before V4_260304
- TP-Link Systems Inc. TL-WR841N v14: affected: before V14_260303
- TP Link Systems Inc. TL-WR840N v6: affected: before V6_260304
Vendor advisories:
- https://www.tp-link.com/en/support/download/tl-wr802n/v4/#Firmware (patch)
- https://www.tp-link.com/us/support/download/tl-wr802n/v4/#Firmware (patch)
- https://www.tp-link.com/en/support/download/tl-wr841n/v14/#Firmware (patch)
- https://www.tp-link.com/us/support/download/tl-wr841n/v14/#Firmware (patch)
- https://www.tp-link.com/en/support/download/tl-wr840n/v6/#Firmware (patch)
- https://www.tp-link.com/us/support/faq/5018/ (vendor-advisory)
References
- https://www.tp-link.com/en/support/download/tl-wr802n/v4/#Firmware
- https://www.tp-link.com/us/support/download/tl-wr802n/v4/#Firmware
- https://www.tp-link.com/en/support/download/tl-wr841n/v14/#Firmware
- https://www.tp-link.com/us/support/download/tl-wr841n/v14/#Firmware
- https://www.tp-link.com/en/support/download/tl-wr840n/v6/#Firmware
- https://www.tp-link.com/us/support/faq/5018/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.