8.5
HIGH CVSS 4.0
CVE-2026-3227
Authenticated Command Injection on TP-Link TL-WR802N, TL-WR841N and TL-WR840N
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.

INFO

Published Date :

March 16, 2026, 2:19 p.m.

Last Modified :

April 7, 2026, 1:07 a.m.

Remotely Exploit :

No

Source :

f23511db-6c3e-4e32-a477-6aa17d310630
Affected Products

The following products are affected by CVE-2026-3227 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Tp-link tl-wr802n_firmware
2 Tp-link tl-wr841n_firmware
3 Tp-link tl-wr840n_firmware
4 Tp-link tl-wr841n
5 Tp-link tl-wr840n
6 Tp-link tl-wr802n
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 MEDIUM [email protected]
CVSS 4.0 HIGH f23511db-6c3e-4e32-a477-6aa17d310630
CVSS 4.0 HIGH f23511db-6c3e-4e32-a477-6aa17d310630
Solution
Update router firmware to patch command injection vulnerability and prevent unauthorized command execution.
  • Update router firmware to the latest version.
  • Avoid uploading untrusted configuration files.
  • Review router security configurations.
References to Advisories, Solutions, and Tools
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-3227 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-3227 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-3227 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Apr. 07, 2026

    Action Type Old Value New Value
    Added CVSS V3.1 AV:A/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
    Added CPE Configuration AND OR *cpe:2.3:o:tp-link:tl-wr802n_firmware:*:*:*:*:*:*:*:* versions up to (excluding) 260304 OR cpe:2.3:h:tp-link:tl-wr802n:v4:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:o:tp-link:tl-wr841n_firmware:*:*:*:*:*:*:*:* versions up to (excluding) 260303 OR cpe:2.3:h:tp-link:tl-wr841n:14:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:o:tp-link:tl-wr840n_firmware:*:*:*:*:*:*:*:* versions up to (excluding) 260304 OR cpe:2.3:h:tp-link:tl-wr840n:6:*:*:*:*:*:*:*
    Added Reference Type TPLink: https://www.tp-link.com/en/support/download/tl-wr802n/v4/#Firmware Types: Product
    Added Reference Type TPLink: https://www.tp-link.com/en/support/download/tl-wr840n/v6/#Firmware Types: Product
    Added Reference Type TPLink: https://www.tp-link.com/en/support/download/tl-wr841n/v14/#Firmware Types: Product
    Added Reference Type TPLink: https://www.tp-link.com/us/support/download/tl-wr802n/v4/#Firmware Types: Product
    Added Reference Type TPLink: https://www.tp-link.com/us/support/download/tl-wr841n/v14/#Firmware Types: Product
    Added Reference Type TPLink: https://www.tp-link.com/us/support/faq/5018/ Types: Vendor Advisory
  • New CVE Received by f23511db-6c3e-4e32-a477-6aa17d310630

    Mar. 16, 2026

    Action Type Old Value New Value
    Added 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.
    Added CVSS V4.0 AV:A/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
    Added CWE CWE-78
    Added Reference https://www.tp-link.com/en/support/download/tl-wr802n/v4/#Firmware
    Added Reference https://www.tp-link.com/en/support/download/tl-wr840n/v6/#Firmware
    Added Reference https://www.tp-link.com/en/support/download/tl-wr841n/v14/#Firmware
    Added Reference https://www.tp-link.com/us/support/download/tl-wr802n/v4/#Firmware
    Added Reference https://www.tp-link.com/us/support/download/tl-wr841n/v14/#Firmware
    Added Reference https://www.tp-link.com/us/support/faq/5018/
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.