CVE-2026-138287
10.0CriticalPublished Nov 29, 2026 · NVD status: Deferred · AI triage by gemini-3.1-flash-lite
Critical
0CVSS v3.110
- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User action
- None
- Impact
- Full C/I/A compromise
- Weakness
- CWE-77, CWE-78
What an attacker gets
Unauthenticated remote attackers can execute arbitrary OS commands on the device. This allows full administrative control over the router.
Root cause
The cgiPortMapQrySwitch function fails to sanitize the pmapCfgName argument, leading to OS command injection.
Affected versions
D-Link DSL-2640B version 3.0.6.0.41
CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Fix & remediation
There is no patch available for this end-of-life device. Disconnect the device from the internet or replace it immediately.
AI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD 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.
References
Related Critical CVEs
More fully triaged vulnerabilities you may want to check next.
- CVE-2026-13829010.0CriticalUnauthenticated remote attackers can execute arbitrary OS commands with root privileges. This requires no user interaction and exploits the device's IP Filter functionality.
- CVE-2026-13828810.0CriticalUnauthenticated remote attackers can execute arbitrary OS commands on the device. This is a critical command injection vulnerability reachable via the WAN configuration interface.
- CVE-2026-1382899.9CriticalRemote attackers can execute arbitrary OS commands with root privileges. This requires low-privileged network access to the device.
- CVE-2026-1400409.9CriticalRemote attackers can execute arbitrary OS commands as root. This requires a low-privileged account to access the port forwarding configuration.
- CVE-2026-1400949.9CriticalAuthenticated attackers can escalate privileges to cluster-admin by forging group memberships in TemplateInstance requests. This allows full control over the OpenShift cluster.
- CVE-2026-909589.1CriticalUnauthenticated attackers can brute-force user passwords via SMB without triggering account lockouts. This bypasses Kerberos-based lockout policies when AD-trust is enabled.