{"id":"CVE-2026-138288","aliases":["CVE-2026-138288"],"related":[],"kind":"vulnerability","state":"published","title":"D-Link DSL-2640B wancfg.cmd cgiWanCfg os command injection","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-11-29T16:45:20.683Z","modified":"2026-11-30T18:18:51.800Z","severity":{"scorer":"VulDB","scheme":"CVSS:4.0","vector":"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","score":10,"rating":"CRITICAL"},"severities":[{"scorer":"VulDB","scheme":"CVSS:4.0","vector":"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","score":10,"rating":"CRITICAL"},{"scorer":"VulDB","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H/E:P/RL:X/RC:C","score":10,"rating":"CRITICAL"},{"scorer":"VulDB","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H/E:P/RL:X/RC:C","score":10,"rating":"CRITICAL"},{"scorer":"VulDB","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C/E:POC/RL:ND/RC:C","score":10,"rating":"CRITICAL"}],"cwes":["CWE-77","CWE-78"],"affected":[{"ranges":[{"version":"3.0.6.0.41","status":"affected"}],"vendor":"D-Link","product":"DSL-2640B","cpe":"cpe:2.3:h:d-link:dsl-2640b:*:*:*:*:*:*:*:*","source":"cvelist"}],"references":[{"url":"https://vuldb.com/vuln/445113","tags":["technical-description","vdb-entry"],"sources":["cvelist","nvd"]},{"url":"https://vuldb.com/vuln/445113/cti","tags":["permissions-required","signature"],"sources":["cvelist","nvd"]},{"url":"https://vuldb.com/cve/CVE-2026-138288","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://vuldb.com/submit/1074580","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/dujiaode/DSL2640B/tree/main/02-wancfg-ifname-cmd-injection","tags":["exploit"],"sources":["cvelist","nvd"]},{"url":"https://www.dlink.com/","tags":["product"],"sources":["cvelist","nvd"]}],"credits":["qsc19995 (VulDB User)"],"assigner":"VulDB","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"total","date":"2026-11-30T17:13:34.396Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-138288","url":"https://www.cve.org/CVERecord?id=CVE-2026-138288","licence":"CVE Terms of Use","modified":"2026-11-30T17:27:24.040Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-138288","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138288","licence":"Public domain","modified":"2026-11-30T18:18:51.800Z"}],"updatedAt":"2026-11-30T18:32:17.255Z","epss":{"score":0.02517,"percentile":0.85265,"date":"2026-12-01T12:00:22.000Z"}}