/

CVE-2026-51686

Severity:

CRITICAL RISK

(9.8)

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

CVE-2026-51686

Deferred

Vulnerability type

Category:

Broken Access Control

CWE:

CWE-284

Impact:

Unauthorized Wireless Network Reconfiguration or Disruption

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 vulnerability in the TOTOLINK T6 allows unauthenticated attackers to invoke the setWiFiEasyCfg function through a crafted HTTP POST request. Successful exploitation may let an attacker reconfigure or disable wireless networks without valid credentials.

Affected context

The vulnerability occurs in TOTOLINK T6 routers using the affected wireless configuration handler. Risk is present when the device exposes the relevant management endpoint and does not require authentication before processing requests that modify Wi-Fi settings.

Exploit preconditions

  • Attack surface: The router's HTTP management interface, including /cgi-bin/cstecgi.cgi
  • Required access: Network reachability to the exposed management endpoint; valid credentials may not be required
  • Trigger point: A request invoking the setWiFiEasyCfg function
  • Why exploitation is possible: The function performs sensitive wireless configuration actions without adequately enforcing access control

Why this happens

The underlying bug is an authorization failure in a function that changes security-sensitive device settings. The endpoint accepts a request capable of reaching setWiFiEasyCfg without first verifying that the caller is authenticated and authorized for the requested operation. This behavior maps to CWE-284: Improper Access Control, because a protected administrative action is exposed without an effective access-control check.

Potential impact

  • An unauthenticated attacker may alter wireless network settings
  • Wireless connectivity may be disabled or disrupted
  • Connected users may be redirected to an attacker-controlled configuration
  • Network availability and device administration may be impaired
  • Changed settings could support follow-on unauthorized access to the local network

General mitigation guidance

Mitigation generally focuses on protecting every administrative configuration operation with consistent authentication and authorization controls.

Common defensive patterns include:

  • Require authentication and appropriate administrative privilege before processing wireless configuration changes
  • Enforce authorization checks server-side rather than relying on client-side controls or hidden endpoints
  • Apply strict allowlisting and validation to configuration parameters
  • Restrict management interfaces to trusted network segments where practical
  • Use secure-by-default management exposure and disable unnecessary remote administration
  • Log and alert on unexpected configuration changes
  • Preserve least-privilege separation between read-only and device-modifying operations

How teams detect issues like this

Organizations can look for this issue through:

  • Static analysis of CGI handlers for state-changing operations that lack centralized authentication checks
  • Code review signals such as direct configuration writes before session or privilege validation
  • Dynamic testing that compares authenticated and unauthenticated access to administrative endpoints
  • Monitoring for POST requests to management interfaces and unexpected wireless configuration changes
  • Policy enforcement requiring authentication middleware for all state-changing device-management routes
  • Automated security review tools that identify missing authorization checks and unauthenticated administrative functions

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. Exposure depends on deployment and management-interface access controls.

The described issue permits unauthenticated access to the affected configuration function, so valid credentials may not be required when the endpoint is reachable.

Require robust authentication and server-side authorization before allowing any wireless configuration change, while validating all submitted parameters.

Apply centralized access-control middleware to state-changing endpoints, limit management exposure, review administrative handlers, and monitor for unauthorized configuration modifications.

Find out what's already
exploitable in your codebase.