External risk intelligence

D-Link R95 OS Command Injection Vulnerability

CVE advisorySeverity: CRITICAL (CVSS 9.3)

CVE-2026-138226

The vulnerability affects a D-Link router component, specifically a SOAP-based management interface. Consumer-grade and small business routers frequently expose management interfaces or related service APIs to the network, and while often intended for local access, they are commonly reachable in residential or small office internet-facing deployment scenarios.

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 vulnerability exists in D-Link R95 devices, allowing remote attackers to execute arbitrary commands by manipulating a specific function within the DHMAPI SOAP interface. This could potentially lead to a compromise of the affected systems.

  • Remote command execution on D-Link devices.
  • Critical vulnerability affects D-Link router components.
  • Confirm relevance and exposure of D-Link devices.

Attack Path

How an attacker could exploit the issue

An attacker can remotely target the D-Link R95 router by interacting with its DHMAPI SOAP interface. By sending specially crafted data to the `SetSecureDNSSettings` function, the attacker can manipulate the `URI` argument, leading to the execution of arbitrary operating system commands. This vulnerability allows for remote code execution and potential compromise of the device.

  • Exposed SOAP interface.
  • Manipulated `URI` argument.
  • Arbitrary command execution risk.

Live Threat

Current exploitation, exposure, and threat context

The operating system command injection vulnerability in D-Link R95's DHMAPI SOAP interface could allow an unauthenticated, remote attacker to execute arbitrary commands on the affected device. This could potentially impact the device's core functions and any services it manages, when supported by the advisory.

  • Device operating system.
  • Remotely, via manipulated arguments.
  • System compromise and unauthorized control.

Operational Fix

Recommended remediation, mitigation, and detection steps

This critical vulnerability in D-Link routers, specifically affecting the DHMAPI SOAP interface, requires action from infrastructure and network security teams. The immediate priority is to identify all instances of the affected device, determine their network exposure and business criticality, and then assign ownership for remediation planning.

  • Infrastructure and security teams should own.
  • Verify device reachability and criticality.
  • Plan vendor coordination or mitigation.

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 its role in a network?

The D-Link R95 is a networking device, typically functioning as a router to manage internet connectivity and local network traffic. It includes management components like the DHMAPI SOAP interface, which acts as a bridge for administrative commands. This specific interface handles system configurations, allowing the device to perform networking tasks like managing secure DNS settings.

What does OS command injection mean for CVE-2026-138226?

This vulnerability involves OS command injection, classified as CWE-77 and CWE-78. In plain terms, it means the software fails to properly filter input provided by a user. Because the device treats this input as a command to be executed by the underlying operating system, an attacker can trick the router into running unauthorized instructions, potentially granting them full control over the system's core functions.

How is the command injection triggered?

The flaw is triggered when an attacker sends a specially crafted network request to the DHMAPI SOAP interface. Specifically, manipulating the 'URI' argument within the 'SetSecureDNSSettings' function allows the malicious input to pass through to the system. Legitimate traffic or standard interactions with the router's DNS settings that do not include these crafted, malicious arguments will not trigger the vulnerability.

Is my D-Link R95 device reachable from the internet?

According to Halo Surface Signal, consumer and small business routers like the D-Link R95 often expose their management interfaces to the network. While these APIs are intended for local administration, they are frequently reachable in residential or small-office environments where the device is internet-facing. You should assess if your router's management interface is accessible beyond your local network.

What steps should I take if I am running this technology?

First, identify all instances of the D-Link R95 within your environment. Verify whether these devices are reachable from the internet or other untrusted networks. Once located, coordinate with your network or infrastructure teams to plan remediation, which includes monitoring for official vendor guidance or updates to address this critical security concern.

References