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

CVE-2026-5338: Tenda G103 Command Injection Vulnerability

CVE-2026-5338 is a command injection flaw in Tenda G103 1.0.0.5 affecting the system.lua Setting Handler that enables remote code execution. This post covers the technical details, affected versions, and mitigation.

Published: April 2, 2026

CVE-2026-5338 Overview

A command injection vulnerability has been identified in Tenda G103 router firmware version 1.0.0.5. The vulnerability exists within the action_set_system_settings function located in the system.lua file of the Setting Handler component. Attackers can exploit this flaw by manipulating the lanIp argument, allowing arbitrary command execution on the affected device. This vulnerability can be exploited remotely over the network.

Critical Impact

Remote attackers with privileged access can inject and execute arbitrary system commands on Tenda G103 routers, potentially leading to full device compromise, network infiltration, and persistent backdoor installation.

Affected Products

  • Tenda G103 firmware version 1.0.0.5
  • Tenda G103 Setting Handler component (system.lua)
  • Tenda G103 action_set_system_settings function

Discovery Timeline

  • April 2, 2026 - CVE-2026-5338 published to NVD
  • April 2, 2026 - Last updated in NVD database

Technical Details for CVE-2026-5338

Vulnerability Analysis

This command injection vulnerability (CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component) affects the network configuration functionality of Tenda G103 routers. The vulnerability resides in the action_set_system_settings function within the system.lua file, which is part of the device's Setting Handler component.

When processing LAN IP address configuration requests, the function fails to properly sanitize user-supplied input in the lanIp parameter before incorporating it into system commands. This allows an authenticated attacker with high privileges to inject malicious commands that will be executed with the permissions of the web server process, typically running as root on embedded devices.

The exploit has been publicly disclosed, increasing the risk of widespread exploitation against unpatched devices.

Root Cause

The root cause of this vulnerability is insufficient input validation and sanitization in the action_set_system_settings function. The lanIp parameter is directly passed to system command execution without proper escaping or validation of special characters. This allows command separators (such as semicolons, pipes, or backticks) to be interpreted by the underlying shell, enabling arbitrary command injection.

Attack Vector

The attack can be performed remotely over the network by an authenticated attacker with administrative privileges. The attacker sends a specially crafted HTTP request to the router's web interface, embedding malicious shell commands within the lanIp parameter value.

The vulnerability requires network access to the device's management interface and administrative credentials. An attacker who has gained access to the router's administrative panel (through credential theft, default credentials, or other means) can leverage this vulnerability to execute arbitrary commands on the underlying operating system.

For technical details about the exploitation mechanism, see the GitHub Repository for Tenda G103 and VulDB Vulnerability #354669.

Detection Methods for CVE-2026-5338

Indicators of Compromise

  • Unusual HTTP requests to the router's Setting Handler with malformed or suspicious lanIp parameter values containing shell metacharacters
  • Unexpected processes or network connections originating from the Tenda G103 device
  • Modified configuration files or unauthorized changes to system settings
  • Presence of unauthorized scripts or binaries in the router's filesystem

Detection Strategies

  • Monitor HTTP traffic to the router's management interface for requests containing command injection patterns (semicolons, pipes, backticks, $(...) constructs) in the lanIp parameter
  • Implement network-based intrusion detection rules targeting the action_set_system_settings endpoint with suspicious payloads
  • Review router access logs for authentication anomalies or repeated configuration change attempts

Monitoring Recommendations

  • Enable and centralize logging for the Tenda G103 device's web management interface
  • Deploy network monitoring to detect unusual outbound connections from IoT devices
  • Implement behavioral analysis for the router to identify deviations from normal operation patterns

How to Mitigate CVE-2026-5338

Immediate Actions Required

  • Restrict access to the router's management interface to trusted IP addresses only
  • Ensure strong, unique administrative credentials are in place and avoid using default passwords
  • Place the Tenda G103 management interface behind a firewall or on an isolated management VLAN
  • Monitor the Tenda Official Website for firmware updates addressing this vulnerability

Patch Information

At the time of publication, no official patch has been released by Tenda for this vulnerability. Organizations should monitor the vendor's website and security advisories for firmware updates. In the interim, implementing network-level access controls and monitoring is strongly recommended.

Additional technical details and tracking information can be found at VulDB Submission Page #781131 and VulDB CTI for #354669.

Workarounds

  • Disable remote management access to the router if not required for operations
  • Implement firewall rules to block external access to the device's web interface on port 80/443
  • Use a VPN for remote administration rather than exposing the management interface directly to the network
  • Consider replacing vulnerable devices with alternatives that have active security support if patches are not forthcoming
bash
# Example firewall rule to restrict management interface access
# Block external access to router management interface
iptables -A INPUT -p tcp --dport 80 -s !192.168.1.0/24 -j DROP
iptables -A INPUT -p tcp --dport 443 -s !192.168.1.0/24 -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/TechTenda

  • SeverityMEDIUM

  • CVSS Score5.1

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:H/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-74
  • Technical References
  • GitHub Repository for Tenda G103

  • VulDB Submission Page #781131

  • VulDB Vulnerability #354669

  • VulDB CTI for #354669

  • Tenda Official Website
  • Related CVEs
  • CVE-2026-5339: Tenda G103 RCE Vulnerability

  • CVE-2026-4554: Tenda F453 RCE Vulnerability

  • CVE-2026-4253: Tenda AC8 RCE Vulnerability

  • CVE-2026-24107: Tenda W20e Firmware RCE Vulnerability
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