SECURITYCRITICALCVE-2026-138289

CVE-2026-138289: D-Link DSL-2640B DMZ Host Handler OS Command Injection (CVSS 9.9)

The address argument of SecCfgMngr::setDmzHost on D-Link DSL-2640B 3.0.6.0.41 reaches an OS command. Remote, public exploit noted; no fix confirmed.

Dylan H.

Security Team

November 30, 2026
2 min read
CVE-2026-138289: D-Link DSL-2640B DMZ Host Handler OS Command Injection (CVSS 9.9)

Critical severity

Rated critical. Prioritise patching — see the remediation guidance below.

Affected Products

  • D-Link DSL-2640B 3.0.6.0.41

Summary

CVE-2026-138289 is an OS command injection flaw in the D-Link DSL-2640B modem router, published in NVD on November 29, 2026 with a CVSS score of 9.9. Only the NVD description was available to us, and our copy was cut off, so vendor confirmation and patch status are unverified.

Details

The record names the function SecCfgMngr::setDmzHost in the DMZ Host Handler component. Manipulating the address argument results in OS command injection. The attack may be initiated remotely, and the record indicates an exploit has been made public.

ProductFirmware
D-Link DSL-2640B3.0.6.0.41

Sibling records for the same firmware include CVE-2026-138287 (cgiPortMapQrySwitch) and CVE-2026-138288 (cgiWanCfg). The record does not say whether authentication is required.

Impact

Command injection on a router typically means code execution with the device's privileges, allowing traffic interception, DNS tampering, persistence, or use of the device as a pivot or botnet node.

What to do

  1. Turn off remote management and keep the admin interface off the internet.
  2. Restrict LAN access to the management interface.
  3. Watch D-Link's support page for DSL-2640B firmware; no fixed version was named.
  4. Replace the device if no fix ships.

References