CVE-2026-0641 TOTOLINK WA300 cstecgi.cgi sub_401510 command injection
Remote attackers can execute arbitrary commands on TOTOLINK WA300 devices via the UPLOAD_FILENAME argument in cstecgi.cgi.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-0641?
CVE-2026-0641 is a medium-severity command injection vulnerability in TOTOLINK WA300, published on 6 Jan 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A security vulnerability has been detected in TOTOLINK WA300 5.2cu.7112_B20190227. This vulnerability affects the function sub_401510 of the file cstecgi.cgi. The manipulation of the argument UPLOAD_FILENAME leads to command injection. The attack may be initiated remotely. The exploit has been disclosed publicly and may be used.
Which versions are affected by CVE-2026-0641?
It affects 1 product.
Products include Totolink Wa300 Firmware.
How do I fix CVE-2026-0641?
No fix has been published for CVE-2026-0641 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-0641 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-0641 exists.
Other vulnerabilities in TOTOLINK WA300
Sources
Also known as GHSA-cg2m-256m-59rq.