Skip to main content

D-Link DSL-2640B CVE-2026-138290

| EUVDEUVD-2026-137802 CRITICAL
OS Command Injection (CWE-78)
2026-11-29 VulDB GHSA-5pxv-mpf4-28vc
9.3
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach router web/admin interface
  2. Delivery
    Submit IP Filter rule via scoutflt/scinflt
  3. Exploit
    Inject shell metacharacters in srcAddr
  4. Execution
    OS command executes on device
  5. Impact
    Full 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity + public POC available.
1 PoC candidate (unverified) No patch listed yet 2.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – 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)
v1 Nov 29, 2026 - 17:50 CVSS 10.0

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

DSL-2640B 3.0.6.0.41

Affected Packages

euvd dsl_2640b no fix

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

Vendor (VulDB) PRIMARY 9.3 CRITICAL
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
vuln.today AI 8.8 HIGH

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).

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
High
Subsequent system: Integrity
High
Subsequent system: Availability
High

Lifecycle Timeline

3
Analysis Updated
Nov 29, 2026 - 18:28 vuln.today
v2 - CVSS changed
CVSS changed
Nov 29, 2026 - 18:22 NVD
10.0 (CRITICAL) 9.3 (CRITICAL)
CVE Published
Nov 29, 2026 - 17:15 cve.org
CRITICAL 10.0

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
2.5%
Top 14% exploitable
Prevalence
Low
legacy end-of-life consumer ADSL modem/router, limited remaining production footprint
Social Media
9
Sightings
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC Yes
EPSS 2.5%
Patch available No
Active threat No
Deciding rule
CRITICAL severity + public POC available
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Out-of-Cycle
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

69
Low Medium High Critical
KEV: 0
EPSS: +3
CVSS: +46
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy