Summary
CVE-2026-51679 is a critical improper access control vulnerability (CWE-284) in the setPasswordCfg function of the TOTOLINK T6 web management interface, firmware version 4.1.5cu.748_B20211015. It allows an unauthenticated, remote attacker to change the router’s administrator account by sending a crafted POST request to /cgi-bin/cstecgi.cgi. The issue carries a CVSS v3.1 base score of 9.1 (Critical).
Technical details
- Root cause: the
setPasswordCfghandler in the device’s CGI application (cstecgi.cgi) does not enforce authentication or session validation before processing administrator credential-change requests. - Trigger condition: an attacker sends a specially crafted HTTP POST request to
/cgi-bin/cstecgi.cgitargeting thesetPasswordCfgfunction. - Attack vector: network-based, no authentication or user interaction required (AV:N/AC:L/PR:N/UI:N).
- Impact: full compromise of the administrator account, giving the attacker complete control over the router’s configuration (high confidentiality and availability impact per the published vector).
Affected software
- TOTOLINK T6, firmware version 4.1.5cu.748_B20211015
Severity
- CVSS v3.1 Base Score: 9.1 (Critical)
- Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Mitigation and recommended actions
- Immediate: Check the TOTOLINK support/download portal for a firmware update addressing this issue for the T6 model and apply it as soon as it is available.
- If no patch is available: Restrict access to the router’s web management interface so it is not reachable from the public internet; only allow administration from trusted internal networks or via VPN. Disable remote/WAN administration if enabled, and monitor for unexpected changes to administrator credentials.

