CVE-2026-3696 Totolink N300RH CGI cstecgi.cgi setWiFiWpsConfig os command injection
Remote attackers can execute arbitrary OS commands on Totolink N300RH routers via the setWiFiWpsConfig CGI function.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-3696?
CVE-2026-3696 is a medium-severity command injection vulnerability in Totolink N300RH, published on 8 Mar 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
A vulnerability was found in Totolink N300RH 6..1c.1353_B20190305. The affected element is the function setWiFiWpsConfig of the file /cgi-bin/cstecgi.cgi of the component CGI Handler. Performing a manipulation results in os command injection. The attack can be initiated remotely. The exploit has been made public and could be used.
Which versions are affected by CVE-2026-3696?
It affects 1 product.
Products include Totolink N300rh Firmware.
How do I fix CVE-2026-3696?
No fix has been published for CVE-2026-3696 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2026-3696 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-3696 exists.
Other vulnerabilities in Totolink N300RH
- CVE-2026-3301 Totolink N300RH Web Management cstecgi.cgi setWebWlanIdx os command injection
- CVE-2025-6400 TOTOLINK N300RH HTTP POST Message formPortFw buffer overflow
- CVE-2025-4849 TOTOLINK N300RH cstecgi.cgi CloudACMunualUpdateUserdata command injection
- CVE-2025-4850 TOTOLINK N300RH cstecgi.cgi setUnloadUserData command injection
- CVE-2025-4851 TOTOLINK N300RH cstecgi.cgi setUploadUserData command injection
Sources
Also known as GHSA-g54x-w5rq-2789.