CVE-2026-3227 PUBLISHED

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

Assigner: TPLink
Reserved: 25.02.2026 Published: 13.03.2026 Updated: 13.03.2026

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.<br /> Successful exploitation allows an authenticated attacker to execute system commands with root privileges, leading to full device compromise.

Metrics

CVSS Vector: 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
CVSS Score: 8.5

Product Status

Vendor TP-Link Systems Inc.
Product TL-WR802N v4
Versions Default: unaffected
  • affected from 0 to V4_260304 (excl.)
Vendor TP-Link Systems Inc.
Product TL-WR841N v14
Versions Default: unaffected
  • affected from 0 to V14_260303 (excl.)
Vendor TP Link Systems Inc.
Product TL-WR840N v6
Versions Default: unaffected
  • affected from 0 to V6_260304 (excl.)

References

Problem Types

  • CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') CWE

Impacts

  • CAPEC-88 OS Command Injection