CVE-2026-3696 Totolink N300RH CGI cstecgi.cgi setWiFiWpsConfig os command injection

Medium 6.9 Published Updated

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.

Weakness: CWE-78, CWE-77

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.

Sources

Also known as GHSA-g54x-w5rq-2789.

Is CVE-2026-3696 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free