CVE-2026-5338 Tenda G103 Setting system.lua action_set_system_settings command injection

Medium 5.1 Published Updated

Remote attackers can execute arbitrary commands on Tenda G103 routers via the lanIp argument in the system settings handler.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-5338?

CVE-2026-5338 is a medium-severity command injection vulnerability in Tenda G103, published on 2 Apr 2026. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

A security vulnerability has been detected in Tenda G103 1.0.0.5. The affected element is the function action_set_system_settings of the file system.lua of the component Setting Handler. Such manipulation of the argument lanIp leads to command injection. The attack may be performed from remote. The exploit has been disclosed publicly and may be used.

Weakness: CWE-77, CWE-74

Which versions are affected by CVE-2026-5338?

It affects 1 product.

Products include Tenda G103 Firmware.

How do I fix CVE-2026-5338?

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

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2026-5338 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-5338 exists.

Sources

Also known as GHSA-jwm4-jqjj-6v3x.

Is CVE-2026-5338 in your software?

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

Check your SBOMs for free