CVE-2026-138288

10.0Critical

Published Nov 29, 2026 · NVD status: Deferred · AI triage by gemini-3.1-flash-lite

10.0CVSS

Critical

0CVSS v3.110

Attack vector
Network
Complexity
Low
Privileges
None
User action
None
Impact
Full C/I/A compromise
Weakness
CWE-77, CWE-78

What an attacker gets

Unauthenticated remote attackers can execute arbitrary OS commands on the device. This is a critical command injection vulnerability reachable via the WAN configuration interface.

Root cause

The cgiWanCfg function fails to sanitize the ifname argument before passing it to a system command.

Affected versions

D-Link DSL-2640B version 3.0.6.0.41

CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Fix & remediation

There is no vendor patch available. Immediately disconnect the device from the internet or block access to the web management interface from external networks.

AI-suggested. Run it in staging first and check it against the vendor advisory. Why?

NVD description

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.

References

Source: nvd.nist.gov/vuln/detail/CVE-2026-138288

More fully triaged vulnerabilities you may want to check next.