CVE-2026-93010: Dnsmasq: dnsmasq: --leasequery without address argument applies no source address check

Published Sep 17, 2026
·
Updated

A flaw was found in dnsmasq. When DHCP leasequery is enabled without listing allowed source addresses, the server does not check who sent the query. A host on the local network can request DHCP lease records and learn assigned addresses, MAC addresses, hostnames, and related lease metadata. The feature is off unless an administrator turns it on.

Other sources

A missing authorization check was found in dnsmasq's DHCPLEASEQUERY handler (src/rfc2131.c). When --leasequery is specified without an address argument, option parsing (src/option.c) sets OPTLEASEQUERY but leaves daemon->leasequeryaddr NULL. The source-address ACL is gated on leasequeryaddr being non-NULL, so the check is skipped and any LAN host can send DHCPLEASEQUERY and receive lease records (IP, MAC, hostname, client ID, vendor class, relay agent ID).

The feature is off by default. The man page documents the address argument as optional. This is closer to a hardening gap than a default-config vulnerability. Red Hat default package configurations do not enable --leasequery.

Affected versions: v2.92 onwards. Feature not present in v2.91 and earlier. Fix: Not yet available (reporter coordinating with upstream). Reporter: Shubham Raj (Causal Security) PSIRT Ticket: PSIRTSUPT-23743

— Red Hat

Dnsmasq: dnsmasq: --leasequery without address argument applies no source address check

— 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*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Do not enable the DHCPLEASEQUERY feature unless it is required; remove or disable the --leasequery configuration.

    dnsmasq --leasequery = disabled
  2. Configuration

    If DHCP leasequery is required, specify allowed source addresses with --leasequery instead of enabling it without an address argument, so the source-address ACL is applied.

    dnsmasq --leasequery address argument = configured with allowed source addresses

Event History

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

Frequently Asked Questions

1

Which deployments are exposed?

Deployments are exposed only if DHCP leasequery has been enabled with --leasequery and no allowed source address argument. The feature is off by default, and Red Hat default package configurations do not enable it.

2

What does an attacker need to exploit this?

An attacker needs to be a host on the local network that can send DHCPLEASEQUERY requests. No privileges or user interaction are required.

3

What information can an unauthorized requester obtain?

They can retrieve DHCP lease records, including assigned IP addresses, MAC addresses, hostnames, client IDs, vendor classes, relay agent IDs, and related lease metadata.

4

What can be done before a fix is available?

Do not enable --leasequery without an allowed source address argument. If leasequery is required, configure the source-address restriction rather than leaving the argument unspecified.

5

Which versions are affected?

The issue affects dnsmasq v2.92 onwards. The leasequery feature is not present in v2.91 and earlier, and a fix was not yet available in the provided information.

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