CVE-2026-3227
JSON

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 packageVersionsReported by
TP-Link Systems Inc. TL-WR802N v4before V4_260304CVE List
TP-Link Systems Inc. TL-WR841N v14before V14_260303CVE List
TP Link Systems Inc. TL-WR840N v6before V6_260304CVE List
tp-link tl-wr802n_firmwarebefore 260304NVD
tp-link tl-wr841n_firmwarebefore 260303NVD
tp-link tl-wr840n_firmwarebefore 260304NVD

All scores

TPLink8.5high CVSS:4.0CVSS:4.0/AV:A/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
NVD6.8medium CVSS:3.1CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-78

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

SourceRecordLicence
CVE ListCVE-2026-3227 changed 2026-07-01CVE Terms of Use
NVDCVE-2026-3227 changed 2026-07-01Public domain