CVE-2026-138288DSL-2640B Command Injection
D-Link DSL-2640B wancfg.cmd cgiWanCfg os command injection
Published Nov 29, 2026 · Updated Nov 29, 2026 · Also known as EUVD-2026-137800, GHSA-8644-63rw-4v4w
Key Facts
Patch in the next maintenance window- CVE-2026-138288 is a critical-severity vulnerability (CVSS 10.0 v4) affecting DSL-2640B (D-Link).
- It is not listed in any known-exploited vulnerabilities catalog. No public exploit code is known.
- No fixed version is listed yet; check the vendor advisory for mitigations.
- Brandefense priority: patch in the next maintenance window, because of its high severity, although no exploitation is known.
Scores
CVSS v4
10.0
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
EPSS (30-day exploit likelihood)
n/a
Exploit maturity
Proof of concept
ATLAS score
46/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Not listed
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
Proof of concept
Public exploit code
1
Proof-of-concept links
In-the-wild evidence
0
Reports of active use
Advisories And Exploit References
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.
Affected Products
2 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| DSL-2640BD-Link | See advisory | n/a |
Timeline
Publicly disclosed
Nov 29, 2026
Weakness Type
- CWE-77 Improper Neutralization of Special Elements used in a Command
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
References
- advisorynvd.nist.gov · CVE-2026-138288
- advisoryCVE-2026-138288 | CVE Analysis and Report
- advisorySubmit #1074580 | D-Link DSL-2640B 3.0.6.0.41 OS Command Injection (CWE-78)
- exploitgithub.com · 02-wancfg-ifname-cmd-injection
- otherVDB-445113 | D-Link DSL-2640B wancfg.cmd cgiWanCfg os command injection
FAQ
Common Questions.
A vulnerability has been found in D-Link DSL-2640B 3.0.6.0.41.
Affected: DSL-2640B (D-Link). The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
No public exploit code is known.
No fixed version is listed yet; check the vendor advisory for mitigations.
Brandefense priority: patch in the next maintenance window, because of its high severity, although no exploitation is known.
Is CVE-2026-138288 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo