CVE-2026-93008: 
dnsmasq vulnerability analysis and mitigation

Overview

CVE-2026-93008 is a DNS cache poisoning vulnerability in dnsmasq, described as an out-of-bailiwick cache injection flaw through CNAME chasing in split-DNS configurations. When dnsmasq follows a CNAME in a DNS response, it caches records for the CNAME target without verifying that those records belong to the responding server's authorized zone. This flaw affects dnsmasq across all versions (for the core bailiwick issue), with an additional related find_soa() label-boundary bug introduced in v2.90 onwards. Affected Red Hat products include dnsmasq packages in RHEL, OpenShift (RHEL CoreOS 8/9, baremetal-runtimecfg), and RHOSO/RHCEPH components. The vulnerability was reported by Shubham Raj of Causal Security, first filed on 2026-09-17, and publicly disclosed on 2026-10-28. It carries a CVSS v3.1 base score of 6.8 (Medium/Important) (Red Hat CVE, Github Advisory).

Technical details

The root cause is classified as CWE-345 (Insufficient Verification of Data Authenticity). In dnsmasq's DNS CNAME chase logic (src/rfc1035.c), when a response contains a CNAME, the resolver replaces the tracked query name with the CNAME target and rescans the answer section (cname_loop), then calls cache_insert() for matching records — with no bailiwick validation to confirm those records fall within the responding server's zone of authority. In split-DNS configurations (e.g., server=/domain/ip or local=/domain/), an attacker controlling a delegated upstream DNS server can respond with a CNAME pointing to an unrelated name plus a forged address record; dnsmasq caches the forged record for all clients, escaping the server=/domain/ containment boundary. A secondary issue in find_soa() (introduced in v2.90, commit 12ddb2a4) uses raw memcmp for SOA suffix matching without a DNS label-boundary check, unlike the safer in_zone() and domain_no_rebind() functions. Exploitation requires the attacker to control an upstream DNS server that dnsmasq is configured to query for a specific domain (Red Hat Bugzilla, Red Hat CVE).

Impact

Successful exploitation allows an attacker-controlled upstream DNS server to inject arbitrary cache entries into dnsmasq for domain names outside its authorized zone, causing all downstream clients relying on that dnsmasq instance to receive attacker-chosen IP addresses for unrelated domain names. The primary impact is high integrity loss — enabling traffic redirection, phishing, and man-in-the-middle attacks against clients — with a changed scope since the poisoned cache affects clients in a different security domain than the vulnerable dnsmasq instance. There is no direct confidentiality or availability impact from the vulnerability itself, though redirected traffic could facilitate further compromise. DNSSEC does not mitigate this for unsigned victim zones, as insecure records are still cached (Red Hat CVE, Red Hat Bugzilla).

Exploitability

There is no public proof-of-concept exploit code and no evidence of in-the-wild exploitation at this time (Red Hat CVE, Github Advisory). The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The EPSS score is approximately 0.15% (4th percentile), indicating a low near-term exploitation probability. Exploitation requires high attack complexity — specifically, the attacker must control an upstream DNS server that the target dnsmasq instance is configured to query via split-DNS directives, limiting the attack surface to environments with such configurations (Github Advisory).

Exploitation steps

  1. Reconnaissance: Identify target environments running dnsmasq with split-DNS configurations (i.e., server=/domain/ip or local=/domain/ directives pointing to an upstream resolver the attacker can influence or control.
  2. Position as upstream DNS: Gain control of or compromise the upstream DNS server that the target dnsmasq instance queries for a specific delegated domain (e.g., an internal corporate DNS server, a cloud-hosted resolver, or an ISP resolver).
  3. Craft malicious DNS response: When dnsmasq queries the controlled upstream for a name within the delegated domain, respond with a DNS answer that includes a CNAME record pointing to an unrelated target name (e.g., internal.victim.com) plus a forged A record for that unrelated name with an attacker-controlled IP address.
  4. Trigger CNAME chase: dnsmasq follows the CNAME, rescans the answer section, and calls cache_insert() for the forged A record without bailiwick validation, caching the attacker-chosen IP for the unrelated domain.
  5. Client redirection: Subsequent DNS queries from any client using the poisoned dnsmasq instance for the unrelated domain name receive the attacker-controlled IP address, enabling phishing, credential harvesting, or man-in-the-middle interception (Red Hat Bugzilla, Red Hat CVE).

Indicators of compromise

  • Network: Unexpected DNS responses from upstream servers containing CNAME records pointing to domains outside the upstream's authoritative zone; DNS responses with additional A/AAAA records for unrelated domain names.
  • Logs: dnsmasq logs showing cached entries for domain names that should not be resolved by a particular upstream server (cross-zone entries); unusual CNAME chains in dnsmasq query logs involving unrelated domains.
  • DNS Cache: Presence of unexpected IP address mappings in dnsmasq's cache for internal or sensitive domain names, especially those pointing to external or unknown IP addresses; cache entries with TTLs inconsistent with legitimate authoritative records.
  • Network Traffic: Client connections to unexpected IP addresses for well-known internal services, potentially indicating traffic redirection following cache poisoning.

Mitigation and workarounds

Red Hat has indicated a patch is available (status: patched per Feedly data), though specific fixed dnsmasq version numbers have not been publicly detailed at time of disclosure. The following configuration-based mitigations are recommended by Red Hat: (1) Do not point server=/domain/ directives at untrusted or attacker-reachable DNS servers; (2) Restrict dnsmasq to communicate only with trusted upstream resolvers at the firewall level; (3) For local=/domain/ zones, explicitly define all names that should be served locally; (4) Do not rely on --dnssec to mitigate this issue for unsigned zones, as insecure records are still cached. Organizations should update dnsmasq to the patched version once available and review all split-DNS configurations to ensure upstream servers are from fully trusted sources (Red Hat CVE, Red Hat Bugzilla).

Community reactions

Red Hat rated this vulnerability as "Important" (despite the 6.8 CVSS score), noting that the original reporter scored it 7.5 (AC:L, S:U) while Red Hat adjusted to 6.8 (AC:H, S:C) to reflect the split-DNS precondition requirement. Red Hat acknowledged the reporter, Shubham Raj of Causal Security, for responsible disclosure. The vulnerability was tracked under Red Hat Bugzilla 2536079 with 35 CC'd users, indicating broad internal attention across OpenShift, RHEL, and Ceph product teams (Red Hat CVE, Red Hat Bugzilla).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Affected

bookworm

dnsmasq

Affected

sid

dnsmasq

Affected

trixie

dnsmasq

Affected

Ubuntu

Unknown

bionic (esm-infra)

dnsmasq

Unknown

devel

dnsmasq

Unknown

focal (esm-infra)

dnsmasq

Unknown

jammy

dnsmasq

Unknown

noble

dnsmasq

Unknown

resolute

dnsmasq

Unknown

trusty (esm-infra-legacy)

dnsmasq

Unknown

xenial (esm-infra-legacy)

dnsmasq

Unknown

RHEL / CentOS

Affected

OpenShift

openshift/ose-rhel-coreos-8

Affected

RHEL 8

dnsmasq.src

Affected

RHEL 9

dnsmasq.src

Affected

RHEL 10

dnsmasq.src

Affected

Source: This report was generated using AI

Related dnsmasq vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-93008MEDIUM6.8
  • dnsmasq logodnsmasq
  • dnsmasq
NoNoOct 29, 2026
CVE-2026-133730MEDIUM5.9
  • dnsmasq logodnsmasq
  • dnsmasq.src
NoNoNov 20, 2026
CVE-2026-93011MEDIUM5.3
  • dnsmasq logodnsmasq
  • dnsmasq.src
NoNoOct 29, 2026
CVE-2026-93010MEDIUM4.3
  • dnsmasq logodnsmasq
  • dnsmasq
NoNoOct 29, 2026
CVE-2026-93009MEDIUM4.3
  • dnsmasq logodnsmasq
  • dnsmasq
NoNoOct 29, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management