Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-25857

CVE-2026-25857: Tenda G300-F Router RCE Vulnerability

CVE-2026-25857 is a remote code execution flaw in Tenda G300-F router firmware affecting version 16.01.14.2 and earlier. Attackers can inject OS commands via the WAN diagnostic interface to execute arbitrary code.

Published: February 13, 2026

CVE-2026-25857 Overview

CVE-2026-25857 is a critical OS command injection vulnerability affecting the Tenda G300-F router firmware. The vulnerability exists in the WAN diagnostic functionality (formSetWanDiag), where the implementation constructs a shell command that invokes curl and incorporates attacker-controlled input into the command line without adequate neutralization. This allows a remote attacker with access to the affected management interface to inject additional shell syntax and execute arbitrary commands on the device with the privileges of the management process.

Critical Impact

Remote attackers can achieve complete device compromise through arbitrary command execution on affected Tenda G300-F routers, potentially leading to network infrastructure takeover.

Affected Products

  • Tenda G300-F router firmware version 16.01.14.2
  • Tenda G300-F router firmware versions prior to 16.01.14.2

Discovery Timeline

  • 2026-02-07 - CVE CVE-2026-25857 published to NVD
  • 2026-02-10 - Last updated in NVD database

Technical Details for CVE-2026-25857

Vulnerability Analysis

This vulnerability is classified as CWE-78 (Improper Neutralization of Special Elements used in an OS Command), commonly known as OS Command Injection. The flaw resides in the formSetWanDiag function within the Tenda G300-F router's web management interface.

The vulnerable implementation constructs shell commands dynamically by concatenating user-supplied input directly into command strings without proper sanitization or validation. When the router's WAN diagnostic functionality is invoked, it utilizes the curl command to perform network diagnostics. However, the parameters passed to this function are not adequately neutralized, allowing an attacker to inject arbitrary shell metacharacters and commands.

An authenticated attacker with access to the router's management interface can craft malicious input containing shell command separators (such as ;, |, &&, or backticks) to break out of the intended command context and execute arbitrary commands with the same privileges as the router's management process—typically root-level access on embedded devices.

Root Cause

The root cause of this vulnerability is insufficient input validation and improper neutralization of special shell characters in the formSetWanDiag function. The firmware fails to sanitize user-controllable parameters before incorporating them into dynamically constructed shell commands, violating secure coding practices for OS command handling.

Attack Vector

The attack is conducted over the network against the router's web management interface. An attacker requires authenticated access to the management interface to exploit this vulnerability. The attacker can inject shell metacharacters into the diagnostic parameters, causing the router to execute arbitrary commands. This could result in complete device compromise, persistent backdoor installation, network traffic interception, or use of the device as a pivot point for further attacks within the network.

For detailed technical analysis of the exploitation mechanism, refer to the security advisory from VulnCheck or the detailed CVE analysis on Evan's Blog.

Detection Methods for CVE-2026-25857

Indicators of Compromise

  • Unexpected processes running on the router such as reverse shells, wget/curl downloads to unusual destinations, or persistent connections to external IP addresses
  • Modified system files or configurations on the router that were not performed by authorized administrators
  • Unusual outbound network connections originating from the router to unknown command-and-control infrastructure
  • Log entries showing suspicious diagnostic function calls containing shell metacharacters (;, |, &&, `)

Detection Strategies

  • Monitor HTTP traffic to the router's management interface for requests to the formSetWanDiag endpoint containing shell metacharacters or command injection patterns
  • Implement network-based intrusion detection rules to identify command injection attempts targeting Tenda router management interfaces
  • Deploy SentinelOne Singularity for IoT/Network to detect anomalous behavior from network infrastructure devices
  • Review router access logs for authentication events followed by suspicious diagnostic function invocations

Monitoring Recommendations

  • Enable comprehensive logging on network segments where Tenda routers are deployed
  • Implement alerting for any management interface access from untrusted networks or IP addresses
  • Regularly audit running processes and network connections on affected devices if shell access is available
  • Monitor for firmware integrity changes or unauthorized configuration modifications

How to Mitigate CVE-2026-25857

Immediate Actions Required

  • Restrict access to the router's management interface to trusted administrative networks only using firewall rules or VLANs
  • Disable remote management access from WAN interfaces if not strictly required
  • Implement strong authentication credentials and change default passwords on all affected devices
  • Consider network segmentation to isolate affected routers from critical systems until patching is available

Patch Information

At the time of publication, check the Tenda Material Download page for updated firmware versions that address this vulnerability. Organizations should apply the latest firmware update as soon as it becomes available from the vendor.

Workarounds

  • Restrict management interface access to localhost or trusted administrator IP addresses only
  • Place affected routers behind additional firewall protection that filters malicious input patterns
  • If the WAN diagnostic feature is not required, consider disabling it through available configuration options
  • Implement network access controls to prevent unauthorized users from reaching the management interface
bash
# Example: Restrict management access via iptables on upstream firewall
# Allow management interface access only from trusted admin subnet
iptables -A FORWARD -d <router_ip> -p tcp --dport 80 -s 192.168.1.0/24 -j ACCEPT
iptables -A FORWARD -d <router_ip> -p tcp --dport 80 -j DROP
iptables -A FORWARD -d <router_ip> -p tcp --dport 443 -s 192.168.1.0/24 -j ACCEPT
iptables -A FORWARD -d <router_ip> -p tcp --dport 443 -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

  • SeverityHIGH

  • CVSS Score8.6

  • EPSS Probability0.15%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/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-78
  • Technical References
  • Evan's Blog CVE Analysis

  • Tenda Material Download

  • VulnCheck Tenda Advisory
  • Related CVEs
  • CVE-2026-38834: Tenda W30E Command Injection Vulnerability

  • CVE-2026-38835: Tenda W30E Command Injection Vulnerability

  • CVE-2026-5527: Tenda 4G03 Pro Hard-Coded Key Vulnerability

  • CVE-2026-5547: Tenda AC10 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