← Back to search

CVE-2026-40627

9.1 CRITICAL

Published 2026-10-20 · Updated 2026-10-22

AI risk analysis

Summary
The Totolink X2000R router's formWsc targetAPSsid functionality contains an OS command injection flaw (CWE-78) that allows authenticated attackers to execute arbitrary commands via crafted HTTP requests, leading to full system compromise.
Exploitability
Exploitation requires valid authentication and a specially crafted HTTP request; no public exploit exists yet, but the high CVSS score indicates low technical barrier once credentials are obtained.
Blast radius
Successful exploitation grants remote code execution with router privileges, enabling full data exfiltration, device hijacking, or pivot into internal networks.
Detection
Monitor HTTP access logs for POST requests to /formWsc containing unexpected shell metacharacters (e.g., ';', '|', '&', '$(') in the targetAPSsid parameter, or anomalous command-line process spawns (e.g., 'sh', 'bash', 'wget') from the web server process.
Prioritized remediation
Upgrade to firmware version TOTOLINK-X2000R-Gh-V1.0.0-B20250421.1327 or later; if no fixed version is available, disable the WSC (Wi-Fi Simple Configuration) feature and restrict access to the /formWsc endpoint to trusted IPs only.
os-command-injectionrcewebauthenticationiot

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

NVD description

An os command injection vulnerability exists in the boa formWsc targetAPSsid functionality of Totolink X2000R TOTOLINK-X2000R-Gh-V1.0.0-B20250421.1327. A specially crafted HTTP request can lead to arbitrary code execution. An attacker can make an authenticated HTTP request to trigger this vulnerability.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

Weaknesses

CWE-78

All references

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.

Related CVEs

Related by shared AI tags and CWE weakness class. Browse the full archive.