CVE-2026-138287
10.0critical
D-Link DSL-2640B Endpoint portmapcfg.cmd cgiPortMapQrySwitch os command injection
- Severity
- 10.0critical CVSS:4.0 by VulDB
- Exploit likelihood
- 3.03% (higher than 87% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulDB
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| D-Link DSL-2640B | 3.0.6.0.41 | CVE List |
All scores
| VulDB | 10.0critical CVSS:4.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 |
| VulDB | 10.0critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H/E:P/RL:X/RC:C |
| VulDB | 10.0critical CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H/E:P/RL:X/RC:C |
| VulDB | 10.0critical CVSS:2.0 | AV:N/AC:L/Au:N/C:C/I:C/A:C/E:POC/RL:ND/RC:C |
Classification
References
| https://vuldb.com/vuln/445112 | technical-description, vdb-entry | |
| https://vuldb.com/vuln/445112/cti | permissions-required, signature | |
| https://vuldb.com/cve/CVE-2026-138287 | third-party-advisory | |
| https://vuldb.com/submit/1074577 | third-party-advisory | |
| https://github.com/dujiaode/DSL2640B/tree/main/01-portmapcfg-pmapcfgname-cmd-injection | exploit | |
| https://www.dlink.com/ | product | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-138287 changed 2026-11-30 | CVE Terms of Use |
| NVD | CVE-2026-138287 changed 2026-11-30 | Public domain |