PoC Monitor
← All CVEs
CVE-2026-3227published 13 Mar 2026 21:38 UTCData: JSON · API

TP-Link Systems Inc. TL-WR802N v4

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

Edge device · Router / network deviceknown edge product: TP-Link Systems Inc. TL-WR802N v4 Authenticated Command Injection on (high confidence)

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.

First public PoC 104 daysafter publication · 25 Jun 2026
Public PoCs11 on GitHub
CVSS8.5high · scored by CNA · CWE-78
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

TP-Link Systems Inc. TL-WR802N v4
  • < V4_260304

Fixed in V4_260304

TP-Link Systems Inc. TL-WR841N v14
  • < V14_260303

Fixed in V14_260303

TP Link Systems Inc. TL-WR840N v6
  • < V6_260304

Fixed in V6_260304

Mitigation

Upgrade TL-WR802N v4 to V4_260304 or later.

Upgrade TL-WR841N v14 to V14_260303 or later.

Upgrade TL-WR840N v6 to V6_260304 or later.

References

3 more

Timeline

Days relative to CVE publication
t=0+14+28+42+56+70+84+98CVE published13 Mar 2026 · t = 0First public PoC25 Jun 2026 · t+104d

First public PoC 104 days after publication; not in CISA KEV. First PoC: do4choo/CVE-2026-3227-TP-Link-authenticated-RCE (created 25 Jun 2026, found by us: backfilled).

PoC repositories

Found on GitHub.

1 PoCs

PoCs 1
RepositoryCreatedStarsAssessment
do4choo/CVE-2026-3227-TP-Link-authenticated-RCE 25 Jun 2026 +104 d 44 PoC

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

PoC characteristics

What to hunt for in your logs · from 1 PoC repo

POST /cgi/confup

Key headers
Cookie: JSESSIONID={var} Origin: http://192.168.0.1 Referer: http://192.168.0.1/mainFrame.htm
Body markers
filename=@exploit.bin;type=application/octet-stream in multipart/form-data
PoC User-Agent
Mozilla/5.0
Seen in
1 repo: do4choo/CVE-2026-3227-TP-Link-authenticated-RCE
Evidence
do4choo/CVE-2026-3227-TP-Link-authenticated-RCE/README.md:82

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

POST /cgi/confup
(?i)^/cgi/confup(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

POST /cgi/confup
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-3227 TP-Link Systems Inc. TL-WR802N v4 exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/cgi/confup"; http.header; content:"Cookie: JSESSIONID="; nocase; http.header; content:"Origin: http://192.168.0.1"; nocase; http.header; content:"Referer: http://192.168.0.1/mainFrame.htm"; nocase; http.request_body; content:"filename=@exploit.bin|3b|type=application/octet-stream"; reference:url,poc.griffinguard.io/cve/CVE-2026-3227; classtype:web-application-attack; sid:9582465; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

POST /cgi/confup
title: TP-Link Systems Inc. TL-WR802N v4 exploit attempt (CVE-2026-3227)
id: gg-pocmon-cve-2026-3227-9582465
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-3227. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-3227
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/cgi/confup'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.3227