CVE-2026-6168 TOTOLINK A7000R cstecgi.cgi setWiFiEasyGuestCfg stack-based overflow

High 8.7 Published Updated

Remote attackers can trigger a stack-based buffer overflow in the TOTOLINK A7000R router via the setWiFiEasyGuestCfg function, potentially leading to code execution.

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

CVE-2026-6168 is a high-severity memory corruption vulnerability in TOTOLINK A7000R, published on 13 Apr 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A flaw has been found in TOTOLINK A7000R up to 9.1.0u.6115. The affected element is the function setWiFiEasyGuestCfg of the file /cgi-bin/cstecgi.cgi. This manipulation of the argument ssid5g causes stack-based buffer overflow. Remote exploitation of the attack is possible. The exploit has been published and may be used.

Weakness: CWE-121, CWE-119

Which versions are affected by CVE-2026-6168?

How do I fix CVE-2026-6168?

No fix has been published for CVE-2026-6168 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2026-6168 being exploited?

There is no known exploitation of CVE-2026-6168 in the wild and no public exploit code.

Sources

Also known as GHSA-m5f5-cq9j-vhwf.

Is CVE-2026-6168 in your software?

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

Check your SBOMs for free