CVE-2026-5691 Totolink A7100RU cstecgi.cgi setFirewallType os command injection

Medium 6.9 Published Updated

Remote attackers can execute arbitrary OS commands on Totolink A7100RU routers via the setFirewallType function in cstecgi.cgi.

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-5691?

CVE-2026-5691 is a medium-severity command injection vulnerability in Totolink A7100RU, published on 6 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A vulnerability has been found in Totolink A7100RU 7.4cu.2313_b20191024. This affects the function setFirewallType of the file /cgi-bin/cstecgi.cgi. The manipulation of the argument firewallType leads to os command injection. The attack is possible to be carried out remotely. The exploit has been disclosed to the public and may be used.

Weakness: CWE-78, CWE-77

Which versions are affected by CVE-2026-5691?

How do I fix CVE-2026-5691?

No fix has been published for CVE-2026-5691 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-5691 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-5691 exists.

Sources

Also known as GHSA-g7w2-v9m9-34xp.

Is CVE-2026-5691 in your software?

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

Check your SBOMs for free