/

CVE-2026-51764

Severity:

CRITICAL RISK

(9.8)

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

CVE-2026-51764

Deferred

Vulnerability type

Category:

Improper Access Control

CWE:

CWE-284

Impact:

Unauthorized File Modification and Service 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 overwrite cloud-result tracking files through the device's MQTT broker component.

A crafted MQTT message can reach the recvSlaveCloudCheckStatus function without adequate authorization, potentially allowing remote manipulation of status data and disrupting cloud-related operations.

Affected context

The vulnerability occurs in TOTOLINK T6 devices running the affected firmware when the cs_broker component accepts MQTT messages that can invoke recvSlaveCloudCheckStatus. Risk is increased where the MQTT service is reachable by untrusted network clients and the function does not enforce authentication or authorization before modifying cloud-result tracking files.

Exploit preconditions

  • Attack surface: The device's MQTT broker component
  • Required access: Network access to the MQTT service; valid device authentication may not be required
  • Trigger point: Processing of a crafted MQTT message by recvSlaveCloudCheckStatus
  • Why exploitation is possible: The message-handling path permits file modification without adequately verifying the caller's authorization

Why this happens

The underlying defect is an authorization failure in a message-driven administrative function. The affected code path appears to trust a received MQTT request before confirming that the sender is permitted to perform the associated file operation.

This maps to CWE-284: Improper Access Control, in which access to a protected resource or operation is not sufficiently restricted. The insecure pattern is exposing state-changing functionality through a network interface without consistently enforcing authentication, authorization, and message-scope checks.

Potential impact

  • An unauthenticated attacker could overwrite cloud-result tracking files
  • Cloud connectivity or synchronization status could be manipulated
  • Device management workflows could become unreliable or unavailable
  • Monitoring and operational decisions could be based on tampered status information
  • The device could become a foothold for additional attacks if altered state affects other privileged components

General mitigation guidance

Mitigation generally focuses on enforcing authorization at every state-changing MQTT handler and reducing exposure of administrative broker functionality.

Common defensive patterns include:

  • Require strong authentication and explicit authorization for MQTT topics that trigger file or system changes
  • Apply topic-level and operation-level access controls using a deny-by-default policy
  • Validate message structure, origin, scope, and freshness before performing privileged actions
  • Separate externally supplied status data from trusted local control state
  • Restrict file writes to narrowly defined paths and run broker-related components with least privilege
  • Isolate management services from untrusted networks and limit broker reachability with network policy
  • Preserve integrity checks and safe recovery behavior for cloud-result tracking data

How teams detect issues like this

Organizations can look for this issue through:

  • Static analysis rules identifying MQTT handlers that perform file writes without nearby authorization checks
  • Code review of broker callbacks, topic subscriptions, and functions that modify persistent state
  • Tests that send unauthenticated, unauthorized, malformed, replayed, and cross-topic messages to state-changing handlers
  • Runtime monitoring for unexpected writes to cloud-status or tracking files
  • Network detection for unusual MQTT clients, topic access, and message rates
  • Policy enforcement requiring authentication, topic-level authorization, and least-privilege service accounts

Automated security review tools may help identify missing authorization checks, but testing should also verify the effective access-control policy at runtime.

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

Yes, where the device's MQTT broker is reachable by an attacker and permits the relevant message path to be accessed without authentication or authorization.

The described issue is unauthenticated, so an account may not be required. Network reachability to the affected broker remains an important condition.

Enforce authentication and least-privilege authorization before any MQTT request can modify files or other persistent device state. Restrict the broker to trusted management networks where possible.

Apply deny-by-default topic policies, review every state-changing message handler, validate message origin and scope, and continuously test unauthorized access paths.

Find out what's already
exploitable in your codebase.