CVE-2026-0625D-Link DSL/DIR/DNS Authentication Bypass via DNS Configuration Endpoint
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).
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
| Vendor | Product | Versions | |
|---|---|---|---|
| D-Link | DIR-600 | 0 | |
| D-Link | DIR-608 | 0 | |
| D-Link | DIR-610 | 0 | |
| D-Link | DIR-611 | 0 | |
| D-Link | DIR-615 | 0 | |
| D-Link | DIR-905L | 0 | |
| D-Link | DNS-320 | 0 | |
| D-Link | DNS-325 | 0 | |
| D-Link | DNS-345 | 0 | |
| D-Link | DSL-2640B | 0 | |
| D-Link | DSL-2640T | 0 | |
| D-Link | DSL-2740R | 0 | |
| D-Link | DSL-2780B | 0 | |
| D-Link | DSL-500 | 0 | |
| D-Link | DSL-500G | 0 | |
| D-Link | DSL-502G | 0 | |
| D-Link | DSL-526B | 0 | |
| dlink | dsl-2640b firmware | eu_4.01b | |
| dlink | dsl-2640t | — | |
| dlink | dsl-2640t firmware | — | |
| dlink | dsl-2740r | — | |
| dlink | dsl-2740r firmware | uk_1.01 |
References and patches
- https://supportannouncement.us.dlink.com/security/publication.aspx?name=SAP10488 vendor-advisorymitigation
- https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10068 vendor-advisory
- https://supportannouncement.us.dlink.com/security/publication.aspx?name=SAP10118 vendor-advisory
- https://www.vulncheck.com/advisories/dlink-dsl-command-injection-via-dns-configuration-endpoint third-party-advisory