CVE-2026-38062: Tenda 5G03 command injection in action_set_rat_mode

CVE-2026-38062 · Severity: info · CVSS 8.8 · Published 2026-06-15

The Tenda 5G03 router, a device used to provide 5G wireless internet connectivity, contains a security flaw that allows an attacker to take control of the device. By sending a specially crafted request to the router's management interface, an attacker can execute unauthorized commands. This could lead to a complete compromise of the device, allowing the attacker to intercept network traffic or disrupt internet service.

Technologies: Tenda 5G03. Vendors: Tenda.

Quick answers

Is CVE-2026-38062 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-38062 being exploited in the wild.
How severe is CVE-2026-38062?
Informational severity, with a CVSS score of 8.8, published 15 June 2026.
Which products and versions are affected?
Tenda 5G03 V05.03.02.04 (Version 1.0).
Is there a fix for CVE-2026-38062?
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-38062 attacked?
It is attacked over the network, in a network appliance.
Am I affected by CVE-2026-38062?
Check whether you run Tenda 5G03 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 command injection vulnerability exists in the Tenda 5G03 router within the Lua-based web management interface. Specifically, the 'action_set_rat_mode' function in '/usr/lib/lua/luci/controller/admin/telephony.lua' fails to properly sanitize the 'ratMode' parameter before passing it to a system shell via 'string.format' and 'mipc_wan_cli'. An authenticated attacker can exploit this by injecting shell metacharacters (e.g., quotes and semicolons) into the 'ratMode' field of a POST request to the '/cgi-bin/luci/admin/telephony/trigger_set_nw_rat' endpoint. Successful exploitation allows for arbitrary command execution with the privileges of the web service, typically root on such embedded devices.

Affected products

  • Tenda 5G03 V05.03.02.04 (Version 1.0)

Timeline

  • 2026-03-16: disclosed: Vulnerability discovered and reported by researcher
  • 2026-06-15: advisory: CVE published to NVD

References

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