Keyrook

NewsPatch Notes

No patch yet

D-Link DSL-2640B router has four critical flaws and no fix

Four command-injection flaws in the D-Link DSL-2640B router on firmware 3.0.6.0.41 let an attacker run commands without logging in. Three score 10.0, and no patch exists yet (29 Nov 2026).

Affects

  • D-Link DSL-2640B

Tracked as

  • CVE-2026-138287D-Link DSL-2640B, firmware 3.0.6.0.41 · CVSS 10
  • CVE-2026-138288D-Link DSL-2640B, firmware 3.0.6.0.41 · CVSS 10
  • CVE-2026-138289D-Link DSL-2640B, firmware 3.0.6.0.41 · CVSS 9.9
  • CVE-2026-138290D-Link DSL-2640B, firmware 3.0.6.0.41 · CVSS 10

The D-Link DSL-2640B, an older wireless ADSL modem router still in use in homes and small offices, carries four flaws that hand an attacker control of the device. Each one sits in the router’s web management interface, and each lets a crafted request run operating-system commands on the router itself. No password is needed, the attack works over the network, and working exploit code is already public. There is no fixed firmware to install.

The D-Link DSL-2640B, a black wireless ADSL router with a single antenna and a row of green status lights
Image: D-Link
  • 4Command-injection flawsOne firmware build
  • 3Scored 10.0 of 10Highest possible CVSS
  • 0Fixes availableNo patch at publication
  • 3.0.6.0.41Affected firmwareD-Link DSL-2640B
Figures from the NVD records published 29 November 2026

Four doors into the same box

All four flaws follow the same pattern. A management page takes a setting that should hold an ordinary value — a port-mapping name, a WAN interface name, a DMZ host address, a filter address — and passes it to the operating system without checking it first. A value written as a command runs as one, with the router’s own privileges. The NVD records, published on 29 November 2026 between 17:15 and 18:17 UTC, score three of the flaws at the maximum 10.0 and the fourth at 9.9.

Port mapping

CVE-2026-138287 — The port-mapping page, portmapcfg.cmd, passes the pmapCfgName value to the operating system unchecked. CVSS 10.0.

WAN settings

CVE-2026-138288 — The WAN settings page, wancfg.cmd, passes the ifname value to the operating system unchecked. CVSS 10.0.

DMZ host

CVE-2026-138289 — The DMZ host handler passes the address value to the operating system unchecked. CVSS 9.9.

IP filter

CVE-2026-138290 — The IP filter functions scoutflt and scinflt pass the srcAddr value to the operating system unchecked. CVSS 10.0.

Severity of the four flaws

02.557.510Port mapping10WAN config10DMZ host9.9IP filter10 02.557.510Port mapping10WAN config10DMZ host9.9IP filter10
Source: NVD records published 29 November 2026 · in CVSS 3.1
The numbers
CVSS 3.1CVSS 3.1 score
Port mapping10
WAN config10
DMZ host9.9
IP filter10

The proof is public

A public repository holds a write-up for each flaw and a script that runs the attack in one step. That lowers the bar sharply: anyone who can reach a vulnerable router’s management interface can try it, without an account on the device and without waiting for a patch window to close.

What to do now

What to do now

  1. Check the firmware version

    Open the router’s admin panel and look at the firmware version. Version 3.0.6.0.41 carries all four flaws.

  2. Keep the admin panel off the internet

    Turn off remote management and remove any port forwarding that points at the router’s web interface. That closes the remote path to the flaws.

  3. Watch for a D-Link update

    Check the D-Link product page for the DSL-2640B and install a new firmware version as soon as one appears.

  4. Consider replacing the router

    With no fix and public exploit code, a router that has to stay reachable is a risk. A model with patched firmware is the safer option.

Questions readers are asking

Do attackers need the router's password?

No. The published records score the flaws as needing no privileges and no user interaction, and the public exploit code needs no login.

Does this affect other D-Link routers?

The published records name only the DSL-2640B on firmware 3.0.6.0.41. No other model is named in these records.

Can the flaws be worked around?

Keeping the management interface off the internet blocks the remote attack, but the flaws stay in the firmware until D-Link ships a fix.

Sources

  1. CVE-2026-138287 DetailNational Vulnerability Database
  2. CVE-2026-138288 DetailNational Vulnerability Database
  3. CVE-2026-138289 DetailNational Vulnerability Database
  4. CVE-2026-138290 DetailNational Vulnerability Database
  5. DSL2640BGitHub
  6. DSL-2640B ADSL 2+ Wireless G Router with 4-Port 10/100 SwitchD-Link

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)