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

CVE-2026-5679: Totolink A3300R Command Injection Vulnerability

CVE-2026-5679 is an OS command injection flaw in Totolink A3300R router firmware that enables remote code execution. This article covers the technical details, affected versions, security impact, and mitigation strategies.

Published: April 10, 2026

CVE-2026-5679 Overview

A command injection vulnerability has been identified in the Totolink A3300R router firmware version 17.0.0cu.557_B20221024. The vulnerability exists in the vsetTr069Cfg function within the /cgi-bin/cstecgi.cgi file, where improper handling of the stun_pass argument allows an attacker to inject arbitrary OS commands. This vulnerability has been publicly disclosed and proof-of-concept exploit code is available.

Critical Impact

Successful exploitation allows authenticated attackers on adjacent networks to execute arbitrary system commands on the affected router, potentially leading to complete device compromise, network traffic interception, or lateral movement within the network.

Affected Products

  • Totolink A3300R Firmware Version 17.0.0cu.557_B20221024

Discovery Timeline

  • 2026-04-06 - CVE-2026-5679 published to NVD
  • 2026-04-07 - Last updated in NVD database

Technical Details for CVE-2026-5679

Vulnerability Analysis

This vulnerability is classified as CWE-77 (Improper Neutralization of Special Elements used in a Command). The vsetTr069Cfg function in the Totolink A3300R router's CGI binary fails to properly sanitize user-supplied input in the stun_pass parameter before passing it to system shell commands.

The attack requires adjacent network access and low-privilege authentication, meaning an attacker must have network proximity to the target device and possess valid credentials. While the required access conditions somewhat limit the attack surface, the vulnerability's exploitation is straightforward once those prerequisites are met.

Upon successful exploitation, an attacker can execute arbitrary operating system commands with the privileges of the web server process, typically running as root on embedded devices like routers. This could lead to unauthorized access to sensitive configuration data, modification of DNS settings for traffic interception, installation of persistent backdoors, or using the compromised router as a pivot point for further network attacks.

Root Cause

The root cause is insufficient input validation in the vsetTr069Cfg function. When processing the stun_pass argument, the function directly incorporates user input into shell commands without proper sanitization or escaping of special characters. This allows an attacker to break out of the intended command context and inject additional commands.

Attack Vector

The attack is conducted from an adjacent network, requiring the attacker to be on the same network segment as the vulnerable router. Authentication with low-level privileges is required to access the affected CGI endpoint.

The exploitation flow typically follows this pattern:

  1. Attacker authenticates to the router's web interface with valid credentials
  2. Attacker crafts a malicious HTTP request to /cgi-bin/cstecgi.cgi targeting the vsetTr069Cfg function
  3. The stun_pass parameter contains command injection payloads using shell metacharacters
  4. The injected commands execute on the router with elevated privileges

Technical details and proof-of-concept code are available at the GitHub PoC Repository.

Detection Methods for CVE-2026-5679

Indicators of Compromise

  • Unusual HTTP POST requests to /cgi-bin/cstecgi.cgi containing shell metacharacters (;, |, $(), backticks) in the stun_pass parameter
  • Unexpected outbound connections from the router to external IP addresses
  • Modified router configuration files or unexpected processes running on the device
  • Anomalous DNS resolution behavior or traffic redirects through the network

Detection Strategies

  • Implement network intrusion detection rules to monitor HTTP traffic to router management interfaces for command injection patterns
  • Deploy web application firewall (WAF) rules on network segments to detect and block requests containing OS command injection payloads in CGI parameters
  • Monitor router syslog output for unusual command executions or error messages related to the TR-069 configuration module

Monitoring Recommendations

  • Enable and centralize logging from router management interfaces to a SIEM solution
  • Configure alerting for multiple failed authentication attempts followed by successful logins to router admin panels
  • Implement network segmentation monitoring to detect lateral movement from compromised IoT devices

How to Mitigate CVE-2026-5679

Immediate Actions Required

  • Restrict access to the router's administrative interface to trusted IP addresses only
  • Disable remote management features if not required
  • Implement strong, unique passwords for all router accounts
  • Place management interfaces on isolated VLANs accessible only to authorized administrators

Patch Information

At the time of publication, no official patch has been released by Totolink. Monitor the TOTOLINK Official Website for firmware updates addressing this vulnerability. Additional technical details are available at VulDB #355506.

Workarounds

  • Implement access control lists (ACLs) to restrict access to the /cgi-bin/cstecgi.cgi endpoint from untrusted network segments
  • Consider deploying a network-level firewall or IPS in front of the affected device to filter malicious requests
  • If TR-069 remote management functionality is not required, disable it through the router's configuration interface
  • Replace the affected device with a patched or alternative product if the risk is deemed unacceptable
bash
# Example network-level mitigation using iptables on a gateway device
# Block external access to router management interface
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 from management VLAN
iptables -I FORWARD -s <MGMT_VLAN_SUBNET> -d <ROUTER_IP> -p tcp --dport 80 -j ACCEPT
iptables -I FORWARD -s <MGMT_VLAN_SUBNET> -d <ROUTER_IP> -p tcp --dport 443 -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

  • SeverityMEDIUM

  • CVSS Score5.1

  • EPSS Probability0.87%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:A/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-77
  • Technical References
  • GitHub PoC Repository

  • VulDB Submission #792650

  • VulDB Submission #792798

  • VulDB #355506

  • VulDB CTI #355506

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