8.5high
Authenticated Command Injection on TP-Link TL-WR802N, TL-WR841N and TL-WR840N
- Severity
- 8.5high CVSS:4.0 by TPLink
- Exploit likelihood
- 1.93% (higher than 81% of CVEs)
- Published
- Last changed
- 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
| Product or package | Versions | Reported by |
|---|---|---|
| TP-Link Systems Inc. TL-WR802N v4 | before V4_260304 | CVE List |
| TP-Link Systems Inc. TL-WR841N v14 | before V14_260303 | CVE List |
| TP Link Systems Inc. TL-WR840N v6 | before V6_260304 | CVE List |
| tp-link tl-wr802n_firmware | before 260304 | NVD |
| tp-link tl-wr841n_firmware | before 260303 | NVD |
| tp-link tl-wr840n_firmware | before 260304 | NVD |
All scores
| TPLink | 8.5high CVSS:4.0 | CVSS:4.0/AV:A/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| NVD | 6.8medium CVSS:3.1 | CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.
What each source says
CVE List
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.
NVD (es)
Una vulnerabilidad de inyección de comandos fue identificada en TP-Link TL-WR802N v4, TL-WR841N v14 y TL-WR840N v6 debido a la neutralización inadecuada de elementos especiales utilizados en un comando del sistema operativo. La función de importación de configuración del router permite a un atacante autenticado cargar un archivo de configuración manipulado que resulta en la ejecución de comandos del sistema operativo con privilegios de root durante el procesamiento de activación de puertos. La explotación exitosa permite a un atacante autenticado ejecutar comandos del sistema con privilegios de root, lo que lleva a un compromiso total del dispositivo.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-3227 changed 2026-07-01 | CVE Terms of Use |
| NVD | CVE-2026-3227 changed 2026-07-01 | Public domain |