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-5851

CVE-2026-5851: Totolink A7100RU RCE Vulnerability

CVE-2026-5851 is a remote code execution flaw in Totolink A7100RU router that enables OS command injection via the setUPnPCfg function. This article covers technical details, affected versions, and mitigation strategies.

Published: April 9, 2026

CVE-2026-5851 Overview

A critical OS command injection vulnerability has been discovered in the Totolink A7100RU router firmware version 7.4cu.2313_b20191024. This security flaw affects the setUPnPCfg function within the /cgi-bin/cstecgi.cgi CGI handler component. By manipulating the enable argument parameter, attackers can inject and execute arbitrary operating system commands on the affected device. The vulnerability can be exploited remotely without authentication, posing a severe risk to network infrastructure security.

The exploit details have been publicly disclosed, which significantly increases the risk of active exploitation in the wild. This vulnerability falls under CWE-77 (Improper Neutralization of Special Elements used in a Command, also known as Command Injection).

Critical Impact

Unauthenticated remote attackers can execute arbitrary OS commands on the router, potentially leading to complete device compromise, network pivoting, data exfiltration, or persistent backdoor installation.

Affected Products

  • Totolink A7100RU Router
  • Firmware Version 7.4cu.2313_b20191024
  • CGI Handler Component (/cgi-bin/cstecgi.cgi)

Discovery Timeline

  • April 9, 2026 - CVE-2026-5851 published to NVD
  • April 9, 2026 - Last updated in NVD database

Technical Details for CVE-2026-5851

Vulnerability Analysis

This command injection vulnerability exists in the UPnP configuration handler of the Totolink A7100RU router. The setUPnPCfg function, responsible for processing Universal Plug and Play configuration requests, fails to properly sanitize user-supplied input before passing it to system shell commands.

The vulnerable endpoint /cgi-bin/cstecgi.cgi processes HTTP requests and routes them to various configuration functions based on the requested action. When the setUPnPCfg function receives the enable parameter, it incorporates this value directly into a shell command without adequate input validation or sanitization.

An attacker with network access to the router's web interface can craft malicious HTTP requests containing shell metacharacters and command sequences in the enable parameter. These injected commands are then executed with the privileges of the web server process, typically running as root on embedded devices like this router.

Root Cause

The root cause of this vulnerability is improper neutralization of special elements in the enable argument before it is used in a command execution context. The setUPnPCfg function directly concatenates user input into shell commands without proper escaping, quoting, or validation, allowing attackers to break out of the intended command context and inject arbitrary commands.

This represents a classic command injection pattern where:

  1. User input is received from an HTTP parameter
  2. The input is passed to a shell command without sanitization
  3. Shell metacharacters (;, |, $(), backticks) are interpreted, allowing command chaining

Attack Vector

The attack is network-based and requires no authentication or user interaction. An attacker can exploit this vulnerability by sending specially crafted HTTP requests to the router's CGI interface. The attack complexity is low, as the vulnerable parameter and endpoint are well-documented.

The exploitation flow involves sending an HTTP request to the /cgi-bin/cstecgi.cgi endpoint with a malicious payload in the enable parameter of a UPnP configuration request. The injected commands execute in the context of the web server process, which typically has elevated privileges on embedded router devices.

Since the exploit has been publicly released, attackers can readily leverage this vulnerability for malicious purposes including establishing persistent access, pivoting to internal networks, or incorporating compromised devices into botnets.

Detection Methods for CVE-2026-5851

Indicators of Compromise

  • Unexpected outbound connections from the router to external IP addresses
  • Unusual process spawning from the web server or CGI processes
  • Modified system files or configurations on the router
  • Presence of unknown scheduled tasks or persistent scripts
  • Anomalous traffic patterns originating from the router's internal interface

Detection Strategies

  • Monitor HTTP request logs for suspicious payloads containing shell metacharacters (;, |, &&, $(), backticks) in requests to /cgi-bin/cstecgi.cgi
  • Deploy network intrusion detection rules to identify command injection patterns targeting the setUPnPCfg function
  • Implement web application firewall rules to block requests with command injection signatures in the enable parameter
  • Monitor for unusual process execution chains originating from the router's web server process

Monitoring Recommendations

  • Enable comprehensive logging on network firewalls to capture all traffic to and from affected Totolink devices
  • Implement network segmentation to isolate IoT and network infrastructure devices from critical systems
  • Deploy behavioral analysis tools to detect anomalous router activity indicative of compromise
  • Regularly audit router configurations and firmware versions to identify vulnerable devices

How to Mitigate CVE-2026-5851

Immediate Actions Required

  • Restrict administrative access to the router's web interface to trusted IP addresses only
  • Disable remote management features if not required for operations
  • Implement network segmentation to limit the router's exposure to untrusted networks
  • Consider replacing the device with a supported model if no patch is available from the vendor
  • Monitor the Totolink Official Website for firmware updates addressing this vulnerability

Patch Information

As of the publication date, no official patch has been confirmed for this vulnerability. Organizations should check the Totolink Official Website for firmware updates. Additional technical details are available in the GitHub Vulnerability Repository and VulDB entry #356377.

Workarounds

  • Disable UPnP functionality on the router if it is not required for network operations
  • Configure firewall rules to block external access to the router's administrative interface on port 80/443
  • Implement strict network access controls to limit which hosts can communicate with the router's management interface
  • Deploy a web application firewall or reverse proxy to filter malicious requests before they reach the router
bash
# Example: Block external access to router management interface using iptables
# Run on upstream firewall or gateway device
iptables -A FORWARD -d <router_ip> -p tcp --dport 80 -j DROP
iptables -A FORWARD -d <router_ip> -p tcp --dport 443 -j DROP
# Allow only trusted management hosts
iptables -I FORWARD -s <trusted_admin_ip> -d <router_ip> -p tcp --dport 80 -j ACCEPT

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechTotolink

  • SeverityHIGH

  • CVSS Score8.9

  • EPSS Probability0.89%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/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
  • AvailabilityHigh
  • CWE References
  • CWE-77
  • Technical References
  • GitHub Vulnerability Repository

  • VulDB Vulnerability Submission

  • VulDB #356377

  • VulDB #356377 CTI Information

  • Totolink Official Website
  • 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