Summary
CVE-2026-51696 is an incorrect access control vulnerability (CWE-284) in the setPortForwardRules function of the TOTOLINK T6 router running firmware 4.1.5cu.748_B20211015. The flaw allows an unauthenticated remote attacker to send a crafted HTTP POST request to the device’s management CGI endpoint and modify port-forwarding rules, exposing internal services to the internet. The issue carries a CVSS v3.1 base score of 9.8 (Critical).
Technical details
- Root cause: the
setPortForwardRuleshandler in/cgi-bin/cstecgi.cgidoes not enforce authentication or session validation before processing configuration changes. - Trigger condition: an attacker sends a POST request containing
{"topicurl":"setPortForwardRules"}along with port-forwarding parameters (e.g., internal IP, internal port, external port) directly to the CGI endpoint. - Attack vector: network-based, requires no credentials and no user interaction.
- Impact: attacker-controlled port-forwarding rules can route external traffic to internal network services, exposing devices and services behind the router that were not intended to be internet-facing.
Affected software
- TOTOLINK T6, firmware version 4.1.5cu.748_B20211015
Severity
- CVSS v3.1 Base Score: 9.8 (Critical)
- Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Mitigation and recommended actions
- Immediate: no fixed firmware version has been published by TOTOLINK for this issue at this time; check the vendor’s download page regularly for an updated firmware release for the T6 model and apply it as soon as it becomes available.
- If no patch: restrict access to the router’s web management interface so it is not reachable from the internet (disable remote/WAN management), place the device behind a firewall or VPN, and review existing port-forwarding rules for unauthorized entries. Consider replacing or isolating the device on a segmented network until a fix is released.
How IONIX identifies potentially affected assets
IONIX matches the following signals against data already collected when it crawled the asset; identifying the technology sends no request beyond that crawl.
- Raw response body:
/cgi-bin/cstecgi.cgi,N600R (Firmware version V...),TOTOLINK

