Skip to main content
VulnerabilityPublished

CVE-2026-138287: D-Link DSL-2640B · OS Command Injection

Affects D-Link DSL-2640BSource CVE Database V5

0
Compare

Public exploit available · CVSS 10.0 Critical.

Data as of 29 Nov 2026, 16:59 UTC

CVSS 4.0 base score
10.0Critical
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (VulDB)CVSS 4.010.0
CNA (VulDB)CVSS 3.110.0
CNA (VulDB)CVSS 3.010.0
CNA (VulDB)CVSS 2.010.0
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 29 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: evidence found.

    CVSS exploit maturity: proof of concept public

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CVSS vector, the Metasploit, Exploit-DB and nuclei-templates index as of 29 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
D-LinkDSL-2640BAffected
  • =3.0.6.0.41
Fixed in–

CPE configurations (1)

  • cpe:2.3:h:d-link:dsl-2640b:*:*:*:*:*:*:*:*

AI-suggested

Until an official fix is available, restrict network access to the affected device from untrusted sources to reduce exposure. Monitor vendor communications for updates and apply patches promptly once released.

Description

CVE-2026-138287 is a critical OS command injection vulnerability in the D-Link DSL-2640B router firmware version 3.0.6.0.41. The flaw exists in the cgiPortMapQrySwitch function within the portmapcfg.cmd file, where improper handling of the pmapCfgName argument allows remote attackers to execute arbitrary OS commands. Exploit code has been published, increasing the risk of exploitation, although no confirmed in-the-wild attacks are reported.

References

Community reviews

Loading reviews…