CVE-2026-62994: CoreDNS `k8s_external` headless AXFR can emit an empty transfer batch that panics the `transfer` plugin
A network DNS client allowed to request AXFR for a CoreDNS zone can trigger a panic when CoreDNS is configured with k8s_external headless-service zone transfers and Kubernetes contains a headless service endpoint with no declared ports. The built-in k8s_external transferer can emit an empty []dns.RR batch, and the shared transfer plugin indexes records[0] without checking that the batch is non-empty. In normal CoreDNS mode the panic is recovered and returned as SERVFAIL, but repeated triggering can disrupt requests and amplify panic logging; if the debug plugin disables recovery, the same path can crash the CoreDNS process.
References
- github.com/advisories/GHSA-74w3-63xv-x9mv
- github.com/coredns/coredns/commit/ab318db7b4a3a19273852ed627f54888198c8efb
- github.com/coredns/coredns/pull/8207
- github.com/coredns/coredns/releases/tag/v1.14.5
- github.com/coredns/coredns/security/advisories/GHSA-74w3-63xv-x9mv
- nvd.nist.gov/vuln/detail/CVE-2026-62994
Code Behaviors & Features
Detect and mitigate CVE-2026-62994 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →