Junglewise Threat Intelligence

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

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

Technologies: Tenda 5G03. Vendors: Tenda.

Executive brief

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.

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

Related threats