On this page (6 sections)

A critical vulnerability, tracked as CVE-2026-138226, has been published for the D-Link R95 router running firmware 1.04B04Beta. The flaw is an OS command injection in the SetSecureDNSSettings function of the device's SOAP interface. According to the NVD entry, it can be attacked remotely and the exploit has been disclosed to the public.

If you run a D-Link R95 at an office, a shop, a branch site or a client location, or you manage networks that include one, this is worth checking today. Only the NVD record is available so far, so several details below are marked as unconfirmed.

What happened

The CVE was published on 2026-11-29. The NVD description states that the function SetSecureDNSSettings in the file /bin/ssi, part of the DHMAPI SOAP interface, mishandles the URI argument. Manipulating that argument leads to OS command injection, and the attack may be launched remotely.

The record also says the exploit has been disclosed to the public. The references include a GitHub repository and VulDB entries. Only one independent publisher covers this story so far, so treat the details as a single-source report until D-Link or other researchers add to it.

Technical background in plain terms

OS command injection happens when a program takes input from a user or a network request and passes it, without proper checks, to a command that the underlying operating system runs. If an attacker can shape that input, the device may run commands the attacker chose instead of only the intended action. The record classifies this under CWE-77 and CWE-78, the general and OS-specific command injection categories.

On a router, commands usually run with high privileges. Successful abuse could in principle let an attacker change settings, intercept or redirect traffic, or use the device as a foothold. The research does not describe the actual impact on the R95, whether authentication is required, or what privileges the injected commands get, so those points are unconfirmed.

The vulnerable function name suggests it handles DNS settings. DNS control matters because changing DNS can silently redirect users to attacker-controlled sites. That is an inference from the function name, not something the record states.

Who is affected

  • Owners of the D-Link R95 running firmware 1.04B04Beta, the only version named in the record.
  • Small businesses and agencies that deploy consumer or small-office routers at client sites.
  • Anyone whose router management interface is reachable from the internet, since the attack may be launched remotely.
  • Other R95 firmware versions are not mentioned. Do not assume they are safe or affected; ask D-Link.

Websites hosted behind such a router, for example on a small office server or a self-hosted store, share the router's risk. If the router is compromised, traffic to and from the site can be observed or redirected.

How to check your exposure

Start by finding out whether you have this model and version, then whether its management interface is exposed.

  1. Look at the label on the device and the admin page to confirm the model is a D-Link R95.
  2. Open the router's administration page and read the firmware version. Compare it with 1.04B04Beta.
  3. Check whether remote administration is enabled and whether the management or SOAP service is reachable from outside your network. From a machine outside your network, a scan of your public IP for open management ports will show this.
  4. Review the DNS servers configured on the router. Any address you do not recognize is a warning sign.
  5. Look through router logs, if available, for unexpected configuration changes or reboots.
The research does not say which ports or paths the DHMAPI SOAP interface listens on, so this article does not list any. Check D-Link documentation or support for specifics.

What to do now

No fixed firmware version is named in the research. Until D-Link responds, focus on limiting exposure.

  1. Identify every D-Link R95 you own or manage and note its firmware version.
  2. Disable remote (WAN-side) administration and any cloud or SOAP-based management you do not need.
  3. Restrict access to the admin interface to a trusted internal management address or VLAN.
  4. Change the admin password to a strong, unique one and confirm default credentials are gone.
  5. Verify the DNS settings on the router and on connected devices are the ones you set.
  6. Check D-Link's website and your support contact for a security advisory or updated firmware, and install it once available.
  7. If the router sits in front of a business-critical site or store and no fix appears, plan to replace it with a supported model.
  8. If you suspect compromise, back up the configuration, factory reset, update firmware if possible, and set it up again with new credentials.
Caution. Resetting or reconfiguring a router interrupts connectivity for everything behind it. Do it in a maintenance window, and keep a copy of your ISP settings first.

Detection and monitoring

Because the exploit is public, watch for signs of tampering even without a confirmed patch. Unexpected changes in DNS settings, unknown admin accounts, new port forwards, unusual outbound connections from the router and repeated odd requests to the management interface are all worth investigating.

For websites behind the router, monitor from the outside as well. Certificate, DNS and header-change monitoring can flag unexpected changes to what the public sees, and the free SSL checker lets you confirm that your certificate is still the one you issued. These do not detect this flaw on the router itself, but they help you notice downstream effects such as redirected traffic.

If you find signs of compromise, follow the steps in Website hacked: what to do. For broader guidance on protecting a small site and its network, see small business website security.

Sources

This article is based on the public sources below. Details can change as vendors and researchers publish more; check the original advisories before acting on version numbers.

  1. CVE-2026-138226: A vulnerability has been found in D-Link R95 1.04B04Beta.nvd.nist.gov ·
  • D-Link
  • router
  • command injection
  • CVE-2026-138226
  • IoT