EXPOSURES › CVE-2026-138288
CVE-2026-138288
CRITICALD-Link DSL-2640B router firmware allows remote OS command injection via the cgiWanCfg function.
An attacker can execute arbitrary commands on the router remotely by manipulating the ifname argument in the cgiWanCfg function. This critical flaw enables full device compromise, potential pivot to internal networks, and violates CMMC/NIST 800-171 requirements for protecting unclassified information. Organizations must verify firmware versions and apply patches immediately to prevent unauthorized access.
Shame score — A critical CVSS 10.0 remote code injection vulnerability was publicly disclosed and exploitable without user interaction, indicating a severe failure in secure development and patch management.
▸ RECOMMENDED ACTION Remote code execution — patch the affected products on priority.
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.