On this page (7 sections)
A critical vulnerability, tracked as CVE-2026-138279, has been published for the D-Link DIR-X1860Z router. According to the GitHub Advisory Database entry, the flaw is an OS command injection in the file /www/cgi-bin/telnet, reachable remotely, and the exploit has been disclosed to the public and may be used.
If you run this router at an office, a shop or a home that hosts anything you care about, or you manage routers for clients, read on. The research available today does not list a patched version, so the practical focus is reducing exposure and watching for vendor guidance.
What happened
The flaw was published on November 29, 2026 via the National Vulnerability Database and mirrored in the GitHub Advisory Database, which marks the entry as unreviewed. The description says an unknown function in /www/cgi-bin/telnet mishandles an argument named x, which allows operating system commands to be injected. The entry references a public repository and VulDB records, which is the basis for the statement that exploit details are public.
Only one underlying description exists so far. The NVD page repeats the same text, so it is not independent confirmation. D-Link has not been shown to have published an advisory or firmware in the material reviewed, and the only vendor reference is its general website.
Technical details
OS command injection happens when a program builds a system command from user-controlled input without safely separating data from instructions. An attacker who controls the input can make the device run commands of their choosing, usually with the privileges of the web service, which on consumer and small-office routers is often full administrative control.
The CVSS v4 metrics listed in the advisory are: network attack vector, low attack complexity, no attack requirements, no privileges required and no user interaction, with high confidentiality, integrity and availability impact on both the vulnerable and subsequent systems. In plain terms, the scoring assumes a remote, unauthenticated attacker. Treat that as the scoring assumption in the record, since the description itself only says the attack may be initiated remotely and does not discuss authentication.
Who is affected
Owners of the D-Link DIR-X1860Z are the ones in scope. The realistic risk depends on whether the router's web interface is reachable from the internet. A device with remote administration enabled or a management port forwarded to the internet is far easier to reach than one only accessible from the local network. The record does not state which interface or service exposes the vulnerable script, so assume both the LAN and any internet-facing management are potential paths until D-Link says otherwise.
A compromised router matters to site owners because it sits in front of everything behind it. An attacker with control can change DNS settings, watch or redirect traffic, and use the router as a foothold into the internal network. The research does not describe any such activity for this CVE; these are general consequences of router takeover.
How to check your exposure
Start by confirming whether you have this model and which firmware it runs. In the router's admin page, look at the status or firmware section and compare it with 1.0.7.260821.161908. Then check whether the admin interface answers from outside your network.
From a device outside your network (for example a phone on mobile data), try opening the router's public IP address in a browser on its admin port. This is a read-only check; if the login page appears, remote administration is exposed. You can find the public IP in the router's status page (look for the WAN or internet address).
Also review the router's own settings for remote management, port forwarding and UPnP, and note any open management services. You can additionally watch your DNS and certificate state for signs of tampering with Webforta Monitor, which tracks DNS and certificate changes on your domains, though it cannot see inside a router.
What to do now
- Identify every DIR-X1860Z you manage and record its firmware version.
- Disable remote administration (WAN-side access to the web interface) and remove any port forwards to the router itself.
- Turn off any telnet or other unneeded management services if the router exposes a setting for them.
- Restrict admin access to a trusted wired device or management network where possible.
- Change the admin password to a long, unique one and review other router accounts.
- Check the D-Link support site for firmware for this model and apply it as soon as a fix is listed.
- Record the DNS servers configured on the router and confirm they match your provider's values.
- If the router cannot be updated and must face the internet, plan a replacement with a supported device.
Detection and monitoring
No indicators of compromise are published for this CVE, so detection relies on general signs of router tampering. Watch for unexpected changes to DNS servers, new port forwards, unfamiliar admin accounts, unexplained reboots, or unusual outbound traffic from the router. If your router can export logs, send them to a central place and review requests to /cgi-bin/telnet.
If you have exported router or gateway logs to a file, a read-only search for requests to that path can help. This command searches a log file you specify for the path named in the advisory and prints matching lines; any hit from an unknown address deserves investigation.
grep -i "cgi-bin/telnet" /path/to/your/logfileIf you suspect a device was taken over, follow our guide on what to do when a website is hacked, and rotate any credentials that passed through the network. For broader guidance on protecting a small organization's web presence, see small business website security.
What is still unknown
- Whether D-Link has acknowledged the issue or plans a fix; no patched version is listed.
- Which other firmware versions of the DIR-X1860Z are affected.
- Whether authentication is needed in practice, as the description is silent on it.
- Whether the flaw is being exploited in the wild. The advisory says only that an exploit is public and may be used.
This article will need updating when D-Link publishes guidance or a second source confirms details.
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.
