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

CVE-2026-1158: Totolink LR350 Buffer Overflow Vulnerability

CVE-2026-1158 is a buffer overflow flaw in Totolink LR350 9.3.5u.6369_B20220309 affecting the setWizardCfg function. Attackers can exploit this remotely via the ssid parameter. This article covers technical details, impact, and mitigation.

Published: January 23, 2026

CVE-2026-1158 Overview

A buffer overflow vulnerability has been discovered in the TOTOLINK LR350 router firmware version 9.3.5u.6369_B20220309. This vulnerability affects the setWizardCfg function within the /cgi-bin/cstecgi.cgi POST Request Handler component. By manipulating the ssid argument, a remote attacker can trigger a buffer overflow condition, potentially leading to arbitrary code execution or system compromise on the affected device.

Critical Impact

Remote attackers can exploit this buffer overflow vulnerability in TOTOLINK LR350 routers to potentially gain control of the device, intercept network traffic, or use the compromised router as a pivot point for further network attacks. The exploit has been publicly released, increasing the risk of active exploitation.

Affected Products

  • TOTOLINK LR350 firmware version 9.3.5u.6369_B20220309
  • TOTOLINK LR350 devices with vulnerable /cgi-bin/cstecgi.cgi endpoint
  • Network environments utilizing affected TOTOLINK router models

Discovery Timeline

  • 2026-01-19 - CVE-2026-1158 published to NVD
  • 2026-01-19 - Last updated in NVD database

Technical Details for CVE-2026-1158

Vulnerability Analysis

This vulnerability is classified under CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer), indicating a fundamental flaw in how the firmware handles memory operations. The setWizardCfg function in the TOTOLINK LR350's CGI binary fails to properly validate the length of user-supplied input for the ssid parameter before copying it into a fixed-size buffer.

When processing POST requests to /cgi-bin/cstecgi.cgi, the function does not implement adequate bounds checking, allowing an attacker to supply an oversized ssid value that exceeds the allocated buffer space. This overflow can corrupt adjacent memory, potentially overwriting critical data structures, function pointers, or return addresses on the stack.

The network-accessible nature of this vulnerability significantly increases its risk profile, as it can be exploited remotely without physical access to the device. The attack requires low privileges and no user interaction, making it particularly dangerous for exposed devices.

Root Cause

The root cause of this vulnerability lies in the improper input validation within the setWizardCfg function. The firmware developers failed to implement proper length checks before copying the user-supplied ssid parameter into a fixed-size memory buffer. This is a classic buffer overflow pattern where untrusted input is processed without adequate boundary verification, allowing memory corruption when input exceeds expected lengths.

Attack Vector

The attack vector is network-based, targeting the /cgi-bin/cstecgi.cgi endpoint on the TOTOLINK LR350 router. An attacker can craft a malicious POST request containing an oversized ssid parameter in the setWizardCfg function call. The vulnerability exploitation flow involves:

  1. Identifying an exposed TOTOLINK LR350 router with firmware version 9.3.5u.6369_B20220309
  2. Sending a crafted POST request to the /cgi-bin/cstecgi.cgi endpoint
  3. Including a maliciously long ssid parameter that exceeds buffer boundaries
  4. The overflow corrupts memory, potentially allowing arbitrary code execution

The exploit has been publicly disclosed, and technical details are available through the Notion Security Analysis and VulDB entries.

Detection Methods for CVE-2026-1158

Indicators of Compromise

  • Unusual or malformed POST requests targeting /cgi-bin/cstecgi.cgi with abnormally long ssid parameter values
  • Unexpected router crashes, reboots, or instability that may indicate exploitation attempts
  • Unauthorized configuration changes to wireless settings or network routing
  • Anomalous outbound connections from the router to unknown external IP addresses

Detection Strategies

  • Implement network intrusion detection rules to identify POST requests to /cgi-bin/cstecgi.cgi containing excessively long parameter values
  • Monitor router logs for repeated failed authentication attempts or unusual CGI request patterns
  • Deploy application-layer firewall rules to inspect and limit parameter lengths in requests to vulnerable endpoints
  • Use SentinelOne Singularity platform for network traffic analysis and anomaly detection on IoT/network device communications

Monitoring Recommendations

  • Enable comprehensive logging on network devices and forward logs to a centralized SIEM for correlation
  • Establish baseline network behavior for TOTOLINK devices and alert on deviations
  • Perform regular vulnerability scans of network infrastructure to identify exposed TOTOLINK routers
  • Monitor firmware version information across your network device inventory to track vulnerable deployments

How to Mitigate CVE-2026-1158

Immediate Actions Required

  • Restrict network access to the router's management interface, limiting it to trusted administrative networks only
  • Implement network segmentation to isolate potentially vulnerable TOTOLINK devices from critical network segments
  • Apply firewall rules to block external access to the /cgi-bin/cstecgi.cgi endpoint
  • Consider disabling remote management features until a vendor patch is available
  • Monitor the TOTOLINK Official Website for firmware security updates

Patch Information

At the time of publication, no official patch has been released by TOTOLINK for this vulnerability. Organizations should monitor the vendor's official website and security advisories for firmware updates that address CVE-2026-1158. Given the public disclosure of this vulnerability and its remote exploitation potential, prioritize patching once updates become available.

Workarounds

  • Disable remote administration access to the router and allow management only from local, trusted networks
  • Implement strict access control lists (ACLs) on upstream network devices to filter traffic destined for vulnerable router endpoints
  • Deploy a web application firewall (WAF) or reverse proxy to inspect and sanitize incoming requests to the router
  • Consider replacing vulnerable devices with alternative hardware if no patch is forthcoming from the vendor
bash
# Example: iptables rule to restrict access to management interface
# Apply on upstream firewall or router

# Block external access to CGI endpoints on TOTOLINK device (replace IP)
iptables -A FORWARD -d 192.168.1.1 -p tcp --dport 80 -m string --string "/cgi-bin/cstecgi.cgi" --algo bm -j DROP

# Allow management only from trusted admin network
iptables -A FORWARD -s 10.0.0.0/24 -d 192.168.1.1 -p tcp --dport 80 -j ACCEPT
iptables -A FORWARD -d 192.168.1.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
  • TypeBuffer Overflow

  • Vendor/TechTotolink

  • SeverityHIGH

  • CVSS Score7.4

  • EPSS Probability0.08%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:L/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-119
  • Technical References
  • Notion Security Analysis

  • VulDB #341752 (CTIID)

  • VulDB #341752

  • VulDB Submission #735728

  • TOTOLINK Official Website
  • Related CVEs
  • CVE-2026-7717: Totolink WA300 Buffer Overflow Vulnerability

  • CVE-2026-7719: Totolink WA300 Buffer Overflow Vulnerability

  • CVE-2026-7747: Totolink N300RH Buffer Overflow Vulnerability

  • CVE-2026-7750: Totolink N300RH Buffer Overflow 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