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

Source: https://junglewise.ai/threats/cve-2026-38062-tenda-5g03-command-injection-in-action-set-rat-mode  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-06-15. Updated: 2026-06-15  
License: CC BY 4.0 with a link back

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](https://junglewise.ai/threats/technologies/5g03). Vendors: [Tenda](https://junglewise.ai/threats/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

- [https://github.com/sezangel/IOT-vul/tree/main/Tenda/5G03/action_set_rat_mode](https://github.com/sezangel/IOT-vul/tree/main/Tenda/5G03/action_set_rat_mode)

## Related threats

- [Tenda 5G03 command injection in action_ims_on_with_apn](https://junglewise.ai/threats/cve-2026-38065-tenda-5g03-command-injection-in-action-ims-on-with-apn)
- [Tenda 5G03 command injection in action_dial_call](https://junglewise.ai/threats/cve-2026-38064-tenda-5g03-command-injection-in-action-dial-call)
- [Tenda 5G03 command injection in action_radio_on_with_ia_apn](https://junglewise.ai/threats/cve-2026-38063-tenda-5g03-command-injection-in-action-radio-on-with-ia-apn)
- [Tenda 5G03 command injection in action_set_volume](https://junglewise.ai/threats/cve-2026-38061-tenda-5g03-command-injection-in-action-set-volume)
- [Tenda 5G03 command injection in action_unlock_sim](https://junglewise.ai/threats/cve-2026-38060-tenda-5g03-command-injection-in-action-unlock-sim)
