CVE-2026-138288: critical vulnerability in D-Link DSL-2640B
D-Link DSL-2640B wancfg.cmd cgiWanCfg os command injection
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
48Vexday Risk Score
No sign of exploitation. It has a public proof of concept.
ssvc Attendcvss 10epss 2.5%
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.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:P
Affected products
D-Link · DSL-2640Bpublic PoCs found — 1
cve_referencegithub.com/dujiaode/DSL2640B/tree/main/02-wancfg-ifname-cmd-injectionunverified⚠ Public resources, to assess the exposure of systems you control or are authorized to test. Test only with authorization.
Related CVEs — D-Link DSL-2640B
In the same product, most dangerous first.
CVE-2026-138287CRITICALD-Link DSL-2640B Endpoint portmapcfg.cmd cgiPortMapQrySwitch os command injectionEPSS 3.0%CVE-2026-138290CRITICALD-Link DSL-2640B IP Filter scinflt os command injectionEPSS 2.5%CVE-2026-138289CRITICALD-Link DSL-2640B DMZ Host setDmzHost os command injectionEPSS 1.8%CVE-2026-0625CRITICALD-Link DSL/DIR/DNS Authentication Bypass via DNS Configuration EndpointEPSS 1.0%