Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privilege web session
-
DeliveryAccess DHCP server config page
-
ExploitInject payload in domain argument
-
Executiondhcps4start executes OS command
-
ImpactFull 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 reaching the DHCP Server configuration function dhcps4start in /etc/services/DHCPS/dhcpserver.php and controlling the 'domain' argument, which is injected into an OS command. The CVSS vector specifies PR:L, so an attacker needs low-privilege authenticated access to the device's management interface before the injection can be triggered; this authentication requirement is the primary limiting factor and distinguishes it from a fully unauthenticated remote attack. It is confined to the specific affected firmware D-Link DIR-629 1.03.B01 CN; applicability to other DIR-629 firmware branches or regional builds is not established in the available sources. |
| Impact | The input CVSS 4.0 base score is 8.6 (High) with vector AV:N/AC:L/AT:N/PR:L/UI:N and high confidentiality/integrity/availability impact, consistent with an authenticated OS command injection (CWE-78) that yields full device control. The PR:L metric indicates exploitation requires some level of authenticated/low-privilege access, so this is not a fully unauthenticated remote flaw based on the provided vector. The exploit-maturity metric is E:P (Proof-of-Concept), and the intelligence lists a public PoC reference (a GitHub gist) that is explicitly 'not verified as working exploit code,' so a public PoC reference exists; it is not verified as working exploit code. There is no CISA KEV listing and no EPSS score in the provided data, so there is no evidence of confirmed active exploitation or a quantified exploitation probability - treat exploitation as plausible but unproven. The vuln.today decision label is 'this_week,' indicating elevated but not emergency urgency. Net assessment: a genuinely serious vulnerability (full compromise of the affected router) that is tempered by the PR:L authentication requirement and the unverified PoC; prioritize patching/mitigation on the affected D-Link DIR-629 units within the week, but note the absence of KEV/EPSS data limits confidence about real-world exploitation scale. |
| Exploit ScenarioDerived | An attacker with low-privilege access to the DIR-629 web management interface submits a crafted 'domain' value to the DHCP server configuration handler (dhcps4start in /etc/services/DHCPS/dhcpserver.php), which is passed unsanitized into an OS command, achieving command execution on the router. A public PoC reference exists but is not verified as working exploit code, so weaponization effort is uncertain. Given PR:L, the attacker must first obtain valid credentials or an authenticated session before the injection can be triggered. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 29, 2026
OS command injection in D-Link DIR-629 firmware 1.03.B01 CN lets an authenticated, low-privilege user who can reach the DHCP Server configuration interface execute arbitrary OS commands on the device through the 'domain' parameter in dhcps4start (/etc/services/DHCPS/dhcpserver.php). The issue is remotely reachable over the management interface (CVSS 4.0 AV:N/PR:L; assessed CVSS 3.1 AV:N/PR:L) and affects confidentiality, integrity and availability at high impact. A public PoC reference exists, but it is not verified as working exploit code, and no CISA KEV active-exploitation confirmation is provided.
RemediationAI
No vendor-released patch identified at time of analysis; the references provide no fixed firmware version, so check the D-Link site (https://www.dlink.com/) and VulDB entries (https://vuldb.com/vuln/445069, https://vuldb.com/cve/CVE-2026-138199) for an updated build. Until a fix is available, reduce exposure by restricting access to the DIR-629 management interface to trusted networks or a VPN and disabling WAN-side remote management, which blocks remote exploitation but removes remote administration convenience. Because the vector requires low-privilege authentication, enforce unique strong administrator credentials, remove unused accounts and apply least privilege to limit who can reach the DHCP Server configuration page; these steps do not fix the injection but reduce the PR:L attack surface. If the DHCP server feature is not required, disable it to remove the vulnerable configuration path, accepting loss of DHCP service. The public PoC reference at https://gist.github.com/H3rmesk1t/145154c032b4f057e9b804d3a83492c3 should be used only for defensive validation; it is not verified as working exploit code.
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 affected component is the PHP-based DHCP Server management code in D-Link DIR-629 firmware. CWE-78 (OS command injection) applies because the dhcps4start function in /etc/services/DHCPS/dhcpserver.php takes the attacker-controlled 'domain' argument and incorporates it into an OS command without adequate neutralization, allowing command execution with the web service's privileges. The CPE cpe:2.3:a:d-link:dir-629:*:*:*:*:*:*:*:* uses a wildcard version, but the available evidence ties the issue to firmware 1.03.B01 CN; other DIR-629 firmware branches and regional builds are unverified. Both the supplied CVSS 4.0 vector and the independent CVSS 3.1 assessment specify PR:L, so reaching the vulnerable function requires prior low-privilege authenticated access to the device management interface rather than unauthenticated access. The exact parsing path and any additional preconditions beyond control of 'domain' are not described in the available sources.
Know when PHP 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:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:P
Remotely reachable management function (AV:N/AC:L) requires a low-privilege authenticated session (PR:L, matching input), and OS command injection yields full device control (C:H/I:H/A:H).
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A vulnerability was found in D-Link DIR-629 1.03.B01 CN. This affects the function dhcps4start of the file /etc/services/DHCPS/dhcpserver.php of the component DHCP Server. The manipulation of the argument domain results in os command injection. The attack may be performed from remote. The exploit has been made public and could be used.
Articles & Coverage 1
Technical POC Analysis
CWE-78 OS command injection via unquoted template interpolation into a generated shell script.
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
CVE-2026-138199 is a high-severity OS command injection vulnerability in D-Link DIR-629 router firmware version 1.03.B01 CN, allowing an authenticated low-privilege user to execute arbitrary commands on the device. This poses a significant risk to network integrity and data confidentiality, particularly for organizations relying on these routers for remote management. Leadership should prioritize immediate mitigation due to the potential for lateral movement and disruption of critical services.
No vendor-released patch identified at time of analysis. Interim mitigations include restricting management interface exposure to trusted networks, enforcing least-privilege access, and monitoring for anomalous command execution attempts.
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.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2026-137696
GHSA-54j6-gf8w-rvgc
NVD
CVE.org
EPSS
VulDB
Exploit-DB