EXPOSURES › CVE-2026-138287
CVE-2026-138287
CRITICALD-Link DSL-2640B router firmware allows remote OS command injection via unvalidated input in the portmap configuration function.
An attacker can execute arbitrary commands on the device remotely by manipulating the pmapCfgName argument in the portmapcfg.cmd file. This critical flaw enables full device compromise, data exfiltration, and potential use as a pivot point for network attacks, directly impacting CMMC/NIST 800-171 requirements for system integrity and access control. Organizations must immediately patch this device or remove it from the network.
Shame score — A critical CVSS 10.0 remote code execution vulnerability exists in widely deployed consumer hardware, indicating a severe failure in the vendor's security engineering and patch management processes.
▸ RECOMMENDED ACTION Remote code execution — patch the affected products on priority.
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.