Skip to content
OpenAdvisories
High · 8.5 Public exploit CVE-2026-3227 EUVD-2026-12171GHSA-7vvh-gmhq-282v

Authenticated Command Injection on TP-Link TL-WR802N, TL-WR841N and TL-WR840N

Published Mar 13, 2026 · Updated Jul 1, 2026 · Assigned by TPLink

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

VendorProductAffectedFixed
TP-Link Systems TL-WR802N v4 < V4_260304 V4_260304
TP-Link Systems TL-WR841N v14 < V14_260303 V14_260303
TP Link Systems TL-WR840N v6 < V6_260304 V6_260304

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

References