CVE-2026-33489: CoreDNS' transfer stanza selection uses lexicographic compare (subzone ACL bypass)
Summary CoreDNS' transfer plugin can select the wrong ACL stanza when both a parent zone and a more-specific subzone are configured. A permissive parent-zone transfer rule can override a restrictive subzone rule (name-dependent), allowing an unauthorized client to perform AXFR/IXFR for the subzone and retrieve its zone contents.
Published Apr 28, 2026 · Updated May 8, 2026
Affected packages
github.com/coredns/coredns
- Ecosystem
- Go
- Affected
- < 1.14.3
- Fixed in
- 1.14.3
- Check
go list -m github.com/coredns/coredns
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Summary
CoreDNS' transfer plugin can select the wrong ACL stanza when both a parent zone and a more-specific subzone are configured. A permissive parent-zone transfer rule can override a restrictive subzone rule (name-dependent), allowing an unauthorized client to perform AXFR/IXFR for the subzone and retrieve its zone contents.
Details
In plugin/transfer/transfer.go, stanza selection is implemented by longestMatch(), which is documented as "longest zone match wins", but it actually chooses the winner via a lexicographic string comparison:
- zone := "" // longest zone match wins (plugin/transfer/transfer.go)
- if z > zone { zone = z; x = xfr } (plugin/transfer/transfer.go)
So, a parent zone like example.org. can beat a child zone like a.example.org. purely due to lexicographic ordering ("example.org." > "a.example.org."), even though the child zone is the longer/more specific suffix match. The bypass is data-dependent (some child labels will win, some will lose), making it operationally non-intuitive.
PoC
- Adjust COREDNS_BIN in the PoC to point at right path (see the top-level const definitions for tunables as well)
- Run python3 ./acl-repro.py
- Expected output:
* Baseline (only subzone transfer rule) * axfr a.example.org.: rcode=5 ancount=0 (expected REFUSED=5)
* Candidate (add permissive parent transfer rule) * axfr a.example.org.: rcode=0 ancount=5 (expected NOERROR=0 with ancount>0)
* OK * Subzone transfer ACL bypass reproduced: adding a permissive parent-zone stanza can override a stricter child-zone stanza due to lexicographic zone selection.
Impact
Unauthorized zone transfer can expose full zone contents to a remote network client that was intended to be denied by a subzone-specific transfer policy.
Credited to manizada.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Go vulnerabilities
All Go entriesCVE-2026-62994
CoreDNS `k8s_external` headless AXFR can emit an empty transfer batch that panics the `transfer` plugin
low3.7Oct 16, 2026CVE-2026-82399
CoreDNS: Unauthenticated memory exhaustion in custom transports
high7.5Sep 17, 2026CVE-2026-86003
CoreDNS DoH/DoQ/gRPC bypass UPDATE rejection enforced on UDP/TCP
high7.5Sep 17, 2026CVE-2026-32934
CoreDNS' DoQ worker pool does not bound stream backlog
high7.5Apr 28, 2026CVE-2026-32936
CoreDNS DoH GET oversized dns= query parameter causes pre-validation CPU and memory amplification
high7.5Apr 28, 2026CVE-2026-33190
CoreDNS has TSIG authentication bypass on DoT, DoH, DoH3, DoQ, and gRPC
high7.5Apr 28, 2026
