On this page (7 sections)
CVE-2026-138227 is a critical OS command injection flaw in the D-Link R95, firmware version 1.04B04Beta. According to the GitHub Advisory Database entry, which mirrors the NVD record, the bug sits in the SetTimeSettings function and can be reached remotely. The advisory also states that the exploit has been made public.
If you run a D-Link R95 at an office, a branch site or a small business, or you manage one for clients, this is worth checking today. The advisory lists no patched version, so the practical focus is on limiting exposure of the router's management interface.
What happened
A vulnerability was recorded against the D-Link R95 on November 29, 2026. The description says the function SetTimeSettings in the file /bin/ssi, part of a component named DHMAPI, mishandles the TZLocation argument. Manipulating that argument leads to OS command injection, and the advisory says it can be done remotely.
The advisory also says the exploit has been made public and could be used. It does not say whether attackers are using it against real devices, and the research contains no report of active exploitation. Treat that as unconfirmed rather than as safe.
Technical details in plain terms
OS command injection happens when a device takes a value supplied by a user and passes it, without proper cleaning, to a command that the underlying operating system runs. Whoever controls that value can make the device run commands the manufacturer never intended. On a router, those commands usually run with high privileges, so the result can be full control of the device.
Here the value in question is TZLocation, a time zone setting handled by SetTimeSettings. Time and time zone fields look harmless, which is one reason they are a common place for this class of bug: firmware often builds a system command around them.
The CVSS v4 metrics in the advisory explain the 9.3 score:
| Metric | Value |
|---|---|
| Attack vector | Network |
| Attack complexity | Low |
| Attack requirements | None |
| Privileges required | None |
| User interaction | None |
| Impact on the vulnerable system (confidentiality, integrity, availability) | High, High, High |
| Impact on subsequent systems (confidentiality, integrity, availability) | High, High, High |
In short, the scoring describes an attack that works over the network, is not complex, needs no login and needs no action from a user. The advisory's own text says remote exploitation is possible, but it does not spell out whether the vulnerable function can be reached from the internet side or only from the local network. Check how your own device is exposed rather than assuming.
Who is affected
The advisory names D-Link R95 firmware 1.04B04Beta. Patched versions are listed as unknown, and affected versions are given only as this one build, so other firmware versions are neither confirmed vulnerable nor confirmed safe. The research does not say whether other models share the same code.
Realistic exposure depends on how the router is set up:
- Highest risk: a device whose web administration is reachable from the internet.
- Elevated risk: a device where untrusted people or devices share the local network, such as guest Wi-Fi bridged into the main network.
- Lower, but not zero: a device with management limited to a trusted wired network.
A compromised router matters beyond the device itself. It sits in the path of all traffic for the site or office behind it, so an attacker with control could redirect DNS, intercept unencrypted traffic or use the router as a foothold on the internal network.
How to check your exposure
Start with the basics: which model and firmware do you run, and who can reach the admin interface.
- Log in to the router's admin page from inside your network and find the model and firmware version in the status or system information page. Compare it with 1.04B04Beta.
- Check whether remote management (administration from the WAN or internet side) is enabled in the router settings. If it is, turning it off is the most important step.
- From a device outside your network, such as a phone on mobile data, try to open your public IP address in a browser. If you see the router's login page, it is reachable from the internet.
- Review your router's logs, if it keeps any, for unexpected configuration changes, unknown admin accounts, or time zone and system settings you did not set.
Webforta's free SSL checker and security headers checker cover websites rather than routers, so use them for the sites you host, not as a test for this flaw.
What to do now
No fixed firmware is named in the advisory, so the aim is to reduce who can reach the vulnerable function while you wait for guidance from the vendor.
- Confirm whether any D-Link R95 devices run firmware 1.04B04Beta, and list where they are deployed.
- Disable remote (WAN) administration on every R95 so the admin interface is not reachable from the internet.
- Restrict admin access to a trusted wired segment or a single management address where the router supports it.
- Check the D-Link website and your reseller for a security notice or newer firmware for the R95, and install it once it is available, after reading the release notes.
- Change the admin password to a long, unique one, and review the router for accounts, port forwards and DNS settings you do not recognize.
- If the router faces the internet and cannot be locked down, plan to replace it with a supported model.
- Keep a note of the device, firmware version and date of your checks so you can revisit them when the vendor responds.
Detection and monitoring
Because exploitation in the wild is unconfirmed, monitoring is about spotting signs that a router has been changed. Watch for these:
- Unexpected reboots, or configuration that changes without anyone logging in.
- DNS servers on the router that you did not set.
- New port forwards, new admin users or services listening that were not there before.
- Unusual outbound traffic from the router's address, if you have a firewall or flow logs upstream.
If you manage websites behind such a router, outside monitoring helps you notice the effects of a hijack: certificate, DNS and uptime monitoring can alert you when a certificate or DNS record changes unexpectedly. It will not tell you that the router is vulnerable, but it can show symptoms. For general guidance, see how to check if a website is hacked and what to do if your website is hacked.
If you find signs of tampering, assume the router is compromised: take it offline, restore it to a known good state using vendor guidance, rotate credentials that passed through it, and review connected systems.
What we still do not know
- Whether D-Link has acknowledged the issue or released fixed firmware. The advisory lists patched versions as unknown.
- Whether other R95 firmware versions or other D-Link models are affected.
- Whether the flaw is being exploited against real devices. The advisory says only that a public exploit exists.
- Whether the vulnerable function can be reached from the WAN side by default or only after login or from the LAN.
We will treat the facts above as the current picture and the vendor's own notice as the source to trust once it appears. The advisory's references include a VulDB entry and a public repository tied to the report; we have not reproduced anything from them here.
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.
