The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-7718

CVE-2026-7718: Totolink WA300 RCE Vulnerability

CVE-2026-7718 is a command injection flaw in Totolink WA300 router that enables remote code execution through the setWebWlanIdx function. This article covers technical details, affected versions, and mitigation strategies.

Published: May 7, 2026

CVE-2026-7718 Overview

CVE-2026-7718 is a command injection vulnerability in the Totolink WA300 router running firmware version 5.2cu.7112_B20190227. The flaw resides in the setWebWlanIdx function within /cgi-bin/cstecgi.cgi, which processes POST requests. Attackers can manipulate the webWlanIdx argument to inject arbitrary operating system commands. The vulnerability is remotely exploitable across the network, and a public exploit has been disclosed. The weakness is classified under CWE-74 (Improper Neutralization of Special Elements in Output Used by a Downstream Component).

Critical Impact

Authenticated remote attackers can inject operating system commands through the webWlanIdx POST parameter, leading to unauthorized command execution on affected Totolink WA300 devices.

Affected Products

  • Totolink WA300 router
  • Firmware version 5.2cu.7112_B20190227
  • Component: POST Request Handler in /cgi-bin/cstecgi.cgi

Discovery Timeline

  • 2026-05-04 - CVE-2026-7718 published to NVD
  • 2026-05-04 - Last updated in NVD database

Technical Details for CVE-2026-7718

Vulnerability Analysis

The vulnerability exists in the setWebWlanIdx function exposed through the /cgi-bin/cstecgi.cgi endpoint on Totolink WA300 devices. The handler accepts a webWlanIdx parameter via POST requests and passes it to a downstream system command without proper neutralization of shell metacharacters. This pattern matches CWE-74, where untrusted input flows into a command interpreter. Successful exploitation results in arbitrary command execution in the context of the device's web management process, which on consumer routers typically runs with elevated privileges.

Root Cause

The root cause is missing input validation and sanitization in the setWebWlanIdx handler. The function trusts user-supplied data from the HTTP POST body and concatenates it into a shell invocation. Any shell metacharacter such as ;, |, or backticks within webWlanIdx is interpreted by the shell rather than treated as literal data. Embedded device firmware in this product family commonly invokes system() or similar APIs without parameterized execution, exposing the parser to injection.

Attack Vector

The attack is initiated remotely over the network against the device's management interface. The attacker requires low privileges to reach the vulnerable endpoint, after which a single crafted POST request to /cgi-bin/cstecgi.cgi triggers the flaw. According to the EPSS dataset dated 2026-05-07, the exploitation probability is 2.841% (86th percentile), and a public exploit has been referenced in the advisory disclosures. Devices exposed to untrusted networks, including those with management interfaces reachable from the WAN, face the greatest risk.

The vulnerability manifests when the webWlanIdx POST argument is supplied with shell metacharacters that break out of the intended command context. See the Notion Security Report and VulDB Vulnerability #360894 for technical details.

Detection Methods for CVE-2026-7718

Indicators of Compromise

  • POST requests to /cgi-bin/cstecgi.cgi containing the setWebWlanIdx action with shell metacharacters such as ;, |, &, or backticks in the webWlanIdx value.
  • Unexpected outbound connections originating from the router to attacker-controlled infrastructure following a management plane request.
  • Spawned child processes from the web management daemon executing shell utilities such as wget, curl, tftp, nc, or sh.

Detection Strategies

  • Inspect HTTP request bodies on perimeter and management VLAN traffic for webWlanIdx parameters containing non-numeric content.
  • Deploy network-based IDS signatures that flag command injection patterns targeting Totolink CGI endpoints.
  • Correlate router syslog forwarding events for crashes or restarts of the cstecgi.cgi process, which can indicate exploitation attempts.

Monitoring Recommendations

  • Centralize router logs in a SIEM and alert on POST traffic to /cgi-bin/cstecgi.cgi from non-administrative source IPs.
  • Monitor for new or unauthorized DNS queries originating from the router's management IP.
  • Track configuration changes and firmware version drift across all Totolink WA300 devices in inventory.

How to Mitigate CVE-2026-7718

Immediate Actions Required

  • Restrict access to the router's web management interface to trusted administrative networks only and disable WAN-side management.
  • Change default and weak credentials on the device, since the attack requires only low-level authentication to reach the vulnerable endpoint.
  • Audit Totolink WA300 deployments and identify all units running firmware 5.2cu.7112_B20190227.

Patch Information

No vendor patch has been referenced in the public advisories at the time of NVD publication on 2026-05-04. Administrators should monitor the TOTOLINK Official Site for firmware updates addressing this issue and consult VulDB Vulnerability #360894 for the latest remediation status.

Workarounds

  • Place affected devices behind a network segment that blocks untrusted access to TCP management ports.
  • Disable remote management features and limit administrative access to wired LAN connections where feasible.
  • Replace end-of-support Totolink WA300 hardware with a currently maintained router model if no firmware fix becomes available.
bash
# Example firewall rule to restrict access to the router management interface
# Allow only the trusted admin subnet 192.0.2.0/24 to reach the router at 10.0.0.1
iptables -A FORWARD -s 192.0.2.0/24 -d 10.0.0.1 -p tcp --dport 80 -j ACCEPT
iptables -A FORWARD -d 10.0.0.1 -p tcp --dport 80 -j DROP

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechTotolink

  • SeverityLOW

  • CVSS Score2.1

  • EPSS Probability2.84%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-74
  • Technical References
  • Notion Security Report

  • VulDB Submission #807196

  • VulDB Vulnerability #360894

  • VulDB CTI #360894

  • TOTOLINK Official Site
  • Related CVEs
  • CVE-2026-7633: Totolink N300RH RCE Vulnerability

  • CVE-2026-7823: Totolink A8000RU RCE Vulnerability

  • CVE-2026-7721: Totolink WA300 RCE Vulnerability

  • CVE-2026-7720: Totolink WA300 RCE Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English