CVE-2026-138290
Deferred Deferred - Pending Action

Command Injection in D-Link DSL-2640B Firmware

Vulnerability report for CVE-2026-138290, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-29

Last updated on: 2026-11-29

Assigner: VulDB

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-29
Last Modified
2026-11-29
Generated
2026-11-29
AI Q&A
2026-11-29
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
D-Link DSL-2640B 3.0.6.0.41

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-78 The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.
CWE-77 The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is an OS command injection flaw in the D-Link DSL-2640B router firmware 3.0.6.0.41. It exists in the IP filter management system, specifically in the scoutflt/scinflt components. User input from fields like srcAddr is directly used in iptables command strings without validation. When executed via /bin/sh -c, this allows attackers to inject arbitrary commands remotely.

Detection Guidance

Check if your D-Link DSL-2640B router (firmware 3.0.6.0.41) is exposed to the internet. Test the /bin/cfm component by sending crafted requests to scoutflt.cmd or scinflt.cmd endpoints with srcAddr, dstAddr, srcPort, or dstPort parameters containing command injection payloads like ;id or |ls. Monitor router logs for unexpected command executions or iptables modifications.

Impact Analysis

This vulnerability allows remote attackers to execute arbitrary commands on the device. This could lead to full system compromise, unauthorized access, data theft, or disruption of network services. The attack is triggered automatically during WAN state changes or configuration updates.

Mitigation Strategies

Immediately disconnect the router from the internet or isolate it behind a firewall. Disable remote management access. Update to the latest firmware if available. If no patch exists, replace the device as it is end-of-life. Restrict access to the management interface and monitor for suspicious activity.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-138290. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...