Remote Code Execution Vulnerability in CoreDNS by the CoreDNS Team
CVE-2026-62299
5.3MEDIUM
What is CVE-2026-62299?
CoreDNS is an open-source DNS server implemented in Go. Versions prior to 1.14.5 include a vulnerability in the rewrite plugin's handling of edns0 rewrite rules. Specifically, when a response from a downstream plugin contains no OPT record, the logic fails to check for a nil response before dereferencing it. This oversight allows a remote, unauthenticated client to craft specific ordinary DNS queries that trigger a panic in the ResponseReverter component. Such an event can lead to a SERVFAIL response, causing degraded service availability or potentially crashing the CoreDNS process if recovery mechanisms are disabled. This vulnerability has been addressed in CoreDNS version 1.14.5.
Affected Version(s)
coredns < 1.14.5
