CRITICAL · CVSS 10 Published: 2026-11-29
CVE-2026-138287 — Technical Security Advisory & CVSS Profile
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.
Technical Metadata
| Identifier | CVE-2026-138287 |
|---|---|
| Base Severity / Score | CRITICAL (10 / 10.0) |
| CVSS Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| Weakness Classification | CWE-77 |
| Archive Categories | CRITICAL Advisories · 2026 Index |
Operational Mitigation Guidance
Immediate patching or compensating network isolation is strongly advised. Audit perimeter exposure, apply vendor security updates immediately, and restrict service privileges using least-privilege namespaces. For architectural isolation principles, review per-process namespace isolation.
Upstream References
- https://github.com/dujiaode/DSL2640B/tree/main/01-portmapcfg-pmapcfgname-cmd-injection
- https://vuldb.com/cve/CVE-2026-138287
- https://vuldb.com/submit/1074577
- https://vuldb.com/vuln/445112
- https://vuldb.com/vuln/445112/cti
- https://www.dlink.com/
Related Security Advisories
CVE-2026-138286 CRITICAL 10
CVE-2026-138288 CRITICAL 10
CVE-2026-138289 CRITICAL 9.9
CVE-2026-138290 CRITICAL 10
CVE-2026-138445 CRITICAL 9.9
CVE-2026-138354 CRITICAL 9.9