Paper/Archive/CVE-2026-138287

CVE-2026-138287

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

Description · from the CVE record

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.

Affected

ProductAffectedFixed inSource
DSL-2640B3.0.6.0.41–CNA

Scores by source

VulDB (CNA)10.0CVSS: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
VulDB (CNA)10.0CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H/E:P/RL:X/RC:C
VulDB (CNA)10.0CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H/E:P/RL:X/RC:C

References

writeupvuldb.com/vuln/445112refvuldb.com/vuln/445112/ctiwriteupvuldb.com/cve/CVE-2026-138287writeupvuldb.com/submit/1074577exploitgithub.com/dujiaode/DSL2640B/tree/main/01-portmapcfg-pmapcfgname-cmd-injectionrefdlink.com