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

CVE-2026-5844: D-Link DIR-882 RCE Vulnerability

CVE-2026-5844 is a remote code execution flaw in D-Link DIR-882 1.01B02 that allows OS command injection via the IPAddress parameter. This article covers technical details, affected versions, impact, and mitigation.

Published: April 9, 2026

CVE-2026-5844 Overview

A critical OS command injection vulnerability has been identified in D-Link DIR-882 firmware version 1.01B02. The vulnerability exists in the sprintf function within the prog.cgi file of the HNAP1 SetNetworkSettings Handler component. An attacker can exploit this flaw by manipulating the IPAddress argument to inject arbitrary operating system commands, potentially gaining complete control over the affected device.

Critical Impact

Remote attackers with privileged access can execute arbitrary OS commands on vulnerable D-Link DIR-882 routers, potentially leading to complete device compromise, network infiltration, and unauthorized access to connected systems. This vulnerability affects an end-of-life product that is no longer supported by D-Link.

Affected Products

  • D-Link DIR-882 firmware version 1.01B02
  • D-Link DIR-882 routers running vulnerable HNAP1 SetNetworkSettings Handler
  • End-of-life D-Link products with unpatched firmware

Discovery Timeline

  • 2026-04-09 - CVE-2026-5844 published to NVD
  • 2026-04-09 - Last updated in NVD database

Technical Details for CVE-2026-5844

Vulnerability Analysis

This vulnerability is classified as CWE-77 (Command Injection), which occurs when an application constructs a command using externally-influenced input without proper neutralization of special elements. In the case of CVE-2026-5844, the D-Link DIR-882 router's web management interface fails to properly sanitize user-supplied input to the IPAddress parameter within the HNAP1 SetNetworkSettings Handler.

The vulnerability can be exploited remotely over the network, though it requires privileged authentication to access the vulnerable functionality. Once exploited, an attacker can achieve high impact on confidentiality, integrity, and availability of the affected device. The exploit has been publicly disclosed, increasing the risk of widespread exploitation.

Root Cause

The root cause of this vulnerability lies in the unsafe use of the sprintf function in the prog.cgi file. The IPAddress argument is passed directly to system command construction without adequate input validation or sanitization. This allows special shell metacharacters to break out of the intended command context and execute arbitrary commands with the privileges of the web server process, typically root on embedded devices.

Attack Vector

The attack vector is network-based, targeting the HNAP1 (Home Network Administration Protocol) interface on the D-Link DIR-882 router. An attacker with authenticated access to the router's administrative interface can craft a malicious request to the SetNetworkSettings handler, injecting OS commands through the IPAddress parameter.

The exploitation flow involves sending a specially crafted HTTP request to the prog.cgi endpoint with command injection payloads embedded in the IPAddress field. When the vulnerable sprintf function processes this input, the injected commands are executed on the underlying Linux-based operating system.

Technical details and proof-of-concept information are available through VulDB Vulnerability #356329 and the associated file archive.

Detection Methods for CVE-2026-5844

Indicators of Compromise

  • Unusual outbound network connections from the router to unknown IP addresses
  • Unexpected DNS query patterns or traffic to command-and-control infrastructure
  • Modified router configuration files or unauthorized user accounts
  • Anomalous HTTP POST requests to /prog.cgi containing shell metacharacters in the IPAddress parameter

Detection Strategies

  • Monitor network traffic for suspicious HNAP1 requests to D-Link devices, particularly those containing special characters (;, |, $(), backticks) in form parameters
  • Implement web application firewall rules to detect and block command injection patterns in router management traffic
  • Review router access logs for unexpected administrative access or configuration changes
  • Deploy network intrusion detection signatures for known D-Link exploitation patterns

Monitoring Recommendations

  • Enable logging on network segments containing D-Link DIR-882 devices and forward logs to a SIEM solution
  • Implement network segmentation to isolate vulnerable IoT devices from critical infrastructure
  • Monitor for firmware modification attempts or unauthorized file system access on affected devices

How to Mitigate CVE-2026-5844

Immediate Actions Required

  • Immediately isolate affected D-Link DIR-882 routers from untrusted networks
  • Restrict administrative access to trusted IP addresses only using firewall rules
  • Disable remote management features if not required for operations
  • Plan for device replacement as this product is end-of-life and no longer supported by D-Link

Patch Information

This vulnerability affects D-Link DIR-882 firmware version 1.01B02, which is an end-of-life product. D-Link has indicated that this product is no longer supported and no security patches will be released. Organizations using affected devices should prioritize replacement with currently supported hardware.

For more information, visit the D-Link Official Website for current product offerings and security advisories.

Workarounds

  • Implement network-level access controls to restrict who can reach the router's management interface
  • Use a VPN for remote administration instead of exposing the management interface directly
  • Configure upstream firewall rules to block external access to HNAP1 endpoints
  • Consider replacing the device with a supported router model that receives security updates
bash
# Example firewall rules to restrict management access (iptables)
# Block external access to router management port
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

# Allow only specific trusted admin IP
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

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechD Link

  • SeverityHIGH

  • CVSS Score7.3

  • EPSS Probability0.19%

  • 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
  • Technical References
  • Catbox File Download

  • VulDB Submission #790290

  • VulDB Vulnerability #356329

  • VulDB CTI for #356329

  • D-Link Official Website
  • Related CVEs
  • CVE-2026-4499: D-Link DIR-820LW RCE Vulnerability

  • CVE-2026-1625: D-Link DWR-M961 RCE Vulnerability

  • CVE-2026-1624: D-Link DWR-M961 RCE Vulnerability

  • CVE-2026-1544: D-Link DIR-823X 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