The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-4893

CVE-2026-4893: dnsmasq Information Disclosure Vulnerability

CVE-2026-4893 is an information disclosure flaw in dnsmasq that allows attackers to bypass source checks using crafted DNS packets with RFC 7871 client subnet data. This article covers technical details, impact, and mitigations.

Published: May 18, 2026

CVE-2026-4893 Overview

CVE-2026-4893 is an information disclosure vulnerability in dnsmasq, the lightweight DNS, DHCP, and TFTP forwarder widely deployed in routers, embedded devices, and Linux distributions. The flaw allows remote attackers to bypass source address checks by sending a crafted DNS packet that includes RFC 7871 EDNS Client Subnet (ECS) information. By spoofing or manipulating the ECS option, an attacker can elicit responses or information from a dnsmasq instance that would otherwise restrict queries based on source. The vulnerability affects DNS resolution integrity and can leak cached or internal name resolution data to unauthorized parties.

Critical Impact

Remote, unauthenticated attackers can bypass source-based access controls in dnsmasq to extract DNS information through crafted EDNS Client Subnet packets.

Affected Products

  • dnsmasq (upstream releases prior to the fix referenced on the dnsmasq-discuss mailing list)
  • Pi-hole FTL versions prior to v6.6.2
  • NixOS packages tracking vulnerable dnsmasq builds

Discovery Timeline

  • 2026-05-11 - CVE-2026-4893 published to NVD
  • 2026-05-12 - Last updated in NVD database

Technical Details for CVE-2026-4893

Vulnerability Analysis

The vulnerability resides in how dnsmasq validates the source of incoming DNS queries when those queries carry RFC 7871 EDNS Client Subnet (ECS) data. RFC 7871 defines an EDNS0 option that allows a recursive resolver to forward a portion of the client's IP subnet to authoritative servers for geo-aware responses. dnsmasq consumes this ECS information during query processing.

When a crafted DNS packet supplies ECS data, dnsmasq applies its source validation logic against the ECS-derived address rather than the true packet source. This trust mismatch allows an external attacker to impersonate a permitted client subnet. The attacker can then receive responses or cache state that should have been restricted to internal or trusted networks, resulting in information disclosure.

The issue is classified as an information disclosure flaw with no impact on integrity or availability. Exploitation requires no authentication and no user interaction, and the attack is delivered over the network.

Root Cause

The root cause is improper source validation in the DNS packet handler. The code path that enforces source-based access decisions consults the ECS option supplied by the remote sender. Because ECS data is attacker-controlled, the check can be bypassed by inserting a subnet that matches an allowed range.

Attack Vector

The attack vector is network based. An attacker sends a DNS query to an exposed dnsmasq listener and embeds an EDNS0 ECS option containing a subnet that satisfies the resolver's source policy. The query is processed as if it originated from within that subnet, returning DNS response data that should not be exposed to external clients. See the dnsmasq-discuss mailing list post and the CERT Vulnerability Report #471747 for protocol-level analysis.

Detection Methods for CVE-2026-4893

Indicators of Compromise

  • DNS queries arriving on external interfaces of dnsmasq that carry an EDNS0 Client Subnet option referencing internal RFC 1918 ranges.
  • Unexpected DNS responses sent to non-local source addresses for names that should only resolve for internal clients.
  • Spikes in EDNS0-bearing UDP/53 traffic from a small number of external source IPs.

Detection Strategies

  • Inspect DNS traffic with packet capture or a DNS-aware network sensor for OPT pseudo-records containing ECS data on untrusted interfaces.
  • Correlate dnsmasq query logs (log-queries enabled) with firewall flow records to identify queries answered for source addresses outside the allowed subnet.
  • Compare ECS subnet values against the packet's true source IP and alert on mismatches.

Monitoring Recommendations

  • Forward dnsmasq logs to a centralized analytics platform and baseline normal ECS usage patterns.
  • Monitor for sustained external queries against DNS resolvers that are intended to serve internal clients only.
  • Track package versions of dnsmasq and Pi-hole FTL across the fleet to confirm patch deployment.

How to Mitigate CVE-2026-4893

Immediate Actions Required

  • Upgrade dnsmasq to the fixed release noted on the dnsmasq CVE page.
  • Upgrade Pi-hole FTL to v6.6.2 or later.
  • Restrict the dnsmasq listener to trusted interfaces using interface= or listen-address= directives, and block UDP/TCP port 53 from untrusted networks at the perimeter firewall.

Patch Information

Vendor patches are tracked on the dnsmasq project CVE page and in the upstream dnsmasq-discuss announcement. Pi-hole shipped the corresponding fix in FTL v6.6.2. NixOS package updates are tracked in PR #519082 and PR #519093.

Workarounds

  • Disable EDNS Client Subnet processing in dnsmasq configuration if the feature is not required for upstream geo-aware resolution.
  • Bind dnsmasq to internal interfaces only and reject queries from external sources at the network edge.
  • Use access control directives such as local-service to limit responses to clients on directly attached subnets until the patch is applied.
bash
# Configuration example: restrict dnsmasq to internal interface and local clients
listen-address=192.168.1.1
bind-interfaces
local-service
# Optional: disable ECS handling on upstream queries
add-subnet=0.0.0.0/0,::/0  # remove or comment out if not required

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechDnsmasq

  • SeverityMEDIUM

  • CVSS Score5.3

  • EPSS Probability0.07%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • Technical References
  • GitHub NixOS Pull Request

  • GitHub NixOS Pull Request

  • Pi-hole FTL Release v6.6.2

  • dnsmasq Discuss Mailing List Post

  • dnsmasq CVE Information

  • CERT Vulnerability Report #471747
  • Related CVEs
  • CVE-2026-5172: dnsmasq Buffer Overflow Vulnerability

  • CVE-2026-2291: dnsmasq Buffer Overflow Vulnerability

  • CVE-2026-4892: dnsmasq DHCPv6 RCE Vulnerability

  • CVE-2026-4890: dnsmasq DNSSEC Validation DoS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English