CVE-2026-138288: D-Link DSL-2640B
AI-assisted summary built from NVD and CISA data. Verify against the linked sources before acting.
Summary
The cgiWanCfg function in /wancfg.cmd of D-Link DSL-2640B fails to sanitize the ifname argument, allowing remote OS command injection. A public exploit is available.
Impact: remote OS command injection
Affected technologies
- D-Link DSL-2640B 3.0.6.0.41
Recommended action
Disable remote administration, restrict management access to trusted hosts, and apply a vendor fix or replace the device if it is unsupported.
Details
| CVSS | 9.3 (Critical) |
| Vendor / product | D-Link DSL-2640B |
| Published | 2026-11-29 |
| Weakness | CWE-77, CWE-78 |
| Vector | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Original description
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.