CVE-2026-138288
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 is a critical command injection vulnerability reachable via the WAN configuration interface.
Root cause
The cgiWanCfg function fails to sanitize the ifname argument before passing it to a system command.
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 vendor patch available. Immediately disconnect the device from the internet or block access to the web management interface from external networks.
AI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD description
A vulnerability has been found in D-Link DSL-2640B 3.0.6.0.41. This affects the function cgiWanCfg of the file /wancfg.cmd. Such manipulation of the argument ifname leads to os command injection. The attack can be launched remotely. The exploit has been disclosed to the public 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-13828710.0CriticalUnauthenticated remote attackers can execute arbitrary OS commands on the device. This allows full administrative control over the router.
- CVE-2026-1382899.9CriticalRemote attackers can execute arbitrary OS commands with root privileges. This requires low-privileged network access to the device.
- CVE-2026-13836210.0CriticalRemote unauthenticated attackers can achieve full system compromise via a stack-based buffer overflow. This requires network access to the device's web interface.
- CVE-2026-13836110.0CriticalUnauthenticated remote attackers can execute arbitrary code on the device via a stack-based buffer overflow. This is triggered by sending a crafted API-AUTH argument to the web server.
- CVE-2026-1383589.9CriticalRemote attackers can execute arbitrary OS commands with elevated privileges. This requires low-privileged network access to the device.