{"id":"CVE-2026-33190","aliases":["CVE-2026-33190","GHSA-qhmp-q7xh-99rh","GO-2026-5583"],"related":[],"kind":"vulnerability","state":"published","title":"CoreDNS TSIG authentication bypass on encrypted DNS transports","summary":"CoreDNS is a DNS server that chains plugins. In versions prior to 1.14.3, the tsig plugin can be bypassed on non-plain-DNS transports (DoT, DoH, DoH3, DoQ, and gRPC) because it trusts the transport writer's TsigStatus() instead of performing verification itself. The DoH and DoH3 writer's TsigStatus() always returns nil, the DoT server does not set TsigSecret on the dns.Server, and the DoQ and gRPC writers also unconditionally return nil. This allows an unauthenticated remote client to bypass TSIG-based authentication and access resources intended to be restricted behind a tsig require all policy. Plain DNS over TCP and UDP are not affected. 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 tsig plugin can be bypassed on non-plain-DNS transports (DoT, DoH, DoH3, DoQ, and gRPC) because it trusts the transport writer's TsigStatus() instead of performing verification itself. The DoH and DoH3 writer's TsigStatus() always returns nil, the DoT server does not set TsigSecret on the dns.Server, and the DoQ and gRPC writers also unconditionally return nil. This allows an unauthenticated remote client to bypass TSIG-based authentication and access resources intended to be restricted behind a tsig require all policy. Plain DNS over TCP and UDP are not affected. This issue has been fixed in version 1.14.3.","source":"cvelist"},{"lang":"en","text":"### Summary\nCoreDNS' tsig plugin can be bypassed on non-plain-DNS transports because it trusts the transport writer's TsigStatus() instead of performing verification itself. In the attached PoC, plain DNS/TCP correctly rejects an invalid TSIG (NOTAUTH), while the same invalid-TSIG request is accepted over DoT (tls://) and DoH (https://), allowing a client without the shared secret to satisfy require all. The same bug class affects DoH3, DoQ, and gRPC.\n\n### Details\nThe tsig plugin decides whether an incoming TSIG was valid by consulting w.TsigStatus(): tsigStatus := w.TsigStatus(); if tsigStatus != nil { ... NOTAUTH ... } (plugin/tsig/tsig.go)\n\nTwo affected transports are shown directly in the PoC:\n- DoH: DoHWriter.TsigStatus() always returns nil (core/dnsserver/https.go), and the HTTP server passes unpacked DNS messages directly into the plugin chain.\n- DoT: the TLS server builds a dns.Server without setting TsigSecret (core/dnsserver/server_tls.go), unlike plain DNS/TCP/UDP which sets TsigSecret: s.tsigSecret (core/dnsserver/server.go).\n\nThe same transport-family bug pattern also appears on other transports:\n- DoH3 reuses the DoH writer path (core/dnsserver/server_https3.go -> core/dnsserver/https.go), so it inherits the same TsigStatus() == nil behavior.\n- DoQ uses DoQWriter.TsigStatus() error { return nil } (core/dnsserver/quic.go).\n- gRPC uses gRPCresponse.TsigStatus() error { return nil } (core/dnsserver/server_grpc.go).\n\nThe attached PoC was kept deliberately small (baseline TCP+DoT+DoH only) for convenience.\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 ./tsig-repro.py\n3. Expected output:\n*** Start CoreDNS ***\nCorefile: /tmp/vh-f001-tsig-doh-dot-bypass/Corefile\nLog: /tmp/vh-f001-tsig-doh-dot-bypass/coredns.log\n\n*** Baseline (plain TCP) ***\nno_tsig rcode=5 (expected REFUSED=5)\ninvalid_tsig rcode=9 (expected NOTAUTH=9)\n\n*** Candidate (DoT) ***\nno_tsig rcode=5 (expected REFUSED=5)\ninvalid_tsig rcode=0 ancount=1 (expected NOERROR=0 and ancount>0)\n\n*** Candidate (DoH) ***\nno_tsig http=200 rcode=5 (expected REFUSED=5)\ninvalid_tsig http=200 rcode=0 ancount=1 (expected NOERROR=0 and ancount>0)\n\n*** OK ***\nTSIG bypass reproduced: plain TCP rejects invalid TSIG, while DoT and DoH accept it.\nResults: /tmp/vh-f001-tsig-doh-dot-bypass/results.json\n\n\n### Impact\nUnauthenticated remote clients can bypass TSIG-based authentication/authorization on first-class encrypted transports, enabling access to whatever the deployment intended to restrict behind tsig { require all } (e.g., zone data/privileged queries, etc.).","format":"markdown","source":"ghsa"},{"lang":"en","text":"CoreDNS has TSIG authentication bypass on DoT, DoH, DoH3, DoQ, and gRPC 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 tsig puede ser eludido en transportes que no son DNS plano (DoT, DoH, DoH3, DoQ y gRPC) porque confía en el TsigStatus() del escritor del transporte en lugar de realizar la verificación por sí mismo. El TsigStatus() del escritor de DoH y DoH3 siempre devuelve nil, el servidor DoT no establece TsigSecret en el dns.Server, y los escritores de DoQ y gRPC también devuelven nil incondicionalmente. Esto permite a un cliente remoto no autenticado eludir la autenticación basada en TSIG y acceder a recursos destinados a ser restringidos detrás de una política tsig require all. DNS plano sobre TCP y UDP no se ven afectados. Este problema ha sido solucionado en la versión 1.14.3.","source":"nvd"}],"published":"2026-04-28T22:46:15.000Z","modified":"2026-09-10T03:51:02.923Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","score":8.7,"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:N/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-287","CWE-303"],"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-qhmp-q7xh-99rh","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-33190","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-06T12:46:45.291Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-33190","url":"https://www.cve.org/CVERecord?id=CVE-2026-33190","licence":"CVE Terms of Use","modified":"2026-05-06T12:47:07.338Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-qhmp-q7xh-99rh","url":"https://github.com/advisories/GHSA-qhmp-q7xh-99rh","licence":"CC-BY-4.0","modified":"2026-09-10T03:51:02.923Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-5583","url":"https://pkg.go.dev/vuln/GO-2026-5583","licence":"CC-BY-4.0","modified":"2026-06-25T23:01:32.249Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-33190","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33190","licence":"Public domain","modified":"2026-07-24T23:10:00.563Z"}],"updatedAt":"2026-11-25T22:59:20.634Z","epss":{"score":0.00374,"percentile":0.3344,"date":"2026-12-01T12:00:22.000Z"}}