CVE-2026-36798: Tenda G0 stack overflow and command injection in formSetDebugCfgr

CVE-2026-36798 · Severity: info · CVSS 9.8 · Published 2026-06-09

Tenda G0 routers are affected by a security flaw in their web management interface. By sending a specially crafted web request, an attacker can crash the device or potentially take full control of it. This could lead to a complete loss of internet connectivity for the network and allow unauthorized access to sensitive data passing through the router.

Technologies: Tenda G0. Vendors: Tenda.

Quick answers

Is CVE-2026-36798 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-36798 being exploited in the wild.
How severe is CVE-2026-36798?
Informational severity, with a CVSS score of 9.8, published 9 June 2026.
Which products and versions are affected?
Tenda G0 v15.11.0.5.
Is there a fix for CVE-2026-36798?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-36798 attacked?
It is attacked over the network, in a network appliance.
Am I affected by CVE-2026-36798?
Check whether you run Tenda G0 at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

A vulnerability exists in the formSetDebugCfgr (and related formPortalAuth) function within Tenda G0 v15.11.0.5 firmware. The issue stems from the unsafe use of sprintf() to process the 'enable', 'level', and 'module' HTTP parameters retrieved via websGetVar. An attacker can exploit this by sending a crafted HTTP request containing overly long strings to trigger a stack-based buffer overflow, or by including shell metacharacters to achieve command injection via a subsequent system() call. This allows for unauthenticated remote code execution (RCE) or a Denial of Service (DoS) condition. While the NVD summary focuses on DoS, the researcher's technical analysis confirms arbitrary code execution is possible.

Affected products

  • Tenda G0 v15.11.0.5

Timeline

  • 2026-03-17: other: CVE request submitted to MITRE
  • 2026-06-06: disclosed: Public disclosure
  • 2026-06-09: advisory: NVD advisory published

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.