Skip to main content

D-Link DIR-822 CVE-2026-7067

MEDIUM
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') (CWE-74)
2026-04-27 cna@vuldb.com
5.5
CVSS 4.0 · Vendor: vuldb
View

Attack ChainAIDerived

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

  1. Access
    Send DHCP request with malicious Hostname
  2. Delivery
    udhcpd receives request
  3. Exploit
    system() processes unsanitized Hostname
  4. Execution
    shell interprets injected commands
  5. Persist
    arbitrary code execution as udhcpd privilege level
  6. Impact
    network 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;id;echo. When the udhcpd daemon processes this request, it passes the Hostname unsanitized to a system() call, executing the attacker's injected commands with the privileges of the udhcpd process (typically root on network devices). The attacker gains shell access to the router, allowing them to pivot into the internal network, modify routing tables, intercept traffic, or establish persistence.

Monitor Track and reassess. Why: Vendor states no customer action required.
No patch listed yet 0.8% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – 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

Vendor (vuldb) PRIMARY 5.5 MEDIUM
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

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

Lifecycle Timeline

2
CVSS changed
Apr 29, 2026 - 01:12 NVD
6.9 (MEDIUM) 5.5 (MEDIUM)
CVE Published
Apr 27, 2026 - 00:16 nvd
MEDIUM 5.5

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

EPSS Score
0.8%
Top 26% exploitable
Data Quality
6 sources
Confidence: High

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.8%
Patch available No
Active threat No
Deciding rule
Vendor states no customer action required
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
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

29
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +28
PoC: 0
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.

Affected Products (CPE)CVE.org

cpe:2.3:o:dlink:dir-822_firmware:1.0.1:*:*:*:*:*:*:*
CVE-2016-5681 CRITICAL
9.8 Aug 25

Stack-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

CVE-2019-17621 CRITICAL POC
9.8 Dec 30

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

CVE-2023-51984 CRITICAL POC
9.8 Jan 11

D-Link DIR-822+ V1.0.2 was found to contain a command injection in SetStaticRouteSettings function. Rated critical sever

CVE-2023-51987 CRITICAL POC
9.8 Jan 11

D-Link DIR-822+ V1.0.2 contains a login bypass in the HNAP1 interface, which allows attackers to log in to administrator

CVE-2024-33344 CRITICAL POC
9.8 Apr 26

D-Link DIR-822+ V1.0.5 was found to contain a command injection in ftext function of upload_firmware.cgi, which allows r

CVE-2024-33343 HIGH POC
8.8 Apr 26

D-Link DIR-822+ V1.0.5 was found to contain a command injection in ChgSambaUserSettings function of prog.cgi, which allo

CVE-2024-34950 HIGH POC
7.5 May 14

D-Link DIR-822+ v1.0.5 was discovered to contain a stack-based buffer overflow vulnerability in the SetNetworkTomography

CVE-2024-33342 HIGH POC
7.5 Apr 26

D-Link DIR-822+ V1.0.5 was found to contain a command injection in SetPlcNetworkpwd function of prog.cgi, which allows r

CVE-2024-0717 MEDIUM POC
5.3 Jan 19

A vulnerability classified as critical was found in D-Link DAP-1360, DIR-300, DIR-615, DIR-615GF, DIR-615S, DIR-615T, DI

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