CVE-2026-138287
CRITICAL 9.3CVSS 4.0D-Link DSL-2640B Endpoint portmapcfg.cmd cgiPortMapQrySwitch os command injection
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.
- Published
- 29 Nov 2026
- Last modified
- 30 Nov 2026
- Assigned by
- cna@vuldb.com
- NVD status
- Deferred
- Weakness
- CWE-77CWE-78
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| CVE List | VulDB | CVSS 4.0 | CRITICAL 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 |
| NVD | cna@vuldb.com (Secondary) | CVSS 4.0 | CRITICAL 9.3 | 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/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:X |
| NVD | cna@vuldb.com (Secondary) | CVSS 3.1 | CRITICAL 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| CVE List | VulDB | CVSS 3.1 | CRITICAL 10.0 | 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 |
| CVE List | VulDB | CVSS 3.0 | CRITICAL 10.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 |
| NVD | cna@vuldb.com (Secondary) | CVSS 2.0 | HIGH 10.0 | AV:N/AC:L/Au:N/C:C/I:C/A:C |
| CVE List | VulDB | CVSS 2.0 | 10.0 | AV:N/AC:L/Au:N/C:C/I:C/A:C/E:POC/RL:ND/RC:C |
| CVE List | CISA-ADP | SSVC | Exploitation: poc; Automatable: yes; Technical Impact: total |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | D-Link | DSL-2640Bcpe:2.3:h:d-link:dsl-2640b:*:*:*:*:*:*:*:* |
= 3.0.6.0.41 |
References
- https://github.com/dujiaode/DSL2640B/tree/main/01-portmapcfg-pmapcfgname-cmd-injection · exploit
- https://vuldb.com/cve/CVE-2026-138287 · third-party-advisory
- https://vuldb.com/submit/1074577 · third-party-advisory
- https://vuldb.com/vuln/445112 · vdb-entry, technical-description
- https://vuldb.com/vuln/445112/cti · signature, permissions-required
- https://www.dlink.com/ · product
History
- 30 Nov 2026 21:25 UTC · NVD: updated (other details)
- 30 Nov 2026 20:17 UTC · CVE List: updated (other details)
- 29 Nov 2026 17:25 UTC · NVD: first stored (published 29 Nov 2026)
- 29 Nov 2026 16:45 UTC · CVE List: first stored (published 29 Nov 2026)