Automated Threat Modeling

Brief Summary: Tenda RX3 CVE-2026-136549 Root Command Injection in SetRemoteWebCfg (with PoC and Detection)

A brief summary of CVE-2026-136549, a root command injection in the Tenda RX3 router's /goform/SetRemoteWebCfg endpoint. Includes the public proof of concept and custom detection guidance.

CVE Analysis

8 min read

Gaurav Sarraf
Gaurav Sarraf

2026-11-24

Brief Summary: Tenda RX3 CVE-2026-136549 Root Command Injection in SetRemoteWebCfg (with PoC and Detection)

Introduction

A single HTTP POST to a Tenda RX3 router can drop a root shell through its remote management configuration endpoint. A parameter meant to hold an IP address travels through NVRAM storage and into an iptables command, where a semicolon is all it takes to break out and run arbitrary commands as root.

The Tenda RX3 is an AX1800 dual band Wi-Fi 6 consumer and SOHO router. Tenda (Shenzhen Tenda Technology Co., Ltd.) is a networking vendor founded in 1999, with distribution the company says reaches more than 100 countries. The RX3 matters here because it is widely deployed consumer edge equipment, and Tenda has officially designated the model as end of life, which shapes the response options defenders have.

Technical Information

This is a stored OS command injection. The dangerous value does not reach the command sink in the same function that receives it. It crosses a configuration storage boundary first, which is why validating only the inbound HTTP request misses part of the picture.

Root cause

In the httpd binary, the formSetSafeWanWebMan function handles POST requests to /goform/SetRemoteWebCfg. The attacker controlled remoteIp parameter is written to the NVRAM key wans.wanwebip without sanitization.

Later, in a separate process, the netctrl binary's advance_save_wan_access_cfg function retrieves that value via GetValue("wans.wanwebip") and passes it directly into a format string used with doSystemCmd:

doSystemCmd("iptables -t nat -A %s -p tcp -d %s -s %s ...")

doSystemCmd ultimately invokes system(). Because the stored remoteIp value is inserted into this shell command without neutralization, any shell metacharacters it contains are interpreted as syntax. NVD associates the issue with CWE-74 (improper neutralization, injection) and CWE-77 (command injection). The researcher's disclosure includes Ghidra screenshots showing the unsanitized data flow from the HTTP handler through NVRAM to the command sink.

Authentication and the LAN bypass

The endpoint nominally requires authentication. The researcher documents a companion authentication bypass that makes unauthenticated exploitation from the LAN possible: R7WebsSecurityHandler runs strstr() across the entire URL looking for the string reasy-ui-1.0.3.js. Appending ?reasy-ui-1.0.3.js to any /goform/ request therefore satisfies that check and skips authentication. So a login requirement on the endpoint, on its own, does not protect against the documented chain.

Attack flow

  1. The attacker crafts a POST to /goform/SetRemoteWebCfg from the LAN, appending ?reasy-ui-1.0.3.js to the URL to trigger the authentication bypass.
  2. The body sets remoteWebEn=1 and places a shell payload in the remoteIp field, for example 1.2.3.4;id>/tmp/pwned.
  3. formSetSafeWanWebMan stores the unsanitized remoteIp value into the NVRAM key wans.wanwebip.
  4. When the WAN access configuration is applied, netctrl's advance_save_wan_access_cfg reads wans.wanwebip and builds the iptables command.
  5. The semicolon breaks out of the intended iptables command, and the injected command executes via system() with root privileges.

Proof of Concept

A public proof of concept exists and is verified. VulDB (VDB-443407) and CIRCL Vulnerability-Lookup both reference the same GitHub resource, tag it as an exploit, and rate exploit maturity as Proof of Concept (E:P / E:POC) with a CVSS 4.0 base score of 10.0 (Critical).

The published PoC injects a command via the remoteIp field using ;id>/tmp/pwned:

curl -i -X POST "http://192.168.0.1/goform/SetRemoteWebCfg?reasy-ui-1.0.3.js" -d "remoteWebEn=1&remoteIp=1.2.3.4;id>/tmp/pwned&remotePort=8080"

When the injected WAN access configuration is applied, the semicolon delimited payload breaks out of the intended iptables command and executes id with root privileges, writing its output to /tmp/pwned. The disclosure includes Ghidra screenshots of the unsanitized data flow and a demonstration video confirming execution. The PoC was reviewed and verified against the source material but not executed in this assessment.

Detection Methods

No vendor or community detection content has been published for this flaw. CVETodo's exposure check on 25 November 2026 lists detection rules as None published (Sigma / Suricata / YARA / Nuclei). VulDB has a CTI indicators page for VDB-443407, but it requires a login, so it cannot be treated as public detection material. Defenders need to write their own detections, and the researcher's write up explains the full path from HTTP request to root shell clearly enough to do that.

Understand where the command actually runs

Three facts drive detection. First, the HTTP request is the only point where the payload is visible in plaintext on the wire, so it is the best place to catch the attack. Second, the command does not run in the web server; it runs later inside netctrl. If you can see processes on the device, look for shell children of netctrl, not of httpd. Third, the payload stays in NVRAM, so inspecting the configuration can reveal a compromise after the fact.

Network and HTTP inspection

The highest value check is validating that remoteIp really is an IPv4 address. Any POST to /goform/SetRemoteWebCfg whose remoteIp value contains anything other than digits and dots should be treated as hostile. That includes command separators (;, |, &&), command substitution (backticks, $(), redirection (>), spaces, or URL encoded versions of these. The other body fields in the PoC, remoteWebEn and remotePort, help distinguish this endpoint's traffic from other /goform/ calls. Decode URL encoding in the POST body before matching, otherwise an attacker can slip past a naive literal match by percent encoding the separator.

The authentication bypass marker

A legitimate browser fetches the JavaScript file reasy-ui-1.0.3.js by its own path. It has no reason to place that filename in the query string of a /goform/ handler. Any request where reasy-ui-1.0.3.js appears in the query string of a /goform/* URL is very likely an exploit attempt, and this marker covers every bug in the chain. Pairing a bypass marker on /goform/SetRemoteWebCfg with a non IP remoteIp value amounts to near certain confirmation of unauthenticated exploitation.

Visibility placement

The researcher describes exploitation from the LAN, and LAN to router management traffic often never passes a perimeter IDS. To see these requests you may need a sensor on a switch mirror port in front of the router's LAN interface, or you may need to rely on the device's own logs. If remote (WAN side) management is enabled, perimeter sensors and firewall logs for inbound connections to the management port also matter.

Host and configuration artifacts

Because the payload is saved to wans.wanwebip, review device configuration exports or NVRAM contents for that key. A value that is not a plain IP address is a compromise indicator even long after the original request. The exploit sets remoteWebEn=1, so investigate if remote web management suddenly turns on or the allowed remote IP changes with no administrator action. The public PoC writes id output to /tmp/pwned, which is useful for lab validation, but real attackers will use different payloads, so do not rely on it as an in the wild IoC.

Post exploitation behavior

The injected command runs as root, so treat the router itself as a possible threat. Flag outbound connections the router starts on its own: downloads from unfamiliar hosts, connections to unusual ports, or scanning of internal hosts. A home or SOHO router rarely does any of that legitimately.

Affected Systems and Versions

  • Product: Tenda RX3 (AX1800 Dual Band Gigabit Wi-Fi 6 Router)
  • Firmware: 16.03.13.11_multi (V16.03.13.11)
  • Affected endpoint: /goform/SetRemoteWebCfg, handled by formSetSafeWanWebMan
  • Lifecycle: Tenda labels the RX3 as end of life, and no fixed firmware version is established by the reviewed sources.

Vendor Security History

Tenda's history shows materially different support outcomes across products:

  • CVE-2020-10987 (Tenda AC15): remote execution of system commands through the deviceName POST parameter; listed in the CISA Known Exploited Vulnerabilities catalog, added November 3, 2021. Ransomware use is unknown.
  • CVE-2025-13207 and CVE-2024-24481 (Tenda 4G03 Pro): authenticated command execution; CERT/CC's November 20, 2025 note reports root execution and total device control, with no fixed firmware and no vendor statement at publication.
  • CVE-2026-11405 (several Tenda firmware versions): CERT/CC describes an undocumented authentication backdoor; the note records initial coordination difficulties and later records Tenda's statement that patched firmware was released. The vendor notice does not name RX3.

These cases do not establish that all Tenda products share the same flaw, patch status, or exploitation history. None of these outcomes transfers automatically to the RX3.

References

Detect & fix
what others miss

Works with
  • GitHub
  • GitLab
  • Bitbucket
  • Azure DevOps Services
  • Gerrit
  • CVS
  • Jira
  • Linear
  • Slack
  • Security Compass
Explore integrations
Security magnifying glass visualization