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

CVE-2026-5997: Totolink A7100RU RCE Vulnerability

CVE-2026-5997 is a remote code execution flaw in Totolink A7100RU routers via OS command injection in the CGI handler. Attackers can exploit this remotely. This article covers technical details, affected versions, impact, and mitigation strategies.

Updated: May 14, 2026

CVE-2026-5997 Overview

CVE-2026-5997 is an OS command injection vulnerability in the Totolink A7100RU router running firmware version 7.4cu.2313_b20191024. The flaw resides in the setLoginPasswordCfg function within /cgi-bin/cstecgi.cgi, part of the CGI Handler component. Attackers can manipulate the admpass argument to inject arbitrary operating system commands. The vulnerability is exploitable remotely over the network without authentication or user interaction. Public exploit details have been disclosed, increasing the risk of opportunistic abuse against exposed devices. The weakness maps to [CWE-77] (Improper Neutralization of Special Elements used in a Command).

Critical Impact

Unauthenticated remote attackers can execute arbitrary OS commands on affected Totolink A7100RU routers, leading to full device compromise and persistent network foothold.

Affected Products

  • Totolink A7100RU router
  • Firmware version 7.4cu.2313_b20191024
  • CGI Handler component (/cgi-bin/cstecgi.cgi)

Discovery Timeline

  • 2026-04-10 - CVE-2026-5997 published to NVD
  • 2026-04-27 - Last updated in NVD database

Technical Details for CVE-2026-5997

Vulnerability Analysis

The vulnerability exists in the setLoginPasswordCfg handler exposed through the /cgi-bin/cstecgi.cgi endpoint on the Totolink A7100RU router. The CGI binary accepts JSON-formatted requests that include an admpass parameter intended to update the administrator password. Instead of treating this value as a string, the firmware passes the parameter into a shell command without proper sanitization or escaping of shell metacharacters. Attackers reach the endpoint over the network and inject shell operators such as semicolons, backticks, or command substitution sequences inside the admpass value. The injected commands execute under the privileges of the CGI process, which on consumer routers typically runs as root.

A successful exploit grants attackers complete control over the device, enabling firmware tampering, credential theft, traffic interception, and lateral movement into the LAN behind the router. Because public proof-of-concept details have been published, automated scanners and botnets can weaponize the flaw against internet-exposed administration interfaces.

Root Cause

The root cause is missing input neutralization in the setLoginPasswordCfg function. The handler concatenates user-controlled input from admpass into a system command string before invoking it through a shell-executing call. Without an allow-list, escaping, or use of an execve-style API, any shell metacharacter in admpass is interpreted by the shell instead of being treated as data.

Attack Vector

The attack is network-based and unauthenticated. An attacker sends a crafted HTTP POST request to /cgi-bin/cstecgi.cgi invoking the setLoginPasswordCfg action with an admpass value that contains shell command separators followed by the desired payload. The router's CGI process parses the request and the injected commands execute on the underlying Linux system. Technical details and the public proof of concept are documented in the GitHub Vulnerability Repository and the VulDB #356551 entry.

Detection Methods for CVE-2026-5997

Indicators of Compromise

  • HTTP POST requests targeting /cgi-bin/cstecgi.cgi containing the setLoginPasswordCfg action and shell metacharacters such as ;, |, &, $(), or backticks inside the admpass field.
  • Unexpected outbound connections originating from the router to attacker-controlled infrastructure shortly after administrative requests.
  • New or modified accounts, cron entries, or startup scripts on the router file system.

Detection Strategies

  • Inspect web access logs and any inline IDS/IPS for POST bodies referencing setLoginPasswordCfg with non-alphanumeric characters in admpass.
  • Deploy network signatures matching the cstecgi endpoint combined with shell metacharacter patterns in request parameters.
  • Baseline router management traffic and alert on administrative API calls originating from WAN-side or unexpected internal hosts.

Monitoring Recommendations

  • Forward router syslog and HTTP request logs to a centralized analytics platform for correlation against known exploit patterns.
  • Continuously monitor for new device fingerprints, firmware changes, or DNS settings that deviate from the approved configuration baseline.
  • Track outbound connections from router management subnets to unusual destinations, ports, or geographies.

How to Mitigate CVE-2026-5997

Immediate Actions Required

  • Restrict access to the router administrative interface to trusted internal addresses and disable remote WAN administration.
  • Rotate administrator credentials and audit account lists, cron jobs, and startup scripts on affected devices for tampering.
  • Place vulnerable A7100RU units behind a network segment that blocks inbound HTTP/HTTPS to the management interface.

Patch Information

No vendor patch has been referenced in the published advisory at the time of disclosure. Consult the Totolink Official Website for firmware updates addressing the setLoginPasswordCfg command injection and apply them as soon as they become available. Additional technical context is available in the VulDB #356551 CTI Analysis.

Workarounds

  • Disable remote management on the WAN interface to prevent unauthenticated internet-based exploitation.
  • Apply firewall rules or ACLs that block external access to TCP ports hosting /cgi-bin/cstecgi.cgi.
  • Replace end-of-life or unsupported firmware versions with vendor-supported alternatives where no patch is forthcoming.
bash
# Example firewall rule to block WAN access to the router web UI (run on an upstream gateway)
iptables -I FORWARD -p tcp -d <router_ip> --dport 80 -i <wan_iface> -j DROP
iptables -I FORWARD -p tcp -d <router_ip> --dport 443 -i <wan_iface> -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

  • SeverityHIGH

  • CVSS Score8.9

  • EPSS Probability1.22%

  • 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 Submission #792045

  • VulDB #356551

  • VulDB #356551 CTI Analysis

  • 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