Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
8.6

CVE-2026-138289: D-Link DSL-2640B allows remote command execution via DMZ setting

CVE-2026-138289 · published 3 days ago
Summary

The DSL-2640B router lets an attacker change the DMZ host address to run operating system commands on the device. This can be triggered from outside the network, giving the attacker control of the router. Update the router firmware to the latest version or apply the vendor's security patch as soon as possible.

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
VendorProductAffected versions
d-link dsl-2640b 3.0.6.0.41
Original advisory text
D-Link DSL-2640B DMZ Host setDmzHost os command injection
A vulnerability was found in D-Link DSL-2640B 3.0.6.0.41. This impacts the function SecCfgMngr::setDmzHost of the component DMZ Host Handler. Performing a manipulation of the argument address results in os command injection. The attack may be initiated remotely. The exploit has been made public and could be used.
Fix within
Internet-facing 14 days
Internal At next upgrade
  • Not known to be exploited
  • Needs hands-on effort to exploit
  • Gives an attacker full control
Severity
8.6 High
Exploitation
2% chance of attack within 30 days
Type
CWE-77Command Injection
CWE-78OS Command Injection
Timeline
Published29 Nov 2026
Updated3 Dec 2026
First seen29 Nov 2026
Sources
CVE-2026-138289 · MITRE
Track software like this
Free during beta