{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2026-138287", "assignerOrgId": "1af790b2-7ee1-4545-860a-a788eba489b5", "state": "PUBLISHED", "assignerShortName": "VulDB", "dateReserved": "2026-11-28T15:26:39.345Z", "datePublished": "2026-11-29T16:30:18.639Z", "dateUpdated": "2026-11-29T16:30:18.639Z" }, "containers": { "cna": { "providerMetadata": { "orgId": "1af790b2-7ee1-4545-860a-a788eba489b5", "shortName": "VulDB", "dateUpdated": "2026-11-29T16:30:18.639Z" }, "title": "D-Link DSL-2640B Endpoint portmapcfg.cmd cgiPortMapQrySwitch os command injection", "problemTypes": [ { "descriptions": [ { "type": "CWE", "cweId": "CWE-78", "lang": "en", "description": "OS Command Injection" } ] }, { "descriptions": [ { "type": "CWE", "cweId": "CWE-77", "lang": "en", "description": "Command Injection" } ] } ], "affected": [ { "vendor": "D-Link", "product": "DSL-2640B", "versions": [ { "version": "3.0.6.0.41", "status": "affected" } ], "cpes": [ "cpe:2.3:h:d-link:dsl-2640b:*:*:*:*:*:*:*:*" ], "modules": [ "Endpoint" ] } ], "descriptions": [ { "lang": "en", "value": "A flaw has been found in D-Link DSL-2640B 3.0.6.0.41. The impacted element is the function cgiPortMapQrySwitch of the file portmapcfg.cmd of the component Endpoint. This manipulation of the argument pmapCfgName causes os command injection. The attack can be initiated remotely. The exploit has been published and may be used." } ], "metrics": [ { "cvssV4_0": { "version": "4.0", "baseScore": 10, "vectorString": "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", "baseSeverity": "CRITICAL" } }, { "cvssV3_1": { "version": "3.1", "baseScore": 10, "vectorString": "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", "baseSeverity": "CRITICAL" } }, { "cvssV3_0": { "version": "3.0", "baseScore": 10, "vectorString": "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", "baseSeverity": "CRITICAL" } }, { "cvssV2_0": { "version": "2.0", "baseScore": 10, "vectorString": "AV:N/AC:L/Au:N/C:C/I:C/A:C/E:POC/RL:ND/RC:C" } } ], "timeline": [ { "time": "2026-11-28T00:00:00.000Z", "lang": "en", "value": "Advisory disclosed" }, { "time": "2026-11-28T01:00:00.000Z", "lang": "en", "value": "VulDB entry created" }, { "time": "2026-11-28T16:32:05.000Z", "lang": "en", "value": "VulDB entry last update" } ], "credits": [ { "lang": "en", "value": "qsc19995 (VulDB User)", "type": "reporter" } ], "references": [ { "url": "https://vuldb.com/vuln/445112", "name": "VDB-445112 | D-Link DSL-2640B Endpoint portmapcfg.cmd cgiPortMapQrySwitch os command injection", "tags": [ "vdb-entry", "technical-description" ] }, { "url": "https://vuldb.com/vuln/445112/cti", "name": "VDB-445112 | CTI Indicators (IOB, IOC, TTP, IOA)", "tags": [ "signature", "permissions-required" ] }, { "url": "https://vuldb.com/cve/CVE-2026-138287", "name": "CVE-2026-138287 | CVE Analysis and Report", "tags": [ "third-party-advisory" ] }, { "url": "https://vuldb.com/submit/1074577", "name": "Submit #1074577 | D-Link DSL-2640B 3.0.6.0.41 OS Command Injection (CWE-78)", "tags": [ "third-party-advisory" ] }, { "url": "https://github.com/dujiaode/DSL2640B/tree/main/01-portmapcfg-pmapcfgname-cmd-injection", "tags": [ "exploit" ] }, { "url": "https://www.dlink.com/", "tags": [ "product" ] } ], "x_generator": [ "VulDB PVTS v202611" ] } } }