Keyrook

NewsPatch Notes

Critical flaws

D-Link DIR-X1860Z hit by two critical flaws with public exploits and no fix yet

Two flaws scoring 10.0 out of 10 hit the D-Link DIR-X1860Z on its newest firmware, 1.0.7.260821.161908. Exploit code has been public since 4 November 2026, and no fix is out yet.

Affects

  • D-Link DIR-X1860Z

Tracked as

  • CVE-2026-138278D-Link DIR-X1860Z, firmware 1.0.7.260821.161908 · CVSS 10
  • CVE-2026-138279D-Link DIR-X1860Z, firmware 1.0.7.260821.161908 · CVSS 10

The newest firmware for the D-Link DIR-X1860Z carries two critical flaws, and both let an attacker run commands as root without logging in. Working exploit code has been public since 4 November 2026, and the CVE records appeared in the National Vulnerability Database on 29 November 2026. D-Link has not released a fix for either flaw.

Both flaws sit in the router’s own management interface, so anyone who can reach that interface over the network can try them. The flaws need no password, no user click, and no special setup on the attacker’s side. That combination is why each one carries the maximum score of 10.0.

  • 10.0CVSS score, both flaws
  • 2Critical flaws in the newest firmware
  • 4 Nov 2026Exploit code published
  • 0Fixes released so far
Figures from the National Vulnerability Database and the public exploit write-ups

A buffer overflow in the management daemon

The first flaw, CVE-2026-138278, lives in routerd, the daemon that runs the router’s management functions. The daemon offers a method called get_rand_key through the ubus interface at /ubus, and that method takes a value named key_index without checking its length.

The value passes into a helper called hexString2bin, which turns hex text into raw bytes inside a 32-byte stack buffer. Nothing on that path enforces the buffer’s size, so a long value writes past the end of it. The researcher showed that a 1,024-character value decodes to 512 bytes, enough to overwrite saved registers and the return address and take over the daemon’s control flow. From there, a crafted chain of code fragments called the system shell and ran attacker-chosen commands as root in an emulated copy of the firmware.

CVSS scores of the two flaws

02.557.510Overflow10Injection10 02.557.510Overflow10Injection10
Source: NVD · in CVSS
The numbers
CVSSCVSS score
Overflow10
Injection10

Command injection in the Telnet settings page

The second flaw, CVE-2026-138279, is simpler and just as severe. The router ships a small shell script at /www/cgi-bin/telnet that handles Telnet settings through the web interface. The script takes the first query parameter from the request, splits it into a name and a value, and feeds both into the shell’s eval command, which runs text as code.

A single quote inside the value breaks out of the intended assignment and appends extra shell commands, which then run as root. The script performs no session or permission check before doing this, and the injected command runs before the script even tries to change any Telnet setting. Turning Telnet off does not help: the flaw is in the settings script itself, not in the Telnet service. A single crafted web request is enough, and the researcher published working exploit code for this flaw too.

The full write-ups and exploit code sit in a public repository on GitHub, linked in the sources below.

The fix that these flaws slipped past

There is an awkward backstory here. Firmware 1.0.7.260821.161908 was itself a security release: D-Link published it on 25 August 2026 to close earlier flaws in the same management interface, including an unauthenticated password-change flaw reported that month. The new flaws affect that very release, and they touch the same area — one of them abuses the same get_rand_key method that featured in the earlier report.

How this unfolded

  1. 25 Aug 2026

    D-Link ships firmware 1.0.7.260821.161908

    The release closes earlier flaws in the router’s management interface, including an unauthenticated password change.

  2. 4 Nov 2026

    Researcher publishes exploit code

    Write-ups and working exploits for both new flaws appear in a public repository, credited to a researcher using the name Lumina.

  3. 29 Nov 2026

    CVE records go public

    CVE-2026-138278 and CVE-2026-138279 appear in the National Vulnerability Database, both scored 10.0.

  4. 30 Nov 2026

    No fix yet

    D-Link has not published a newer firmware for these two flaws, and 1.0.7.260821.161908 remains the latest release.

Affected

  • D-Link DIR-X1860Z, firmware 1.0.7.260821.161908
  • Any setup where the management interface is reachable over the network

Not named in these CVE records

  • The DIR-X1860, a different model that has reached end of life
  • Routers whose admin interface cannot be reached by untrusted networks

What owners should do

There is no patch to install, so the priority is shrinking who can reach the management interface until D-Link ships one.

Protect a DIR-X1860Z until a fix ships

  1. Confirm the model and firmware

    Check the label on the device and the admin page. These flaws concern the DIR-X1860Z on firmware 1.0.7.260821.161908 — do not install DIR-X1860 firmware on it, or the reverse.

  2. Turn off remote management

    Make sure the admin interface is not reachable from the internet. If remote access is on, switch it off.

  3. Keep admin access on the local network only

    Manage the router from a wired connection or a trusted Wi-Fi network, and use a strong, unique admin password.

  4. Watch for a new firmware release

    Check D-Link’s support page for the DIR-X1860Z regularly, and install the next release as soon as it appears.

  5. Consider replacing an exposed router

    If the router has to sit directly on the internet with its admin interface reachable, replacing it with a model that has a fix is the safer option.

D-Link’s own announcement for the August release confirms that the DIR-X1860Z remains an active product, while the similarly named DIR-X1860 has reached end of life. Owners of the DIR-X1860Z should therefore expect a fix to arrive eventually — the question is how soon, with exploit code already public.

Is there a fix yet?

No. As of 30 November 2026, D-Link has not published a newer firmware covering these two flaws, and 1.0.7.260821.161908 remains the latest release for the DIR-X1860Z.

Do attackers need the Wi-Fi password?

No. The flaws are in the router’s management interface, which is reachable over the network. No login and no Wi-Fi credentials are needed.

Does this affect the DIR-X1860?

The CVE records name only the DIR-X1860Z. The DIR-X1860 is a different model and has reached end of life, so it no longer receives firmware updates at all.

Does turning off Telnet protect against the second flaw?

No. The flaw is in a web settings script called telnet, not in the Telnet service. The injected command runs whether or not Telnet itself is turned on.

Sources

  1. CVE-2026-138278 DetailNational Vulnerability Database
  2. CVE-2026-138279 DetailNational Vulnerability Database
  3. D-Link DIR-X1860Z routerd liblubus.so hexString2bin stack-based overflowVulDB
  4. D-Link DIR-X1860Z telnet os command injectionVulDB
  5. D-link-DIR-X1860ZGitHub
  6. (Non-US) DIR-X1860 / (Non-US) DIR-X1860Z : CVE-2026-94050- Unauthenticated Administrator Password Change and Access Control VulnerabilityD-Link Technical Support

More news

All the news
  1. Patch Notes2 min

    Wren:AM 15.3.1 fixes unauthenticated flaw that can lead to remote code execution

    Wren:AM 15.3.1, released December 2, fixes a deserialization flaw scored 9.8 that lets anyone reach the legacy password-reset pages and run code on the server without logging in.

    • Wren:AM
  2. Patch Notes2 min

    Fastify file uploads can hang on a 67 KB request — update @fastify/busboy to 3.2.7

    A single unauthenticated upload of about 67 KB can stall @fastify/busboy forever, leaving Fastify file uploads hanging. Version 3.2.7, released 2 December 2026, fixes it.

    • @fastify/busboy
  3. Patch Notes2 min

    HPE patches two maximum-severity hard-coded credential flaws in Networking COP

    HPE's December 1 update for Networking Central On-Premises fixes 21 flaws, including two hard-coded credential bugs scored 10.0 that let strangers log in over SSH and take full admin control.

    • HPE Networking Central On-Premises (COP)