CVE-2026-7240 Totolink A8000RU CGI cstecgi.cgi setVpnAccountCfg os command injection

Critical 9.3 Published Updated

Remote attackers can execute arbitrary OS commands via the User argument in the VPN configuration handler of Totolink A8000RU routers.

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

CVE-2026-7240 is a critical command injection vulnerability in Totolink A8000RU, published on 28 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 A8000RU 7.1cu.643_b20200521. This vulnerability affects the function setVpnAccountCfg of the file /cgi-bin/cstecgi.cgi of the component CGI Handler. Such manipulation of the argument User leads to os command injection. The attack can be executed 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-7240?

How do I fix CVE-2026-7240?

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

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

Sources

Also known as GHSA-qw3h-745q-h3p2.

Is CVE-2026-7240 in your software?

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

Check your SBOMs for free