Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
9.3
CVE-2026-138288: D-Link DSL-2640B allows remote command execution via WAN config
CVE-2026-138288 · published 3 days ago
Summary
The DSL-2640B router lets an attacker send a specially crafted request to its WAN configuration page and run commands on the device. This can give outsiders control of the router and access to your internal network. Update the router firmware to the latest version and disable remote management if you don't need it.
What to do
The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.
Affected software
| Vendor | Product | Affected versions |
|---|---|---|
| d-link | dsl-2640b | 3.0.6.0.41 |
Original advisory text
D-Link DSL-2640B wancfg.cmd cgiWanCfg os command injection
A vulnerability has been found in D-Link DSL-2640B 3.0.6.0.41. This affects the function cgiWanCfg of the file /wancfg.cmd. Such manipulation of the argument ifname leads to os command injection. The attack can be launched remotely. The exploit has been disclosed to the public and may be used.
Internet-facing
3 days
Internal
60 days
- Not known to be exploited
- Can be exploited automatically
- Gives an attacker full control
Type
CWE-77Command Injection
CWE-78OS Command Injection
Timeline
Published29 Nov 2026
Updated2 Dec 2026
First seen29 Nov 2026
Track software like this
Free during beta