Skip to main content
VulnerabilityPublished

CVE-2026-138288: 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, 17:00 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 a fix is available, it is recommended to restrict network access to the affected device's management interface and monitor for suspicious activity related to the cgiWanCfg function. Applying network-level protections such as firewall rules to block unauthorized access to the device may reduce exposure.

Description

CVE-2026-138288 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 cgiWanCfg function of the /wancfg.cmd file, where manipulation of the ifname argument allows remote attackers to execute arbitrary OS commands. The vulnerability is remotely exploitable without authentication and has a maximum CVSS score of 10. Public exploit code has been disclosed, increasing the risk of exploitation.

References

Community reviews

Loading reviews…