Summary
CVE-2026-138288 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 10.0. Only the NVD description was available to us, so vendor confirmation and patch status are unverified.
Details
The record names the function cgiWanCfg in /wancfg.cmd. Manipulating the ifname argument leads to OS command injection. The attack can be launched remotely, and the record indicates an exploit has been disclosed publicly.
| Product | Firmware |
|---|---|
| D-Link DSL-2640B | 3.0.6.0.41 |
Sibling records for the same firmware include CVE-2026-138287 (cgiPortMapQrySwitch) and CVE-2026-138289 (setDmzHost). 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
- Turn off remote management and keep the admin interface off the internet.
- Restrict LAN access to the management interface.
- Watch D-Link's support page for DSL-2640B firmware; no fixed version was named.
- Replace the device if no fix ships.