# CVE-2026-138288: D-Link DSL-2640B wancfg.cmd cgiWanCfg os command injection

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2026-11-29 · Modified: 2026-11-30
- Record: https://cvemate.com/vulnerability/CVE-2026-138288 · JSON: https://cvemate.com/vulnerability/CVE-2026-138288/json

## Description

```text
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.
```

## Signals

- CVSS: 10 critical (v4.0, CVE.org) 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
- EPSS: 2.517%, percentile 85.349%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- d-link dsl-2640b: 3.0.6.0.41

## References

- <https://vuldb.com/vuln/445113>
- <https://vuldb.com/vuln/445113/cti>
- <https://vuldb.com/cve/CVE-2026-138288>
- <https://vuldb.com/submit/1074580>
- <https://github.com/dujiaode/DSL2640B/tree/main/02-wancfg-ifname-cmd-injection>
- <https://www.dlink.com/>

---

Data as of 2026-12-05T09:13:43.902Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
