# CVE-2026-3227: Authenticated Command Injection on TP-Link TL-WR802N, TL-WR841N and TL-WR840N

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.5
- **CVSS:** 8.5 (v4.0, 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`
- **CVSS metrics:** Attack vector: Adjacent network; Attack complexity: Low; Attack requirements: None; Privileges required: High; User interaction: None; Confidentiality impact: High; Integrity impact: High; Availability impact: High; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 1.93% (percentile 81, 2026-11-26)
- **CWE:** CWE-78
- **Published:** 2026-03-13T21:38:31.666Z
- **Modified:** 2026-07-01T18:16:32.707Z

## Who should check

- Anyone running TP-Link Systems Inc. TL-WR802N v4 \< V4\_260304
- Anyone running TP-Link Systems Inc. TL-WR841N v14 \< V14\_260303
- Anyone running TP Link Systems Inc. TL-WR840N v6 \< V6\_260304

## 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 and fixed versions

- TP-Link Systems Inc. TL-WR802N v4: \< V4\_260304 (cvelist)
- TP-Link Systems Inc. TL-WR841N v14: \< V14\_260303 (cvelist)
- TP Link Systems Inc. TL-WR840N v6: \< V6\_260304 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-3227. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-3227.md
Affected: TP-Link Systems Inc. TL-WR802N v4 < V4_260304; TP-Link Systems Inc. TL-WR841N v14 < V14_260303; TP Link Systems Inc. TL-WR840N v6 < V6_260304
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for TP-Link Systems Inc. TL-WR802N v4, TP-Link Systems Inc. TL-WR841N v14, TP Link Systems Inc. TL-WR840N v6: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-3227 being exploited?

There is no confirmed exploitation: CVE-2026-3227 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.93% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-3227?

High: CVSS 8.5 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-3227?

TP-Link Systems Inc. TL-WR802N v4 \< V4\_260304; TP-Link Systems Inc. TL-WR841N v14 \< V14\_260303; TP Link Systems Inc. TL-WR840N v6 \< V6\_260304.

### Is there a fix for CVE-2026-3227?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-3227?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://www.tp-link.com/us/support/faq/5018/>
- patch: <https://www.tp-link.com/en/support/download/tl-wr802n/v4/#Firmware>
- patch: <https://www.tp-link.com/us/support/download/tl-wr802n/v4/#Firmware>
- patch: <https://www.tp-link.com/en/support/download/tl-wr841n/v14/#Firmware>
- patch: <https://www.tp-link.com/us/support/download/tl-wr841n/v14/#Firmware>
- patch: <https://www.tp-link.com/en/support/download/tl-wr840n/v6/#Firmware>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-3227>

HTML: <https://flawdb.com/CVE-2026-3227> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-3227>
