home / blog

2026-11-29 · critical

CVE-2026-138287: Critical Vulnerability in D-Link DSL-2640B

Critical vulnerability CVE-2026-138287 in D-Link DSL-2640B routers allows command injection.

CVE-2026-138287: Critical Vulnerability in D-Link DSL-2640B

CVE-2026-138287 is a critical security vulnerability affecting D-Link DSL-2640B routers version 3.0.6.0.41. The vulnerability allows operating system command injection through manipulation of the pmapCfgName argument in the cgiPortMapQrySwitch function of the portmapcfg.cmd file. The attack can be executed remotely without authentication, representing a high risk to the security of affected systems.

The severity of the vulnerability is classified as critical with a CVSS score of 10.0, the maximum risk level. The exploit has been published and can be used, increasing the risk of active exploitation. Social media signals indicate growing interest in this vulnerability, with 5 posts detected in the last 24 hours, highlighting the urgency of information and mitigation.

In defense against this vulnerability, it is essential to apply the patch as soon as available from the vendor. No official solution has been reported yet. Monitor systems closely for suspicious activity and consider implementing network controls to limit access to exposed routers. Keep network device inventory updated to quickly identify any vulnerable systems.

At a glance

What
Command injection vulnerability in the cgiPortMapQrySwitch function of the portmapcfg.cmd file of the Endpoint component
Severity
CVSS 10.0 (critical)
Affected versions
D-Link DSL-2640B 3.0.6.0.41
Fix
not reported
Status
officially published on 2026-11-29
Action
Apply patch as soon as available

Sources: NVD, CVE-2026-138287

← All articles