/

CVE-2026-51705

Severity:

CRITICAL RISK

(9.8)

Improper Access Control (CWE-284) in TOTOLINK T6 Router

CVE-2026-51705

Deferred

Vulnerability type

Category:

Improper Access Control

CWE:

CWE-284

Impact:

Unauthorized modification of mesh configuration

Severity:

CRITICAL RISK

(9.8)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

A critical access-control weakness in the TOTOLINK T6 allows unauthenticated attackers to rename mesh entries through the device's web interface. The issue becomes risky when the affected management endpoint is reachable and accepts state-changing requests without verifying authorization.

Affected context

The vulnerability occurs in the TOTOLINK T6 4.1.5cu.748_B20211015 management interface, specifically in the setWiFiMeshName function exposed through the cstecgi.cgi endpoint. Deployments are at greater risk when the management interface is reachable by untrusted network users and the endpoint does not require an authenticated, authorized session for configuration changes.

Exploit preconditions

  • Attack surface: The router's HTTP management interface and its CGI request handler
  • Required access: Network reachability to the exposed management endpoint; authentication may not be required
  • Trigger point: Processing of a state-changing request handled by setWiFiMeshName
  • Why exploitation is possible: The endpoint does not adequately verify authorization before allowing mesh-entry names to be changed

Why this happens

The underlying bug is an authorization failure in a state-changing management operation. The application appears to rely on endpoint availability without consistently enforcing authentication and authorization checks for the requested resource and action. This behavior maps to CWE-284, Improper Access Control, because an unauthenticated caller can reach functionality intended for authorized device administration.

Potential impact

  • An attacker may alter mesh-entry names without authorization.
  • Network administrators could receive misleading or unexpected mesh configuration information.
  • The change could disrupt administration, monitoring, or operational troubleshooting.
  • Repeated unauthorized changes could reduce confidence in the router's configuration integrity.

General mitigation guidance

Mitigation generally focuses on enforcing authorization at every

state-changing management operation rather than relying on the obscurity of

an endpoint.

Common defensive patterns include:

  • Require authentication before processing administrative configuration requests.
  • Enforce server-side authorization for the specific device resource and action.
  • Use secure-by-default management interfaces that deny unauthenticated state changes.
  • Restrict management access to trusted networks or administrative control planes.
  • Apply request integrity protections, such as appropriate session controls and CSRF defenses, where browser-based administration is supported.
  • Run management services with only the privileges needed to update the relevant configuration.

How teams detect issues like this

Organizations can look for this class of issue through:

  • Static analysis and authorization reviews for CGI handlers and configuration APIs.
  • Code review signals such as state-changing functions that lack centralized authentication or per-resource authorization checks.
  • Dynamic testing that compares authenticated and unauthenticated responses for administrative operations.
  • Monitoring for unexpected mesh-name changes and repeated requests to configuration endpoints.
  • Policy enforcement requiring authorization middleware or equivalent checks on all administrative routes.
  • Automated security review tools that identify exposed state-changing endpoints can provide an additional review signal.

Sources

SourceLink
github.comgithub.com/DarkBoulder/CVE-Vendor-Coordination/blob/main/TOTOLINK/README.md
github.comgithub.com/ShengWu00/CVE-Vendor-Coordination/blob/main/TOTOLINK/README.md
totolink.nettotolink.net/
totolink.nettotolink.net/home/menu/detail/menu_listtpl/download/id/190/ids/36.html

Frequently asked

questions

It may be exploitable over the network when the router's management interface is reachable by an attacker. The affected operation reportedly does not require authentication, although network exposure and device access policies determine practical scope.

The attacker needs network connectivity to the management endpoint and the ability to send a crafted HTTP POST request. Valid credentials may not be required for the vulnerable operation.

Require authentication and enforce authorization for the specific mesh-entry modification before performing any state change. Management access should also be limited to trusted administrative networks.

Centralize access-control checks, test unauthenticated behavior for every administrative endpoint, apply secure-by-default deny rules, and monitor configuration changes for unexpected activity.

Find out what's already
exploitable in your codebase.