Safeguard
Vulnerability Analysis•

CVE-2026-31255: Critical Command Injection in Tenda AC18

CVE-2026-31255 is a 9.8 command injection in the SetSambaCfg interface of Tenda AC18 firmware V15.03.05.05. No fix is named, so check with Tenda.

Safeguard Security Team
2 min read

CVE-2026-31255 is a critical command injection flaw (CVSS 9.8) in the /goform/SetSambaCfg interface of the Tenda AC18, firmware V15.03.05.05. The guestuser parameter is handled improperly. The record names no fix, so check with Tenda.

What's affected

The record names the Tenda AC18 with firmware V15.03.05.05_multi. It does not give a fixed version or say whether other versions are affected.

How to check if you're exposed

Sign in to the router and read the firmware version on the system status page. Compare it with V15.03.05.05.

Check whether the Samba file sharing feature is turned on and whether the admin page can be reached from the WAN side.

What to do now

  1. Look on Tenda's support site for a newer firmware for the AC18 and install it if it exists.
  2. Turn off remote management and turn off Samba sharing if you do not use it.
  3. Restrict access to the admin page to a trusted wired host.
  4. Replace the router if the vendor ships no fix.

Why it matters

The weakness class is CWE-77, command injection. The guestuser value is used inside a system command without being neutralized, so crafted input can add commands of its own. Home and small office routers run these handlers with high privileges.

The only reference is a public write up that I did not rely on for details. The record does not flag this CVE as listed in CISA's Known Exploited Vulnerabilities catalog.

Quick check

Does turning off Samba help?

The flaw sits in the Samba configuration interface, so disabling the feature and blocking access to the admin page lowers the exposure. It is not a substitute for a fix.

Sources

Last reviewed: 19 October 2026.

Never miss an update

Weekly insights on software supply chain security, delivered to your inbox.

Self-healing security runs on Safeguard.

Your first fix PR is minutes away.

No sales call required, even your agent can complete the purchase over MCP.