A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-31167

CVE-2026-31167: Totolink A3300R Firmware RCE Vulnerability

CVE-2026-31167 is a remote code execution vulnerability in Totolink A3300R Firmware that enables attackers to execute arbitrary commands via the mode parameter. This article covers technical details, affected versions, and mitigation.

Updated: May 14, 2026

CVE-2026-31167 Overview

CVE-2026-31167 is a command injection vulnerability in ToToLink A3300R firmware version 17.0.0cu.557_B20221024. The flaw resides in the /cgi-bin/cstecgi.cgi endpoint, where the mode parameter is passed to a shell context without proper sanitization. Unauthenticated attackers can inject operating system commands over the network and execute them on the router. The vulnerability is classified under CWE-77 (Improper Neutralization of Special Elements used in a Command).

Critical Impact

Remote attackers can execute arbitrary OS commands on affected A3300R routers without authentication, enabling device compromise, traffic interception, and pivoting into internal networks.

Affected Products

  • ToToLink A3300R router (hardware)
  • ToToLink A3300R firmware version 17.0.0cu.557_B20221024
  • Deployments exposing the web management interface (/cgi-bin/cstecgi.cgi) to untrusted networks

Discovery Timeline

  • 2026-04-23 - CVE-2026-31167 published to NVD
  • 2026-04-27 - Last updated in NVD database

Technical Details for CVE-2026-31167

Vulnerability Analysis

The A3300R web management interface exposes the cstecgi.cgi binary, which dispatches requests based on the mode parameter supplied by the client. The handler concatenates the mode value into a shell command string before invoking a system execution function. Because the parameter is not validated or escaped, shell metacharacters such as ;, |, and backticks break out of the intended command context. An attacker submits a crafted HTTP POST request to /cgi-bin/cstecgi.cgi with a malicious mode payload to run arbitrary binaries already present on the device, including busybox, wget, and telnetd.

Successful exploitation yields command execution as the user running the web service, typically root on SOHO routers. From this position, an attacker can modify firewall rules, capture LAN traffic, alter DNS settings, and stage further payloads. The vulnerability does not require user interaction and is reachable from any network with access to the management interface.

Root Cause

The root cause is missing input neutralization on the mode parameter inside cstecgi.cgi. The handler trusts client-supplied data and passes it directly into a shell invocation, allowing shell metacharacters to be interpreted as command separators. This is a textbook CWE-77 defect found in many embedded HTTP CGI handlers.

Attack Vector

Exploitation is network-based and unauthenticated. An attacker sends a single HTTP request to the router's web interface containing a crafted mode parameter. When the web interface is exposed to the WAN, the issue is reachable from the public internet. When restricted to the LAN, any device on the local network, including compromised workstations or IoT devices, can trigger it. Proof-of-concept details are available in the GitHub PoC repository.

Detection Methods for CVE-2026-31167

Indicators of Compromise

  • HTTP POST requests to /cgi-bin/cstecgi.cgi containing shell metacharacters (;, |, &, `, $() in the mode parameter.
  • Unexpected outbound connections from the router to attacker-controlled hosts, particularly fetching files via wget or curl.
  • New or modified listening services on the router such as telnetd, reverse shells, or cryptominer processes.
  • Unauthorized changes to DNS server settings, port forwarding rules, or admin credentials.

Detection Strategies

  • Inspect HTTP request logs at upstream proxies, IDS sensors, or network taps for suspicious payloads targeting cstecgi.cgi.
  • Deploy network signatures that match command injection patterns against the mode parameter on TCP/80 and TCP/443 traffic toward the router.
  • Baseline router DNS, NTP, and firewall configurations and alert on drift indicative of post-exploitation tampering.

Monitoring Recommendations

  • Forward firewall and DNS query logs from internal networks into a centralized analytics platform to surface anomalous resolver changes.
  • Monitor for SOHO routers attempting to reach non-standard external IPs, especially over IRC, SSH, or high-numbered TCP ports.
  • Alert on repeated POST requests to /cgi-bin/cstecgi.cgi from unexpected source addresses, including internal hosts scanning the gateway.

How to Mitigate CVE-2026-31167

Immediate Actions Required

  • Disable WAN-side access to the router's web management interface and restrict LAN access to a dedicated management VLAN.
  • Replace affected A3300R units with supported hardware if the vendor has not issued a patched firmware build.
  • Rotate router administrative credentials and review configuration for unauthorized changes such as new port forwards or altered DNS servers.

Patch Information

No vendor advisory or patched firmware has been published in the NVD reference set at the time of disclosure. Operators should monitor the ToToLink support portal for firmware releases newer than 17.0.0cu.557_B20221024 and apply them once available. Until then, treat the device as exploitable and apply compensating network controls.

Workarounds

  • Block inbound traffic to TCP/80 and TCP/443 on the WAN interface using an upstream firewall or ISP-provided controls.
  • Place the router behind a separate perimeter firewall that filters HTTP requests containing shell metacharacters in CGI parameters.
  • Segment IoT and guest networks so that a compromised router cannot reach sensitive internal assets.
bash
# Example upstream firewall rule to block external access to the router admin UI
iptables -A FORWARD -p tcp -d <router_wan_ip> --dport 80 -j DROP
iptables -A FORWARD -p tcp -d <router_wan_ip> --dport 443 -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

  • SeverityMEDIUM

  • CVSS Score6.5

  • EPSS Probability0.26%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-77
  • Technical References
  • GitHub PoC Repository
  • 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-7718: Totolink WA300 RCE Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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