D-Link DSL-2640B 3.0.6.0.41 Endpoint portmapcfg.cmd cgiPortMapQrySwitch pmapCfgName os command injection
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 9.4 | $0-$5k | 0.00+ |
Summary
A vulnerability labeled as very critical has been found in D-Link DSL-2640B 3.0.6.0.41. This affects the function cgiPortMapQrySwitch of the file portmapcfg.cmd of the component Endpoint. Such manipulation of the argument pmapCfgName leads to os command injection.
This vulnerability is uniquely identified as CVE-2026-138287. The attack can be launched remotely. Moreover, an exploit is present.
Details
A vulnerability was found in D-Link DSL-2640B 3.0.6.0.41. It has been rated as very critical. Affected by this issue is the function cgiPortMapQrySwitch of the file portmapcfg.cmd of the component Endpoint. The manipulation of the argument pmapCfgName with an unknown input leads to a os command injection vulnerability. Using CWE to declare the problem leads to CWE-78. The 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. Impacted is confidentiality, integrity, and availability.
The advisory is shared for download at github.com. This vulnerability is handled as CVE-2026-138287. The exploitation is known to be easy. The attack may be launched remotely. No form of authentication is required for exploitation. Technical details as well as a public exploit are known. The current price for an exploit might be approx. USD $0-$5k (estimation calculated on 11/28/2026). The MITRE ATT&CK project declares the attack technique as T1202.
The exploit is available at github.com. It is declared as proof-of-concept.
There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.
VulDB is the best source for vulnerability data and more expert information about this specific topic.
Product
Vendor
Name
Version
License
Website
- Vendor: https://www.dlink.com/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 10.0VulDB Meta Temp Score: 9.4
VulDB Base Score: 10.0
VulDB Temp Score: 9.4
VulDB Vector: 🔒
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Os command injectionCWE: CWE-78 / CWE-77 / CWE-74
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Access: Public
Status: Proof-of-Concept
Download: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: no mitigation knownStatus: 🔍
0-Day Time: 🔒
Timeline
11/28/2026 Advisory disclosed11/28/2026 VulDB entry created
11/28/2026 VulDB entry last update
Sources
Vendor: dlink.comAdvisory: github.com
Status: Confirmed
CNA: VulDB
CVE: CVE-2026-138287 (🔒)
GCVE (CVE): GCVE-0-2026-138287
GCVE (VulDB): GCVE-100-445112
scip Labs: https://www.scip.ch/en/?labs.20161013
Entry
Created: 11/28/2026 16:32Changes: 11/28/2026 16:32 (57)
Complete: 🔍
Submitter: qsc19995
Cache ID: 216::103
Submit
Accepted
- Submit #1074577: D-Link DSL-2640B 3.0.6.0.41 OS Command Injection (CWE-78) (by qsc19995)
VulDB is the best source for vulnerability data and more expert information about this specific topic.
No comments yet. Languages: en.
Please log in to comment.