{"id":"CVE-2026-33489","aliases":["CVE-2026-33489","GHSA-h8mm-c463-wjq3","GO-2026-5417"],"related":[],"kind":"vulnerability","state":"published","title":"CoreDNS transfer plugin subzone ACL bypass via lexicographic zone comparison","summary":"CoreDNS is a DNS server that chains plugins. In versions prior to 1.14.3, the transfer plugin can select the wrong ACL stanza when both a parent zone and a more-specific subzone are configured. The longestMatch() function in plugin/transfer/transfer.go uses a lexicographic string comparison instead of an actual longest-suffix match to select the winning zone. As a result, a permissive parent-zone transfer rule can override a restrictive subzone rule depending on zone name ordering (e.g., \"example.org.\" > \"a.example.org.\" lexicographically). This allows an unauthorized remote client to perform AXFR/IXFR for the subzone and retrieve its full zone contents. This issue has been fixed in version 1.14.3.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"CoreDNS is a DNS server that chains plugins. In versions prior to 1.14.3, the transfer plugin can select the wrong ACL stanza when both a parent zone and a more-specific subzone are configured. The longestMatch() function in plugin/transfer/transfer.go uses a lexicographic string comparison instead of an actual longest-suffix match to select the winning zone. As a result, a permissive parent-zone transfer rule can override a restrictive subzone rule depending on zone name ordering (e.g., \"example.org.\" > \"a.example.org.\" lexicographically). This allows an unauthorized remote client to perform AXFR/IXFR for the subzone and retrieve its full zone contents. This issue has been fixed in version 1.14.3.","source":"cvelist"},{"lang":"en","text":"### Summary\nCoreDNS' 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.\n\n### Details\nIn 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:\n- zone := \"\" // longest zone match wins (plugin/transfer/transfer.go)\n- if z > zone { zone = z; x = xfr } (plugin/transfer/transfer.go)\n\nSo, 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.\n\n### PoC\n1. Adjust COREDNS_BIN in the PoC to point at right path (see the top-level const definitions for tunables as well)\n2. Run python3 ./acl-repro.py\n3. Expected output:\n*** Baseline (only subzone transfer rule) ***\naxfr a.example.org.: rcode=5 ancount=0 (expected REFUSED=5)\n\n*** Candidate (add permissive parent transfer rule) ***\naxfr a.example.org.: rcode=0 ancount=5 (expected NOERROR=0 with ancount>0)\n\n*** OK ***\nSubzone transfer ACL bypass reproduced: adding a permissive parent-zone stanza can override a stricter child-zone stanza due to lexicographic zone selection.\n\n### Impact\nUnauthorized zone transfer can expose full zone contents to a remote network client that was intended to be denied by a subzone-specific transfer policy.","format":"markdown","source":"ghsa"},{"lang":"en","text":"CoreDNS' transfer stanza selection uses lexicographic compare (subzone ACL bypass) in github.com/coredns/coredns","format":"markdown","source":"go"},{"lang":"es","text":"CoreDNS es un servidor DNS que encadena plugins. En versiones anteriores a la 1.14.3, el plugin de transferencia puede seleccionar la cláusula ACL incorrecta cuando se configuran tanto una zona padre como una subzona más específica. La función longestMatch() en plugin/transfer/transfer.go utiliza una comparación de cadenas lexicográfica en lugar de una coincidencia de sufijo más largo real para seleccionar la zona ganadora. Como resultado, una regla de transferencia de zona padre permisiva puede anular una regla de subzona restrictiva dependiendo del orden de los nombres de zona (p. ej., 'example.org.' > 'a.example.org.' lexicográficamente). Esto permite a un cliente remoto no autorizado realizar AXFR/IXFR para la subzona y recuperar el contenido completo de su zona. Este problema ha sido solucionado en la versión 1.14.3.","source":"nvd"}],"published":"2026-04-28T22:44:39.000Z","modified":"2026-09-10T03:50:44.388Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","score":8.2,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","score":8.2,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"}],"cwes":["CWE-862","CWE-863"],"affected":[{"ranges":[{"version":"< 1.14.3","status":"affected"}],"vendor":"coredns","product":"coredns","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.14.3"}],"ecosystem":"Go","package":"github.com/coredns/coredns","purl":"pkg:golang/github.com/coredns/coredns","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.14.3"}],"ecosystem":"Go","package":"github.com/coredns/coredns","purl":"pkg:golang/github.com/coredns/coredns","source":"go"},{"ranges":[{"status":"affected","fixed":"1.14.3"}],"vendor":"coredns.io","product":"coredns","cpe":"cpe:2.3:a:coredns.io:coredns:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/coredns/coredns/security/advisories/GHSA-h8mm-c463-wjq3","tags":["advisory","exploit","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/coredns/coredns/releases/tag/v1.14.3","tags":["release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33489","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/coredns/coredns","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2026-05-05T19:43:02.806Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-33489","url":"https://www.cve.org/CVERecord?id=CVE-2026-33489","licence":"CVE Terms of Use","modified":"2026-05-05T19:43:06.361Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-h8mm-c463-wjq3","url":"https://github.com/advisories/GHSA-h8mm-c463-wjq3","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:44.388Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-5417","url":"https://pkg.go.dev/vuln/GO-2026-5417","licence":"CC-BY-4.0","modified":"2026-06-25T23:00:16.224Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-33489","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33489","licence":"Public domain","modified":"2026-07-24T23:10:00.563Z"}],"updatedAt":"2026-11-25T22:59:20.635Z","epss":{"score":0.00404,"percentile":0.36786,"date":"2026-12-01T12:00:22.000Z"}}