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-2024-39226

CVE-2024-39226: GL-iNet MT6000 Firmware RCE Vulnerability

CVE-2024-39226 is a remote code execution vulnerability in GL-iNet MT6000 Firmware allowing attackers to execute malicious shell commands via the s2s API. This article covers technical details, affected versions, and mitigation.

Published: April 8, 2026

CVE-2024-39226 Overview

CVE-2024-39226 is a critical command injection vulnerability affecting multiple GL-iNet router products. The vulnerability exists in the s2s (site-to-site) API interface, which fails to properly sanitize user-supplied input before passing it to shell command execution. This flaw allows remote unauthenticated attackers to execute arbitrary shell commands on affected devices, potentially leading to complete device compromise.

Critical Impact

Remote attackers can execute arbitrary shell commands on vulnerable GL-iNet routers without authentication, enabling full device takeover, network pivoting, and persistent backdoor installation.

Affected Products

  • GL-iNet AR750/AR750S/AR300M/AR300M16/MT300N-V2/B1300/MT1300/SFT1200/X750 (firmware v4.3.11)
  • GL-iNet MT3000/MT2500/AXT1800/AX1800/A1300/X300B (firmware v4.5.16)
  • GL-iNet XE300 (firmware v4.3.16), E750 (firmware v4.3.12), AP1300/S1300 (firmware v4.3.13)
  • GL-iNet XE3000/X3000 (firmware v4.4), MT6000 (firmware v4.5.8)
  • GL-iNet B2200/MV1000/MV1000W/USB150/SF1200/N300/S1300 (firmware v3.216)

Discovery Timeline

  • August 6, 2024 - CVE-2024-39226 published to NVD
  • November 12, 2024 - Last updated in NVD database

Technical Details for CVE-2024-39226

Vulnerability Analysis

This vulnerability is classified under CWE-77 (Command Injection) and CWE-22 (Path Traversal). The s2s API interface in GL-iNet router firmware is designed to facilitate site-to-site VPN communication and configuration. However, the implementation fails to properly validate and sanitize input parameters before incorporating them into shell commands executed on the underlying Linux-based operating system.

The vulnerability allows network-based attackers to craft malicious requests to the s2s API endpoint containing shell metacharacters or command separators. When the vulnerable firmware processes these requests, the injected commands are executed with the privileges of the web server process, which typically runs with elevated permissions on embedded router systems.

Root Cause

The root cause of this vulnerability lies in improper input validation within the s2s API handler. The firmware accepts user-controlled input through API parameters and passes this data directly to shell execution functions without adequate sanitization. The absence of input filtering for dangerous characters such as semicolons (;), pipes (|), backticks (`), and command substitution sequences ($(...)) enables attackers to break out of the intended command context and inject arbitrary commands.

Attack Vector

The attack vector is network-based and requires no authentication or user interaction. An attacker with network access to the router's management interface can send specially crafted HTTP requests to the s2s API endpoint. The malicious payload embedded in API parameters is then processed by the backend, resulting in command execution.

The exploitation flow typically involves:

  1. Identifying a vulnerable GL-iNet router through network scanning or banner grabbing
  2. Crafting a malicious HTTP request targeting the s2s API endpoint
  3. Embedding shell commands within API parameters using command injection techniques
  4. The router executes the injected commands, granting the attacker arbitrary code execution

For detailed technical information about the vulnerability mechanism, see the GL-iNet CVE Issues documentation.

Detection Methods for CVE-2024-39226

Indicators of Compromise

  • Unusual outbound network connections from the router to unknown external IP addresses
  • Unexpected processes running on the router that are not part of standard firmware operations
  • Modifications to router configuration files or the presence of unauthorized user accounts
  • Anomalous log entries showing malformed s2s API requests with shell metacharacters

Detection Strategies

  • Monitor HTTP traffic to the router management interface for requests containing shell metacharacters (;, |, `, $()) in s2s API parameters
  • Implement network intrusion detection rules to flag unusual request patterns targeting GL-iNet router API endpoints
  • Deploy firmware integrity monitoring to detect unauthorized modifications to system files
  • Review router access logs for repeated or suspicious API calls from unexpected source addresses

Monitoring Recommendations

  • Configure network segmentation to isolate router management interfaces from general network traffic
  • Enable logging on all GL-iNet devices and forward logs to a centralized SIEM for correlation and analysis
  • Set up alerts for any modifications to critical router configurations or firmware files
  • Regularly audit network traffic patterns for anomalies indicative of compromised router behavior

How to Mitigate CVE-2024-39226

Immediate Actions Required

  • Update all affected GL-iNet devices to the latest firmware version available from the vendor immediately
  • Restrict access to the router management interface to trusted IP addresses only using firewall rules
  • Disable remote management features if not required for operations
  • Monitor affected devices for signs of compromise and conduct forensic analysis if suspicious activity is detected

Patch Information

GL-iNet has acknowledged this vulnerability. Administrators should check the GL-iNet official website for the latest firmware releases that address this command injection vulnerability. Review the GL-iNet CVE Issues repository for technical details and update guidance.

Workarounds

  • Implement strict network access controls to limit which hosts can reach the router management interface
  • Use a VPN or jump host to access router administration rather than exposing management interfaces directly
  • Deploy a web application firewall (WAF) or reverse proxy with input validation rules to filter malicious requests
  • Disable the s2s API functionality if it is not actively used in your deployment
bash
# Example: Restrict management interface access via iptables
# Allow only trusted management IP to access the router web interface
iptables -A INPUT -p tcp --dport 80 -s 192.168.1.100 -j ACCEPT
iptables -A INPUT -p tcp --dport 443 -s 192.168.1.100 -j ACCEPT
iptables -A INPUT -p tcp --dport 80 -j DROP
iptables -A INPUT -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/TechGl Inet

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability13.64%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-22

  • CWE-77
  • Technical References
  • GitHub CVE-4.0.0 Shell Injection
  • Related CVEs
  • CVE-2026-26795: GL-iNet GL-AR300M16 RCE Vulnerability

  • CVE-2023-50445: GL.iNet Router Firmware RCE Vulnerability

  • CVE-2024-39227: GL-iNet MT6000 Firmware RCE Vulnerability

  • CVE-2026-32293: GL-iNet Comet Information Disclosure Flaw
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