Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach router web/admin interface
-
DeliverySubmit IP Filter rule via scoutflt/scinflt
-
ExploitInject shell metacharacters in srcAddr
-
ExecutionOS command executes on device
-
ImpactFull device compromise
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the attacker to reach the DSL-2640B management/configuration interface and to invoke the IP Filter rule handler (scoutflt/scinflt), supplying a malicious srcAddr argument that is passed unsanitized into an OS command. This is a device-administration feature, so in a typical deployment it requires access to the web-admin interface (commonly LAN-side and/or authenticated); the source does not explicitly confirm whether authentication is enforced, so whether this is truly unauthenticated is unverified. Practical reach is further limited to the specific affected firmware (3.0.6.0.41) and by the fact that the DSL-2640B is an end-of-life product with a shrinking installed base; remote exploitation over the internet additionally depends on the management interface being exposed to the WAN, which is not the default on most consumer routers. |
| Impact | Multiple signals point the same direction but with one important caveat. The CVSS 4.0 base vector supplied (AV:N/AC:L/AT:N/PR:N/UI:N with VC/VI/VA:H) rates this 9.3 critical, implying trivial remote unauthenticated takeover, and the vuln.today decision label is 'act_now'. However, the described feature - the scoutflt/scinflt handler of the IP Filter configuration component - is an administrative configuration function on a consumer router, which typically sits behind the device's web-admin login; the source description does not state whether authentication is required, so the PR:N in the supplied vector is not corroborated by the mechanism described and should be treated as optimistic. No EPSS score is provided, and the CVE is NOT on CISA KEV, so there is no confirmation of active or widespread exploitation. The exploit is a public PoC reference (GitHub) that is not verified as working exploit code, so publicly available exploitation detail exists but weaponization is unconfirmed. Net: a genuinely high-severity OS command-injection flaw (CWE-78) on an end-of-life device, meriting prompt action per the act_now label, but real-world mass exploitation is constrained by the device's small remaining footprint and the likely need for access to the admin interface - verify the authentication precondition with the vendor/PoC before treating this as remote-unauthenticated. |
| Exploit ScenarioDerived | An attacker who can reach the DSL-2640B management interface submits an IP Filter rule with a crafted srcAddr value containing shell metacharacters; because the value is passed unsanitized into an OS command, the injected command executes on the router with the privileges of the web backend. A public PoC reference exists on GitHub (not verified as working exploit code), lowering the effort to reproduce. Given the low attack complexity, a single crafted configuration request to the vulnerable handler is sufficient to run arbitrary commands. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Nov 29, 2026
OS command injection in the IP Filter rule handler (scoutflt/scinflt) of D-Link DSL-2640B firmware 3.0.6.0.41 lets an attacker who can reach the device's web-based management interface inject shell commands through the unsanitized srcAddr parameter, yielding full compromise of confidentiality, integrity and availability on the device. The assessed CVSS 3.1 vector scores this 8.8 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) and implies an authenticated position, though the source material does not explicitly confirm whether authentication is enforced on the affected handler, so truly unauthenticated reachability is unverified. A public proof-of-concept reference has been published on GitHub, but it is not verified as working exploit code and there is no CISA KEV entry indicating active exploitation; the vuln.today decision label is act_now, and no vendor-released patch has been identified for this end-of-life device.
Earlier versions of this analysis (1)
OS command injection in the IP Filter handler (scoutflt/scinflt) of D-Link DSL-2640B firmware 3.0.6.0.41 lets an attacker who can reach that configuration function inject shell commands through the srcAddr argument. The CVSS 4.0 base score is 10.0 (AV:N/AC:L/PR:N/UI:N) describing a maximum-severity, network-reachable, unauthenticated OS command injection (CWE-78) in the IP Filter scoutflt/scinflt function via the srcAddr argument, and a public PoC reference has been published on GitHub (not verified as working exploit code); the vulnerability is not listed as actively exploited in CISA KEV. Practical exposure is narrowed by the fact that IP Filter settings on these gateways are normally behind an authenticated web-admin session, and the description does not confirm whether the handler is reachable pre-authentication, so the true unauthenticated attack surface depends on whether the admin interface is WAN-exposed; the affected build is a single legacy firmware revision for which no vendor patch is referenced in the available data.
RemediationAI
No vendor-released patch has been identified at the time of analysis, and the DSL-2640B is an end-of-life platform, so replacement with a supported router is the only complete fix. Where the device must stay in service, compensate by disabling WAN-side/remote management so the web interface is reachable only from the trusted LAN, restricting administrative access to specific management hosts or VLANs, and changing default administrative credentials - accepting that these reduce but do not remove exposure to anyone already on the LAN or to any other path into the management plane. Network-segment the router so that compromise of the device does not bridge into other assets, and monitor for unexpected outbound connections or configuration changes as an indicator of command execution. Track https://vuldb.com/vuln/445115 and https://www.dlink.com/ for any vendor statement; the public PoC reference at https://github.com/dujiaode/DSL2640B/tree/main/04-scoutflt-scinflt-filter-cmd-injection has not been verified as working exploit code but should be treated as a signal that reproduction details are circulating.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The D-Link DSL-2640B is a consumer DSL router whose administrative functions are exposed through a web management interface backed by CGI-style handlers in the firmware. CWE-78 (Improper Neutralization of Special Elements used in an OS Command) describes the root cause: the IP Filter configuration routines scoutflt and scinflt take the srcAddr parameter from user-supplied request input and pass it into an operating-system command without adequate sanitization, so shell metacharacters embedded in that argument are interpreted by the underlying shell running on the device. The CPE entry cpe:2.3:a:d-link:dsl-2640b:*:*:*:*:*:*:*:* wildcards the version, but the only version confirmed as affected by the EUVD record is 3.0.6.0.41, and the trigger path beyond manipulation of the srcAddr argument is not described in the available sources. Because the vulnerable code lives in the device-administration plane, exposure depends entirely on who can reach the management interface: LAN-side access is typical, while WAN-side reachability requires the operator to have exposed remote management, which is not the default configuration on most consumer routers.
Know when Dsl 2640B gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Network-reachable, low-complexity command injection, but the IP Filter config feature is an admin function so PR:L; full device compromise gives C/I/A:H with scope unchanged (same OS).
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A vulnerability was determined in D-Link DSL-2640B 3.0.6.0.41. Affected is the function scoutflt/scinflt of the component IP Filter. Executing a manipulation of the argument srcAddr can lead to os command injection. The attack may be launched remotely. The exploit has been publicly disclosed and may be utilized.
Technical POC Analysis
CWE-78 OS command injection in the IP Filter rule handler of the D-Link DSL-2640B web management CGI dispatcher, /bin/cfm.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Latest POC
1 PoC candidate from github (unverified)
Sign in to open the public PoC links collected for this CVE.
Executive ViewAI
CVE-2026-138290 is a critical OS command injection vulnerability in D-Link DSL-2640B router firmware that allows attackers with network access to the management interface to execute arbitrary shell commands, potentially leading to full device compromise. As this device is end-of-life and likely deployed in branch offices or remote sites, successful exploitation could expose sensitive network traffic, enable persistent access, and disrupt connectivity. Leadership should prioritize immediate mitigation due to the high severity and absence of a vendor patch.
Restrict management interface access to trusted networks, change default credentials, segment devices, and monitor for anomalous activity; no vendor patch is available at time of analysis.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
OS command injection in the D-Link DSL-2640B home DSL router (firmware build 3.0.6.0.41) lets a remote attacker execute
OS command injection in the D-Link DSL-2640B (firmware 3.0.6.0.41) WAN configuration handler allows an attacker who can
Authenticated OS command injection in the DMZ Host handler (SecCfgMngr::setDmzHost) of D-Link DSL-2640B firmware 3.0.6.0
Cross-site request forgery (CSRF) vulnerability in redpass.cgi in D-Link DSL-2640B Firmware EU_4.00 allows remote attack
EUVD-2026-137802
GHSA-5pxv-mpf4-28vc
NVD
CVE.org
EPSS
VulDB
Exploit-DB