Summary
CVE-2026-51681 is an incorrect access control vulnerability (CWE-284) in the setRemoteCfg function of the TOTOLINK T6 router web management interface, running firmware 4.1.5cu.748_B20211015. An unauthenticated remote attacker can send a crafted POST request to /cgi-bin/cstecgi.cgi to expose and enable WAN-side administration on the device. The issue carries a CVSS v3.1 base score of 9.1 (Critical).
Technical details
- Root cause: the
setRemoteCfghandler in the device’s CGI-based management interface (cgi-bin/cstecgi.cgi) fails to enforce authentication or authorization checks before processing configuration changes. - Trigger condition: an attacker sends a specially crafted HTTP POST request invoking the
setRemoteCfgaction to the exposed CGI endpoint. - Attack vector: network-based, requiring no prior authentication, no privileges, and no user interaction (AV:N/AC:L/PR:N/UI:N).
- Impact: successful exploitation exposes and can enable WAN-side (internet-facing) remote administration on the router, undermining confidentiality and integrity of the device’s configuration; availability is not affected.
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:H/A:N
Mitigation and recommended actions
- Immediate: No vendor-published patched firmware version for this specific CVE has been confirmed at this time; check TOTOLINK’s official download page for the T6 model for updated firmware and apply it as soon as it is available.
- If no patch: Disable remote/WAN-side administration on the device if not strictly required; restrict access to the router’s management interface (
/cgi-bin/cstecgi.cgi) to trusted internal networks only; place management interfaces behind a VPN or firewall rule blocking inbound WAN access; monitor for unexpected changes to remote administration settings.

