External risk intelligence

D-Link R95 Remote OS Command Injection

CVE advisorySeverity: CRITICAL (CVSS 9.3)

CVE-2026-138225

The vulnerability affects a D-Link router, which is typically deployed as an edge network device. The affected component, the DHMAPI SOAP Interface, provides a network-accessible management or service function. Such router interfaces are frequently exposed to the network to facilitate device management and configuration, making them a common target for remote access in real-world deployments.

OS Command Injection

Halo Surface Signal: 4 out of 5 — likely to be public-facing.

External exposure likelihood

Horizon Alert

Summary of the vulnerability and why it matters

A critical security flaw has been identified in D-Link routers, specifically within the DHMAPI SOAP Interface. This vulnerability could allow remote attackers to execute arbitrary operating system commands, potentially impacting the security and integrity of affected network devices. The exploit for this issue has been published, increasing the risk of its use.

  • Flaw allows remote command execution on routers.
  • Affects network edge devices, a common target.
  • Confirm relevance and exposure for critical devices.

Attack Path

How an attacker could exploit the issue

An attacker can remotely trigger this vulnerability by interacting with a D-Link router that has the vulnerable firmware. The attacker targets the DHMAPI SOAP Interface, specifically the SetQoSHostInfo function within the /bin/ssi file. By manipulating the Hostname argument, the attacker can inject operating system commands, potentially leading to a compromise of the device.

  • No authentication or user interaction required.
  • Vulnerable function exposed via network interface.
  • Full system compromise and data theft.

Live Threat

Current exploitation, exposure, and threat context

This vulnerability could allow an unauthenticated remote attacker to execute arbitrary operating system commands on the affected D-Link router by sending a specially crafted request to the DHMAPI SOAP Interface. This could compromise the router's functionality and potentially lead to further network intrusion.

  • Router command execution is at risk.
  • Remotely initiated commands can exploit the flaw.
  • Network compromise could result from exploitation.

Operational Fix

Recommended remediation, mitigation, and detection steps

This critical vulnerability in D-Link router firmware necessitates immediate action by network infrastructure and security teams. The first step is to identify all instances of the affected D-Link R95 devices, determine their network exposure and business criticality, and then locate the accountable owner for remediation planning.

  • Network and Security teams should own this issue.
  • Verify device exposure and business criticality first.
  • Plan remediation during the next maintenance window.

Supplementary metadata

Validate whether this threat affects your internet-facing exposure.

Halo Threat Intelligence helps prioritize remediation with Halo Surface Signal and H/A/L/O context. Start exposure validation with a free external attack surface trial.

Frequently asked questions

What is the D-Link R95 and what is its purpose?

The D-Link R95 is a networking device, specifically a router, designed to manage home or small office internet connectivity. It functions as a gateway to direct traffic and manage network configurations. The specific version 1.04B04Beta includes an internal component called the DHMAPI SOAP Interface, which handles remote service requests and management commands to keep the router's settings and quality of service parameters synchronized with connected devices.

How does this vulnerability allow OS command injection?

This flaw is classified as OS Command Injection (CWE-78). It happens because the router's software does not properly sanitize data before using it. Specifically, the SetQoSHostInfo function blindly trusts the 'Hostname' argument provided by a user. When a specially crafted string is sent, the router mistakes the malicious input for a legitimate system instruction, allowing an attacker to run their own commands directly on the device's operating system.

Does this vulnerability require special access to trigger?

No. The flaw is triggered by sending a crafted request to the router's DHMAPI SOAP Interface over the network. It does not require the attacker to have an existing account, nor does it require any interaction from a legitimate user. It is important to note that simply connecting to the device's wireless network is not required; the vulnerability is reachable as long as the router's management interface is accessible to the attacker.

Is my D-Link R95 at risk if it is behind a firewall?

According to Halo Surface Signal, this vulnerability is most concerning for devices serving as internet-facing edge routers. If your device is directly exposed to the public internet, it faces a higher likelihood of being targeted. Devices tucked behind a secondary firewall or those not reachable from the public internet are less immediately exposed, though they remain vulnerable to threats originating from within your local network.

What is the first step to secure my network against this?

Start by identifying all D-Link R95 devices currently deployed in your environment. Once you have a list, determine which of these devices are accessible from the internet versus those strictly on an internal network. Prioritize your response by verifying the business criticality of those exposed units. Locate the responsible owner for these assets to ensure they are prepared to apply official security updates or configuration changes during your next maintenance window.

References