CVE-2026-93008: Dnsmasq: dnsmasq: out-of-bailiwick cache injection through cname chase in split-dns configurations

Published Sep 17, 2026
·
Updated

A flaw was found in dnsmasq. When following a CNAME in a DNS response, the resolver can cache records for the CNAME target without checking that those records belong to the responding server's authorized zone. In split-DNS deployments that send some domains to a specific upstream, an attacker who controls that upstream can inject cache entries for unrelated names. Later clients may then receive attacker-chosen addresses for those names.

Other sources

An insufficient authenticity check was found in dnsmasq's DNS CNAME chase logic in src/rfc1035.c. When a response contains a CNAME, dnsmasq replaces the tracked query name with the CNAME target and rescans the answer section (cnameloop), then cacheinsert()s matching records. There is no bailiwick validation that those records fall within the responding server's zone of authority. Source inspection finds no bailiwick checks anywhere in dnsmasq.

In split-DNS configurations (server=/domain/ip), this lets an attacker who controls a delegated upstream inject a CNAME to an unrelated name plus a forged address record. dnsmasq caches the forged record for all clients, escaping the server=/domain/ containment boundary.

A related issue exists in findsoa() (rfc1035.c), introduced in v2.90 (commit 12ddb2a4): SOA suffix matching uses raw memcmp without a DNS label-boundary check, unlike inzone() and domainnorebind().

F3a (missing bailiwick on CNAME chase): all versions. F3b (findsoa label-boundary): v2.90 onwards. Fix: Not yet available (reporter coordinating with upstream). Reporter: Shubham Raj (Causal Security) PSIRT Ticket: PSIRTSUPT-23743

— Red Hat

Dnsmasq: dnsmasq: out-of-bailiwick cache injection through cname chase in split-dns configurations

— Microsoft

Affected Software

12 affected components
debian/dnsmasq*
debian/dnsmasq*
debian/dnsmasq*
debian/dnsmasq<=2.90-4~deb12u2, <=2.91-1+deb13u2, <=2.91-1+deb13u1, <=2.93-3
ubuntu/dnsmasq*
ubuntu/dnsmasq*
ubuntu/dnsmasq*
ubuntu/dnsmasq*
ubuntu/dnsmasq*
ubuntu/dnsmasq*
ubuntu/dnsmasq*
ubuntu/dnsmasq*

Event History

Sep 17, 2026
Data Sourced
via Red Hat·02:52 PM
DescriptionSeverityAffected Software
Oct 29, 2026
CVE Published
via MITRE·12:33 PM
Data Sourced
via MITRE·12:33 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:17 PM
DescriptionSeverityWeakness
Data Sourced
via OSV·01:17 PM
DescriptionSeverityAffected Software
Nov 3, 2026
Data Sourced
via Microsoft·09:05 AM
DescriptionSeverityWeakness

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203