A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-2157

CVE-2026-2157: D-Link DIR-823X Firmware RCE Vulnerability

CVE-2026-2157 is a remote code execution vulnerability in D-Link DIR-823X Firmware caused by OS command injection in the static route function. This article covers the technical details, affected versions, impact, and mitigation.

Updated: May 15, 2026

CVE-2026-2157 Overview

CVE-2026-2157 is an operating system (OS) command injection vulnerability affecting the D-Link DIR-823X router running firmware version 250416. The flaw resides in the sub_4175CC function handling requests to /goform/set_static_route_table. An attacker can manipulate the interface, destip, netmask, gateway, or metric arguments to inject arbitrary shell commands. The vulnerability is remotely reachable over the network and the exploit details have been publicly disclosed, increasing the risk of opportunistic abuse against exposed devices.

Critical Impact

Authenticated remote attackers can inject operating system commands through the static route configuration endpoint, leading to full compromise of the router's confidentiality, integrity, and availability.

Affected Products

  • D-Link DIR-823X router (hardware)
  • D-Link DIR-823X firmware version 250416
  • Deployments exposing the web management interface to untrusted networks

Discovery Timeline

  • 2026-02-08 - CVE-2026-2157 published to the National Vulnerability Database (NVD)
  • 2026-02-11 - Last updated in the NVD database

Technical Details for CVE-2026-2157

Vulnerability Analysis

The vulnerability is classified under CWE-77 (Improper Neutralization of Special Elements used in a Command) and CWE-78 (OS Command Injection). The affected handler sub_4175CC processes HTTP POST data submitted to the /goform/set_static_route_table endpoint without sanitizing shell metacharacters. The router subsequently passes user-controlled values to a system shell to apply routing configuration, enabling command execution in the router's underlying Linux environment.

Successful exploitation grants the attacker the ability to execute arbitrary binaries, modify firmware behavior, pivot into the internal network, or capture traffic traversing the device. The EPSS (Exploit Prediction Scoring System) score is 0.653% with a percentile of 71.1, reflecting elevated probability of exploitation activity relative to the broader CVE population.

Root Cause

The sub_4175CC function fails to validate or sanitize the interface, destip, netmask, gateway, and metric request parameters before they are concatenated into a shell command. Special characters such as ;, |, &&, and backticks are interpreted by the underlying shell rather than treated as literal route configuration data. This is a classic input validation failure in an embedded web application that invokes system utilities for network configuration.

Attack Vector

The attack is delivered over the network against the router's HTTP management interface. According to the CVSS 4.0 vector, the attacker must possess high privileges, indicating authentication to the device administrative interface is required. After authenticating, the attacker submits a crafted POST request to /goform/set_static_route_table containing shell metacharacters embedded within one of the affected parameters. The injected command executes with the privileges of the web server process, typically root on consumer-grade routers.

No verified proof-of-concept code is published in structured exploit databases at this time, though a public issue report exists on GitHub. Refer to the GitHub CVE Issue Report and the VulDB entry #344859 for additional technical context.

Detection Methods for CVE-2026-2157

Indicators of Compromise

  • HTTP POST requests to /goform/set_static_route_table containing shell metacharacters such as ;, |, `, $(, or && in the interface, destip, netmask, gateway, or metric fields
  • Unexpected child processes spawned by the router's goahead or httpd web server, such as sh, wget, curl, tftp, or nc
  • Outbound connections from the router to unfamiliar hosts shortly after configuration changes
  • Unauthorized modifications to the device static route table or firmware persistence locations

Detection Strategies

  • Inspect router web access logs for POST requests to /goform/set_static_route_table and alert on parameter values containing non-routing characters
  • Deploy network detection rules that match shell metacharacters appearing in form parameters destined for D-Link administrative endpoints
  • Baseline normal egress from network infrastructure devices and alert on deviations such as router-initiated downloads or reverse shells

Monitoring Recommendations

  • Forward router syslog and HTTP audit logs to a centralized logging platform for correlation
  • Monitor for authentication events to the DIR-823X management UI from unexpected source addresses
  • Track firmware version and configuration drift across managed D-Link devices

How to Mitigate CVE-2026-2157

Immediate Actions Required

  • Restrict access to the router web management interface so it is reachable only from trusted internal hosts and never from the WAN
  • Rotate administrator credentials on all DIR-823X devices and enforce strong, unique passwords to reduce the chance of an attacker satisfying the authenticated precondition
  • Audit the static route table and recent configuration changes for unauthorized entries indicating prior exploitation
  • Treat exposed DIR-823X units as suspect and consider replacing or isolating them until a fixed firmware is available

Patch Information

No vendor patch has been published in the references available at the time of writing. D-Link customers should monitor the D-Link Security Resources portal for firmware updates addressing the sub_4175CC handler in /goform/set_static_route_table. Apply any subsequent firmware release on affected DIR-823X devices as soon as it becomes available.

Workarounds

  • Disable remote (WAN-side) administration on the DIR-823X and require management traffic to traverse a VPN
  • Place the router behind an upstream firewall that filters HTTP and HTTPS access to its management ports from untrusted segments
  • Segment the router from sensitive internal subnets so that a successful compromise does not yield lateral access to high-value assets
  • Where feasible, replace the affected device with a model that has current vendor support and a published fix
bash
# Example: block external access to the DIR-823X management interface using an upstream Linux firewall
# Replace 203.0.113.10 with the WAN IP of the router and 192.0.2.0/24 with your trusted admin subnet
iptables -A FORWARD -p tcp -d 203.0.113.10 --dport 80  -s 192.0.2.0/24 -j ACCEPT
iptables -A FORWARD -p tcp -d 203.0.113.10 --dport 443 -s 192.0.2.0/24 -j ACCEPT
iptables -A FORWARD -p tcp -d 203.0.113.10 --dport 80  -j DROP
iptables -A FORWARD -p tcp -d 203.0.113.10 --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/TechDlink

  • SeverityHIGH

  • CVSS Score7.3

  • EPSS Probability0.65%

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

  • CWE-78
  • Technical References
  • GitHub CVE Issue Report

  • VulDB CTI ID #344859

  • VulDB #344859

  • VulDB Submission ID #748376

  • D-Link Security Resources
  • Related CVEs
  • CVE-2026-8344: D-Link DIR-816 Firmware RCE Vulnerability

  • CVE-2026-8272: D-Link DNS-320 Firmware RCE Vulnerability

  • CVE-2026-7067: D-Link DIR-822 Firmware RCE Vulnerability

  • CVE-2026-1125: D-Link DIR-823X Firmware RCE Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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