CVE-2026-138287

D-Link DSL-2640B Endpoint portmapcfg.cmd cgiPortMapQrySwitch os command injection

Published Nov 29, 2026 CVSS 4.0 · 10 Critical EPSS n/a KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Dlink
Dlink dsl-2640b
Vendors & Products Dlink
Dlink dsl-2640b
Type Values Removed Values Added
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.
Title D-Link DSL-2640B Endpoint portmapcfg.cmd cgiPortMapQrySwitch os command injection
First Time appeared D-link
D-link dsl-2640b
Weaknesses CWE-77
CWE-78
CPEs cpe:2.3:h:d-link:dsl-2640b:*:*:*:*:*:*:*:*
Vendors & Products D-link
D-link dsl-2640b
References
Metrics cvssV2_0

{'score': 10, 'vector': 'AV:N/AC:L/Au:N/C:C/I:C/A:C/E:POC/RL:ND/RC:C'}

cvssV3_0

{'score': 10, 'vector': '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'}

cvssV3_1

{'score': 10, 'vector': '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'}

cvssV4_0

{'score': 10, 'vector': '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Nov 29, 2026, 4:30 PM
Reserved
Nov 28, 2026, 3:26 PM
Status
Deferred
Published
Nov 29, 2026, 5:17 PM
Modified
Nov 29, 2026, 5:17 PM