CVE-2026-138288: D-Link DSL-2640B wancfg.cmd cgiWanCfg os command injection
Vulnerability summary
CVE-2026-138288 is a critical (CVSS 10.0) vulnerability in d-link dsl-2640b. EPSS estimates a 2.52% chance of exploitation in the next 30 days, higher than 85.3% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (GitHub, Date unknown)
Source freshness unavailable
How is this decided?Timeline
- 29-11-2026PublishedVulnerability first disclosed.
- 30-11-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
7 scores · 2 sources · 4 versions- NVDNIST9.3CriticalCVSS: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:XDiffers
- NVDNIST10.0CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
- NVDNIST10.0HighAV:N/AC:L/Au:N/C:C/I:C/A:C
EPSS trend
Probability
2.52%
Chance of exploitation in the next 30 days
Percentile
85%
Versus all other CVEs
30-day change
Change unavailable
Change unavailable
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundDsl2640B
Maturity: poc
Weaknesses
CWE · root cause- CWE-77Improper Neutralization of Special Elements used in a CommandThe product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component.
- CWE-78Improper Neutralization of Special Elements used in an OS CommandThe product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command before it is sent to a downstream component.
Affected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
D-link1 product
- dsl-2640b3.0.6.0.41
1 vendor · 1 product
References
6 links- vuldb.com/cve/CVE-2026-138288Third Party Advisory
- vuldb.com/submit/1074580Third Party Advisory
- www.dlink.comProduct