Summary
CVE-2026-138290 is an OS command injection vulnerability (CWE-78 / CWE-77) in the IP Filter component of the D-Link DSL-2640B, version 3.0.6.0.41. Manipulating the srcAddr argument allows injection of operating system commands. The CVE record rates it Critical (CVSS 3.1 base score 10.0) and states that the exploit has been publicly disclosed.
Technical details
- Root cause: The
srcAddrargument handled by the IP Filterscoutflt/scinfltfunction is not neutralized before being used in an OS command (CWE-78 / CWE-77). - Trigger conditions: An attacker sends a crafted
srcAddrvalue to the IP Filter functionality. The CVSS vector indicates no privileges and no user interaction are required. - Attack vector: Network (AV:N), low attack complexity.
- Impact: Arbitrary command execution on the device, with high impact to confidentiality, integrity and availability and a changed scope (S:C).
- Exploit status: The CVE record references a public exploit write-up on GitHub (dujiaode/DSL2640B). The vulnerability was reported through VulDB (VDB-445115) by user qsc19995.
Affected software
- D-Link DSL-2640B firmware 3.0.6.0.41 (IP Filter component)
Severity
- CVSS v3.1 base score: 10.0 (Critical)
- Vector (as published in the CVE record):
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H/E:P/RL:X/RC:R - The CVE record also lists CVSS v4.0: 10.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)
Mitigation and recommended actions
- Immediate: The CVE record contains no vendor advisory, patch, or fixed version, and no vendor response is documented there. Check D-Link’s support pages for the DSL-2640B for any firmware update or end-of-life notice.
- If no patch is available:
- Do not expose the device’s management interface to the internet. Restrict it to trusted internal networks only.
- Block untrusted access to the web administration interface at the perimeter.
- Plan to replace the device with a supported model if the vendor provides no fix.
- Monitor for unexpected configuration changes or unusual outbound traffic from affected devices.

