CVE-2026-31255 Command injection in n/a
Attackers can execute arbitrary system commands on Tenda AC18 routers via the SetSambaCfg interface due to improper handling of the guestuser parameter.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-31255?
CVE-2026-31255 is a medium-severity command injection vulnerability in Tenda Ac18 Firmware, published on 27 Apr 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A command injection vulnerability exists in Tenda AC18 V15.03.05.05_multi. The vulnerability is located in the /goform/SetSambaCfg interface, where improper handling of the guestuser parameter allows attackers to execute arbitrary system commands.
Weakness: CWE-77
Which versions are affected by CVE-2026-31255?
It affects 1 product.
Products include Tenda Ac18 Firmware.
How do I fix CVE-2026-31255?
No fix has been published for CVE-2026-31255 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-31255 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-31255 exists.
Other vulnerabilities in Tenda Ac18 Firmware
Sources
Also known as GHSA-9h86-xppf-f3p9.