Summary
CVE-2026-51705 is a critical improper access control vulnerability affecting the TOTOLINK T6 wireless router running firmware version 4.1.5cu.748_B20211015. The flaw resides in the setWiFiMeshName function exposed via the device’s /cgi-bin/cstecgi.cgi endpoint, and allows a completely unauthenticated, remote attacker to rename mesh network entries on the device. The vulnerability carries a CVSS v3.1 base score of 9.8 (Critical), reflecting its network attack vector, low complexity, and lack of any authentication or user interaction requirement.
Technical details
- Root cause: The
setWiFiMeshNamefunction within thecstecgi.cgiCGI handler fails to enforce proper access control/authentication checks before processing requests that modify mesh network naming configuration. - Trigger conditions: An attacker sends a specially crafted HTTP POST request to
/cgi-bin/cstecgi.cgitargeting thesetWiFiMeshNameaction; no valid session, credentials, or prior authentication is required. - Attack vector: Remote, over the network (AV:N) — the affected CGI endpoint is typically reachable via the device’s management interface, and in cases where remote administration or the interface is exposed to the internet, this is exploitable without any local network access.
- Impact: Successful exploitation allows unauthenticated attackers to rename mesh network entries, which can be leveraged to manipulate mesh topology/configuration, potentially disrupt legitimate mesh operation, facilitate further social-engineering or man-in-the-middle setups, or serve as a foothold/indicator in broader device compromise given the pattern of related access-control flaws affecting the same CGI handler.
Affected software
- TOTOLINK T6 — firmware version 4.1.5cu.748_B20211015
Severity
- CVSS v3.1 Base Score: 9.8 (Critical)
- Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CWE-284: Improper Access Control
Mitigation and recommended actions
- Immediate: As of publication, no vendor patch or updated firmware version addressing CVE-2026-51705 has been confirmed. Check the TOTOLINK support/download portal regularly for a firmware update for the T6 model and apply it as soon as it becomes available.
- If no patch is available:
- Disable remote/WAN-facing administration access to the TOTOLINK T6 management interface.
- Restrict access to
/cgi-bin/cstecgi.cgiand the device’s web management UI to trusted internal network segments only, using firewall rules or network segmentation. - Place affected devices behind a VPN or additional authentication gateway if remote management is required.
- Monitor device configuration (especially mesh/Wi-Fi settings) for unauthorized changes.
- Consider replacing or isolating end-of-life/unsupported TOTOLINK devices where no patch is forthcoming, as this vulnerability is part of a broader pattern of unauthenticated access-control issues identified in the same firmware’s CGI interface.

