CVE-2021-31755: Remote Code Execution in Tenda AC11 /goform/setmac
- Vendor
- Tenda
CVE-2021-31755 is a stack-based buffer overflow vulnerability affecting Tenda AC11 routers running firmware through 02.03.01.104_CN. The flaw is present in the web management handler exposed at the /goform/setmac endpoint, where insufficient bounds checking on attacker-controlled POST data allows a crafted request to overflow a stack buffer. Successful exploitation can corrupt control data on the stack and achieve arbitrary code execution on the device. The issue is remotely reachable through the router’s management interface and has been reported as exploited in the wild, particularly when remote administration is enabled.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows arbitrary code execution on the affected router. An attacker can fully compromise the device, alter configuration, intercept or redirect network traffic, use the router as a foothold for further attacks, and potentially conscript it into botnet activity or other malicious operations. Because the vulnerable component is part of the management interface, compromise can result in loss of confidentiality, integrity, and availability of the device and the network traffic it handles.
Mitigation
If you can’t patch tonight, do this now.
Disable remote administration unless it is strictly required. Restrict access to the router management interface to trusted internal hosts or a dedicated management network, and block administrative access from untrusted networks with firewall rules or upstream ACLs. Monitor for abnormal configuration changes or unexpected management requests to the vulnerable endpoint. Where feasible, place the device behind additional network controls to prevent direct exposure of the web interface to the internet.
Remediation
Patch, then assume compromise.
Upgrade affected Tenda AC11 devices to a fixed firmware release later than 02.03.01.104_CN if a vendor patch is available. If no patched firmware is available, replace the affected device with a supported model receiving security updates. Verify that internet exposure of the management interface is removed after remediation and review device configuration for signs of unauthorized modification.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Frequently asked questions
- Is CVE-2021-31755 exploited in the wild?
- Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Nov 3, 2021.
- Is there a public exploit for CVE-2021-31755?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2021-31755.
- Is there a patch for CVE-2021-31755?
- Upgrade affected Tenda AC11 devices to a fixed firmware release later than 02.03.01.104_CN if a vendor patch is available. If no patched firmware is available, replace the affected device with a supported model receiving security updates.
- What products are affected by CVE-2021-31755?
- Tenda Ac11 Firmware.
- How severe is CVE-2021-31755?
- CVE-2021-31755 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 86.5% (100th percentile) as of Oct 16, 2026.
Recent activity
7 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.