CVE-2026-3227

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

8.5 high EPSS 1.93%

Published 13 Mar 2026 Updated 1 Jul 2026 CNA: 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.

Severity (CVSS)

8.5 high CVSS 4.0 from TPLink (CNA)
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
Attack vector
adjacent: the attacker has to be on the same local network or link
Attack complexity
low: an attack works without special conditions
Attack requirements
none: an attack works without special conditions on the target
Privileges required
high: the attacker needs an administrative account
User interaction
none: nobody has to click or open anything
Impact on the vulnerable system
confidentiality high, integrity high, availability high: what an attacker can read, change or stop in the vulnerable component
Impact on other systems
confidentiality none, integrity none, availability none: what an attacker can read, change or stop beyond it

Exploitation

EPSS 1.93%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 80.6% of all scored CVEs. Scores of 30 Nov 2026.

The assessment of CISA (SSVC, 1 Jul 2026):

Exploitation
poc: a proof of concept is public
Automatable
no: each attack takes manual steps
Technical impact
total: full control of the component or of its data

Weakness

  • CWE-78 Improper Neutralization of Special Elements used in an OS Command

Affected products

As the CNA lists them.

ProductVersions
TL-WR802N v4
affected before V4_260304
Other versions: unaffected
TL-WR841N v14
affected before V14_260303
Other versions: unaffected
TL-WR840N v6
affected before V6_260304
Other versions: unaffected

Is my server affected?

This CVE is in TL-WR802N v4 of TP-Link Systems Inc., which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.

Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.

References

Advisories

Patches and release notes

Source: the record CVE-2026-3227 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.