CVE-2026-138288 is a critical OS command injection flaw in D-Link DSL-2640B firmware 3.0.6.0.41 that can be triggered remotely without authentication, and a public exploit has been disclosed.
What Is It
The vulnerability is in the cgiWanCfg function of the /wancfg.cmd file on the D-Link DSL-2640B. Manipulating the ifname argument leads to OS command injection. The CNA (VulDB) classifies the weakness as CWE-77 (Command Injection) and CWE-78 (OS Command Injection).
The record was published to NVD on 2026-11-29 and currently has NVD status "Deferred."
Why It Matters
According to the description, the attack can be launched remotely. VulDB, acting as the CNA, scores it as follows:
- CVSS 3.1: 10.0 CRITICAL (
AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H). It is reachable over the network, needs no privileges or user interaction, has changed scope, and has high impact on confidentiality, integrity and availability. - CVSS 4.0: 9.3 CRITICAL, with exploit maturity rated Proof-of-Concept.
- CVSS 2.0: 10.0
The record says the exploit "has been disclosed to the public and may be used." A write-up is published on GitHub. The supplied CISA KEV data contains no entry for this CVE, so KEV does not confirm active exploitation in the wild at this time.
What's Vulnerable
- Vendor: D-Link
- Product: DSL-2640B
- Affected version: 3.0.6.0.41
- CPE:
cpe:2.3:h:d-link:dsl-2640b:*:*:*:*:*:*:*:* - Affected component:
cgiWanCfgfunction in/wancfg.cmd, through theifnameparameter
The supplied data lists no other firmware versions as affected or unaffected.
Patch Status
The supplied NVD record does not reference a patch, fixed firmware version or vendor advisory. The only vendor reference is D-Link's general homepage. With no KEV entry, there is no CISA-mandated required action or due date. Owners of affected DSL-2640B devices should watch D-Link's site and the VulDB entries for remediation guidance.