Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessJoin LAN segment served by DIR-895L
-
DeliveryCraft DHCP REQUEST with injected shell payload in Hostname option
-
ExploitRouter udhcpcd sendACK processes malicious Hostname
-
ExecutionShell command executes via TR-069 Host Helper
-
ImpactArbitrary code runs as root on router
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Command injection prevention
MITRE ATT&CK
1 technique 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 be on a network segment served by the DIR-895L's DHCP server (i.e., LAN-adjacent), enabling them to send a DHCP REQUEST packet. No authentication is required - any device capable of sending DHCP packets can trigger the vulnerability. The DHCP server must be active (its default state on this router). If the attack additionally relies on the TR-069 Host Helper pathway (as suggested by the PoC title), TR-069 WAN management must be enabled and reachable from the attacker's vantage point, which is a non-default exposure for most home deployments. The vulnerability is limited to firmware version A1_102b07 as confirmed in the description; other firmware versions are unconfirmed as affected or unaffected. The attack is constrained by requiring network adjacency for the DHCP vector, but the low complexity of DHCP packet crafting means any device on the LAN can attempt exploitation. |
| Impact | The provided CVSS 4.0 score of 6.9 with VC:L/VI:L/VA:L appears to significantly understate real-world impact - a successful command injection on a router's DHCP daemon typically yields unauthenticated root access, which would justify C:H/I:H/A:H on the vulnerable system. The AV:N designation in the vendor-supplied CVSS 4.0 vector is questionable: DHCP is a LAN broadcast protocol and under typical deployment, exploitation requires adjacency to the LAN segment; however, the TR-069 Host Helper reference in the PoC raises an unresolved question about whether the WAN interface (via ISP ACS communication) could be leveraged as a second exploitation path. A public PoC exists (E:P confirmed), which meaningfully elevates real-world exploitation probability beyond what the moderate score suggests. No KEV listing at time of analysis, but the combination of unauthenticated network access and public exploit code on an aging consumer router makes this a high-priority finding for any environment still running this device. The DIR-895L A1 is a legacy product likely past D-Link's support lifecycle, making vendor remediation uncertain. |
| Exploit ScenarioDerived | An attacker on the same LAN segment (or potentially via TR-069 WAN management channel) sends a crafted DHCP DISCOVER or REQUEST packet containing a Hostname option with embedded shell metacharacters, such as a backtick or semicolon followed by a command. When the DIR-895L's udhcpcd processes this in |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 07, 2026
Command injection in the D-Link DIR-895L router's DHCP server daemon allows a network-adjacent attacker to execute arbitrary OS commands by crafting a malicious Hostname option in a DHCP request. The vulnerable code path is in the sendACK function of udhcpcd/serverpacket.c, where the client-supplied Hostname field is processed without sanitization, leading to shell injection. A public proof-of-concept exploit exists targeting firmware version A1_102b07, and no vendor patch has been identified at time of analysis.
RemediationAI
No vendor-released patch has been identified at time of analysis; the D-Link DIR-895L A1 is an aging product that may be past end-of-life support. Users should consider replacing the device with a currently supported router model - this is the most effective remediation. As a compensating control, restrict LAN access to the router's DHCP server to trusted network segments and disable DHCP service if a separate DHCP server is available, though this may disrupt normal LAN function. If TR-069 remote management is enabled, disable it from the router's administration interface (WAN Management or TR-069 settings), reducing the potential WAN-side attack surface. Network segmentation limiting untrusted devices from joining the LAN served by this router will reduce exploitation risk. Monitor VulDB entry https://vuldb.com/vuln/399457 and the D-Link security portal at https://www.dlink.com/ for any future firmware updates.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The DIR-895L runs a modified udhcp daemon (udhcpcd) whose serverpacket.c builds and sends DHCP ACK responses. DHCP option 12 (Hostname) is a client-supplied string that the server records and may pass to downstream helpers - the exploit PoC title references a 'TR-069 Host Helper', suggesting the hostname value is forwarded to a CPE WAN Management Protocol (TR-069) integration script via an unsafe shell invocation, enabling CWE-77 (Improper Neutralization of Special Elements used in a Command). The CPE cpe:2.3:a:d-link:dir-895l:*:*:*:*:*:*:*:* covers the affected product; however, this is a consumer home router and the CPE type 'a' (application) is technically inaccurate - router firmware is better represented as type 'o' (OS) or 'h' (hardware). The A1_102b07 firmware designation indicates a legacy hardware revision.
Know when Dir 895L 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:L/VI:L/VA:L/SC:L/SI:L/SA:L/E:P
DHCP is LAN-adjacent only (AV:A), no auth or interaction required; scope changes as injected commands run on the router OS outside the DHCP process.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
A vulnerability was found in D-Link DIR-895L A1_102b07. This affects the function sendACK of the file udhcpcd/serverpacket.c of the component udhcpcd. The manipulation of the argument Hostname results in command injection. The attack can be executed remotely. The exploit has been made public and could be used.
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.
An out-of-bounds write in the L2TP control-channel parsing routine (tunnel_set_params in tunnel.c) of D-Link DIR-895L fi
Stack-based buffer overflow in D-Link DIR-895L router (firmware A1_102b07) affects the udhcpcd DHCP server daemon's send
EUVD-2026-72334
GHSA-8qr5-3j7x-xm4j
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB