D-Link DSL-2640B Endpoint portmapcfg.cmd cgiPortMapQrySwitch os command injection
- State
- Published
- Severity
- 10.0 Critical
- Published
- Nov 29, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 28, 2026
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.
| Product | Versions |
|---|---|
| DSL-2640B D-Link | 3.0.6.0.41 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 10.0 Critical | VulDB | |
| 3.1 | 10.0 Critical | VulDB | |
| 3.0 | 10.0 Critical | VulDB | |
| 2.0 | 10.0 High | VulDB |
Weaknesses
References
- VDB-445112 | D-Link DSL-2640B Endpoint portmapcfg.cmd cgiPortMapQrySwitch os command injectionVulnerability DatabaseTechnical Details
- VDB-445112 | CTI Indicators (IOB, IOC, TTP, IOA)Detection RuleSign-In Required
- CVE-2026-138287 | CVE Analysis and ReportThird-Party Advisory
- Submit #1074577 | D-Link DSL-2640B 3.0.6.0.41 OS Command Injection (CWE-78)Third-Party Advisory
- https://github.com/dujiaode/DSL2640B/tree/main/01-portmapcfg-pmapcfgname-cmd-injectionExploit
- https://www.dlink.com/Product Page
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.