CVE-2026-0625: CWE-306 Missing Authentication for Critical Function in D-Link DSL-2640B
Multiple D-Link DSL/DIR/DNS devices contain an authentication bypass and improper access control vulnerability in the dnscfg.cgi endpoint that allows an unauthenticated attacker to access DNS configuration functionality. By directly requesting this endpoint, an attacker can modify the device’s DNS settings without valid credentials, enabling DNS hijacking (“DNSChanger”) attacks that redirect user traffic to attacker-controlled infrastructure. In 2019, D-Link reported that this behavior was leveraged by the "GhostDNS" malware ecosystem targeting consumer and carrier routers. All impacted products were subsequently designated end-of-life/end-of-service, and no longer receive security updates. Exploitation evidence was observed by the Shadowserver Foundation on 2025-11-27 (UTC).
AI Analysis
Technical Summary
CVE-2026-0625 is a critical vulnerability classified under CWE-306 (Missing Authentication for Critical Function) affecting the D-Link DSL-2640B and potentially other related DSL/DIR/DNS devices. The vulnerability resides in the dnscfg.cgi endpoint, which manages DNS configuration on the device. Due to improper access control, this endpoint can be accessed without any authentication, allowing an attacker to modify DNS settings remotely. This enables DNS hijacking attacks, where user traffic can be redirected to attacker-controlled servers, facilitating man-in-the-middle attacks, phishing, malware distribution, or data exfiltration. The vulnerability was exploited in the past by the GhostDNS malware ecosystem, which targeted consumer and carrier-grade routers to manipulate DNS settings for malicious purposes. The affected devices have been designated end-of-life and no longer receive security patches, increasing the risk for users who continue to operate them. The CVSS 4.0 vector indicates network attack vector, low attack complexity, no privileges or user interaction required, and high impact on confidentiality, integrity, and availability. Evidence of exploitation was observed by Shadowserver Foundation in late 2025, confirming active threat. Since no patches are available, mitigation options are limited to device replacement or network-level protections. This vulnerability poses a significant risk to any organization relying on these devices for internet connectivity or DNS resolution.
Potential Impact
For European organizations, exploitation of CVE-2026-0625 can lead to severe consequences including interception and redirection of network traffic, enabling attackers to conduct phishing, credential theft, malware delivery, and data exfiltration. The compromise of DNS settings undermines trust in network communications and can disrupt business operations by redirecting users to malicious sites or causing denial of service. Carrier-grade and consumer routers affected by this vulnerability are often deployed in home offices, small businesses, and some enterprise edge networks, increasing the attack surface. The lack of vendor support and patches means that vulnerable devices remain exposed, especially in environments where device replacement is delayed due to cost or operational constraints. This can lead to prolonged exposure to DNS hijacking campaigns, potentially affecting sensitive data and critical infrastructure. Additionally, the use of these devices in ISP networks or by managed service providers in Europe could amplify the impact through widespread DNS manipulation.
Mitigation Recommendations
Since no patches or firmware updates are available for the affected D-Link DSL-2640B and related devices, European organizations should prioritize immediate replacement of these devices with supported models that enforce proper authentication controls. Network administrators should implement network-level DNS filtering and monitoring to detect and block unauthorized DNS configuration changes. Deploying DNS security extensions (DNSSEC) and using trusted DNS resolvers can mitigate the impact of DNS hijacking. Organizations should audit their network infrastructure to identify any legacy or end-of-life D-Link devices and remove them from critical network segments. Employing network segmentation and strict access controls can limit exposure. Continuous monitoring for anomalous DNS traffic and configuration changes is essential. For ISPs and carriers, updating customer premises equipment (CPE) and providing guidance to end users about device replacement is critical. Incident response plans should include procedures for detecting and responding to DNS hijacking attempts.
Affected Countries
Germany, France, United Kingdom, Italy, Spain, Netherlands, Poland, Belgium, Sweden, Austria
CVE-2026-0625: CWE-306 Missing Authentication for Critical Function in D-Link DSL-2640B
Description
Multiple D-Link DSL/DIR/DNS devices contain an authentication bypass and improper access control vulnerability in the dnscfg.cgi endpoint that allows an unauthenticated attacker to access DNS configuration functionality. By directly requesting this endpoint, an attacker can modify the device’s DNS settings without valid credentials, enabling DNS hijacking (“DNSChanger”) attacks that redirect user traffic to attacker-controlled infrastructure. In 2019, D-Link reported that this behavior was leveraged by the "GhostDNS" malware ecosystem targeting consumer and carrier routers. All impacted products were subsequently designated end-of-life/end-of-service, and no longer receive security updates. Exploitation evidence was observed by the Shadowserver Foundation on 2025-11-27 (UTC).
AI-Powered Analysis
Technical Analysis
CVE-2026-0625 is a critical vulnerability classified under CWE-306 (Missing Authentication for Critical Function) affecting the D-Link DSL-2640B and potentially other related DSL/DIR/DNS devices. The vulnerability resides in the dnscfg.cgi endpoint, which manages DNS configuration on the device. Due to improper access control, this endpoint can be accessed without any authentication, allowing an attacker to modify DNS settings remotely. This enables DNS hijacking attacks, where user traffic can be redirected to attacker-controlled servers, facilitating man-in-the-middle attacks, phishing, malware distribution, or data exfiltration. The vulnerability was exploited in the past by the GhostDNS malware ecosystem, which targeted consumer and carrier-grade routers to manipulate DNS settings for malicious purposes. The affected devices have been designated end-of-life and no longer receive security patches, increasing the risk for users who continue to operate them. The CVSS 4.0 vector indicates network attack vector, low attack complexity, no privileges or user interaction required, and high impact on confidentiality, integrity, and availability. Evidence of exploitation was observed by Shadowserver Foundation in late 2025, confirming active threat. Since no patches are available, mitigation options are limited to device replacement or network-level protections. This vulnerability poses a significant risk to any organization relying on these devices for internet connectivity or DNS resolution.
Potential Impact
For European organizations, exploitation of CVE-2026-0625 can lead to severe consequences including interception and redirection of network traffic, enabling attackers to conduct phishing, credential theft, malware delivery, and data exfiltration. The compromise of DNS settings undermines trust in network communications and can disrupt business operations by redirecting users to malicious sites or causing denial of service. Carrier-grade and consumer routers affected by this vulnerability are often deployed in home offices, small businesses, and some enterprise edge networks, increasing the attack surface. The lack of vendor support and patches means that vulnerable devices remain exposed, especially in environments where device replacement is delayed due to cost or operational constraints. This can lead to prolonged exposure to DNS hijacking campaigns, potentially affecting sensitive data and critical infrastructure. Additionally, the use of these devices in ISP networks or by managed service providers in Europe could amplify the impact through widespread DNS manipulation.
Mitigation Recommendations
Since no patches or firmware updates are available for the affected D-Link DSL-2640B and related devices, European organizations should prioritize immediate replacement of these devices with supported models that enforce proper authentication controls. Network administrators should implement network-level DNS filtering and monitoring to detect and block unauthorized DNS configuration changes. Deploying DNS security extensions (DNSSEC) and using trusted DNS resolvers can mitigate the impact of DNS hijacking. Organizations should audit their network infrastructure to identify any legacy or end-of-life D-Link devices and remove them from critical network segments. Employing network segmentation and strict access controls can limit exposure. Continuous monitoring for anomalous DNS traffic and configuration changes is essential. For ISPs and carriers, updating customer premises equipment (CPE) and providing guidance to end users about device replacement is critical. Incident response plans should include procedures for detecting and responding to DNS hijacking attempts.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-01-05T20:59:29.705Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 695c2bac3839e441759217e3
Added to database: 1/5/2026, 9:22:52 PM
Last enriched: 1/20/2026, 7:11:17 PM
Last updated: 2/4/2026, 5:36:02 PM
Views: 149
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Related Threats
CVE-2026-23624: CWE-384: Session Fixation in glpi-project glpi
MediumCVE-2026-22247: CWE-918: Server-Side Request Forgery (SSRF) in glpi-project glpi
MediumCVE-2026-22044: CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in glpi-project glpi
MediumCVE-2026-25115: CWE-693: Protection Mechanism Failure in n8n-io n8n
CriticalCVE-2026-25056: CWE-434: Unrestricted Upload of File with Dangerous Type in n8n-io n8n
CriticalActions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.