Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-138287: critical-severity vulnerability (CVSS 10) in D-Link DSL-2640B.
What happened
Original description from the source: A flaw has been found in D-Link DSL-2640B 3.0.6.0.41. The impacted element is the function cgiPortMapQrySwitch of the file portmapcfg.cmd of the component Endpoint. This manipulation of the argument pmapCfgName causes os command injection. The attack can be initiated remotely. The exploit has been published and may be used.
Why it matters
Critical severity, CVSS 10.
Affected products and versions
D-Link DSL-2640B 3.0.6.0.41
| Product | Versions | Fixed in |
|---|---|---|
| D-Link DSL-2640B | 3.0.6.0.41 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://vuldb.com/vuln/445112 — CVE Program
- https://vuldb.com/vuln/445112/cti — CVE Program
- https://vuldb.com/cve/CVE-2026-138287 — CVE Program
- https://vuldb.com/submit/1074577 — CVE Program
- https://github.com/dujiaode/DSL2640B/tree/main/01-portmapcfg-pmapcfgname-cmd-injection — CVE Program
- https://www.dlink.com/ — CVE Program
Weaknesses (CWE): CWE-78, CWE-77
Relevant change history
Published
Preliminary advisory published.