Executive brief
CoreDNS is a widely used DNS server that handles domain name lookups, often within Kubernetes environments. A security flaw allows attackers to bypass access controls by using name-rewriting rules to reach restricted internal services. This could lead to unauthorized discovery of sensitive internal infrastructure and data exposure in multi-tenant environments.
Technical details
A logical vulnerability exists in CoreDNS due to a Time-of-Check Time-of-Use (TOCTOU) flaw in its plugin execution order. Security plugins like 'acl' are evaluated before the 'rewrite' plugin, meaning access control decisions are made based on the original query name before it is normalized or modified. An attacker with low privileges can craft a DNS query that passes ACL checks but is subsequently rewritten to point to a restricted internal service, such as an administrative endpoint in a Kubernetes cluster. This allows for unauthorized service discovery and reconnaissance. The issue is fixed in CoreDNS version 1.14.2 by reordering the plugins so that normalization occurs before security checks.
Affected products
- CoreDNS CoreDNS < 1.14.2
- Red Hat Red Hat Advanced Cluster Management for Kubernetes 2.14
- Red Hat Red Hat Advanced Cluster Management for Kubernetes 2.15
- Red Hat Red Hat Connectivity Link 1
Timeline
- 2026-03-06: disclosed
- 2026-03-06: patched: Fixed in CoreDNS v1.14.2
- 2026-03-06: advisory
References
- https://github.com/coredns/coredns/releases/tag/v1.14.2
- https://github.com/coredns/coredns/security/advisories/GHSA-c9v3-4pv7-87pr
- https://access.redhat.com/errata/RHSA-2026:25127
- https://access.redhat.com/errata/RHSA-2026:8151
- https://access.redhat.com/security/cve/CVE-2026-26017
- https://bugzilla.redhat.com/show_bug.cgi?id=2445244
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-26017.json