D-Link DIR-822 CVE-2026-7067
MEDIUMAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend DHCP request with malicious Hostname
-
Deliveryudhcpd receives request
-
Exploitsystem() processes unsanitized Hostname
-
Executionshell interprets injected commands
-
Persistarbitrary code execution as udhcpd privilege level
-
Impactnetwork compromise
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Input neutralization, injection prevention
|
| Exploitation Conditions | The attacker must be able to send DHCP requests to the router's DHCP server, which listens on UDP port 67. This is possible from any device on the LAN segment where DHCP is offered (all LAN clients can trigger this) or from a WAN attacker if the router is misconfigured to accept DHCP from the WAN interface (non-standard but possible in some deployments). No authentication is required; the DHCP protocol is designed to accept requests from any client. The vulnerability is not contingent on non-default configuration - standard DHCP operation is sufficient to trigger exploitation. However, if the router's DHCP service is disabled entirely, the vulnerability cannot be exploited; in practice, most DIR-822 deployments run DHCP to provision LAN clients, making this an unrealistic mitigation. |
| Impact | This vulnerability presents moderate-to-high real-world risk despite appearing to affect only end-of-life hardware. The CVSS v4.0 vector AV:N/AC:L/PR:N/UI:N indicates network-accessible, unauthenticated exploitation with no interaction required - a straightforward attack surface. The E:P tag confirms publicly available exploit code. However, the impact ratings (VC:L, VI:L, VA:L) suggest confidentiality, integrity, and availability impacts are rated as LOW in the vendor scope, which conflicts with the severity of remote code execution on a network device. This discrepancy likely reflects CVSS v4.0's narrower impact assessment compared to earlier versions. The critical risk factor is that DIR-822 A_101 is unsupported; no vendor patches will be released, leaving affected deployments permanently vulnerable. Organizations relying on this device for DHCP services face a binary choice: migrate to supported hardware or accept persistent compromise risk. Exploitation requires the attacker to send a specially crafted DHCP request, which is trivial to automate on a local network segment, making this a viable attack vector even for unsophisticated threat actors. |
| Exploit ScenarioDerived | An attacker on the local network (or with network access to the router) crafts a DHCP Discover or Request packet with a malicious Hostname option containing shell metacharacters and commands, such as 'test |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 27, 2026
Command injection in D-Link DIR-822 A_101 udhcpd DHCP service allows remote unauthenticated attackers to execute arbitrary commands via a malicious Hostname parameter in DHCP requests. The vulnerability affects an end-of-life product with publicly disclosed exploit code available, creating significant risk for organizations unable to migrate away from legacy hardware.
RemediationAI
No vendor-released patch exists for DIR-822 A_101 due to end-of-life status. Organizations must immediately discontinue use of this device for critical network services and replace it with a supported D-Link router or alternative vendor hardware running current firmware. If immediate replacement is impossible, implement network-level compensating controls: restrict DHCP traffic at the network perimeter by blocking inbound DHCP requests (UDP port 67) from untrusted network segments or WAN interfaces - only allow DHCP from trusted ISP-provided DHCP servers on WAN and from internal DHCP pools on LAN. Additionally, segment the DIR-822 to a limited-purpose VLAN if DHCP functionality is required, and monitor that VLAN for suspicious shell command patterns in DHCP requests. These controls mitigate but do not eliminate risk; they require maintained network discipline and do not protect against attacks from already-compromised LAN devices.
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 vulnerability exists in the udhcpd DHCP service component, specifically in the argument handling of the system function within /udhcpcd/dhcpd.c. The Hostname parameter processed by the DHCP server is not properly sanitized before being passed to a system call, allowing an attacker to inject shell metacharacters and arbitrary commands. This is a classic command injection flaw (CWE-74: Improper Neutralization of Special Elements used in an OS Command) where user-controlled input reaches a command execution context without proper escaping or validation.
Know when Dir 822 Firmware 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:N/SI:N/SA:N/E:P
Primary rating from Vendor (vuldb) · only source for this CVE.
CVSS VectorVendor: vuldb
Lifecycle Timeline
2DescriptionCVE.org
A vulnerability was determined in D-Link DIR-822 A_101. The impacted element is the function system of the file /udhcpcd/dhcpd.c of the component udhcpd DHCP Service. This manipulation of the argument Hostname causes command injection. The attack can be initiated remotely. The exploit has been publicly disclosed and may be utilized. This vulnerability only affects products that are no longer supported by the maintainer.
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.
Affected Products (CPE)CVE.org
More in Dir 822 Firmware
View allStack-based buffer overflow in dws/api/Login on D-Link DIR-850L B1 2.07 before 2.07WWB05, DIR-817 Ax, DIR-818LW Bx befor
The UPnP endpoint URL /gena.cgi in the D-Link DIR-859 Wi-Fi router 1.05 and 1.06B01 Beta01 allows an Unauthenticated rem
D-Link DIR-822+ V1.0.2 was found to contain a command injection in SetStaticRouteSettings function. Rated critical sever
D-Link DIR-822+ V1.0.2 contains a login bypass in the HNAP1 interface, which allows attackers to log in to administrator
D-Link DIR-822+ V1.0.5 was found to contain a command injection in ftext function of upload_firmware.cgi, which allows r
D-Link DIR-822+ V1.0.5 was found to contain a command injection in ChgSambaUserSettings function of prog.cgi, which allo
D-Link DIR-822+ v1.0.5 was discovered to contain a stack-based buffer overflow vulnerability in the SetNetworkTomography
D-Link DIR-822+ V1.0.5 was found to contain a command injection in SetPlcNetworkpwd function of prog.cgi, which allows r
A vulnerability classified as critical was found in D-Link DAP-1360, DIR-300, DIR-615, DIR-615GF, DIR-615S, DIR-615T, DI
NVD
CVE.org
EPSS
Vulnrichment
VulDB
GitHub PoC
Exploit-DB