DNS spoofing via constant transaction identifiers
Published Feb 23, 2026 · Updated Feb 23, 2026
DNS transaction ID weakness in Cesanta Mongoose 7.0 through 7.20 allows remote attackers to redirect hostname resolution. In mg_sendnsreq, an empty active-request list resets the identifier to 1, while dns_cb removes each completed request and recreates that condition. An attacker must win the UDP response race and spoof the DNS source; an accepted reply makes the application connect to an attacker-chosen address.
Summary
What happened
DNS transaction ID weakness in Cesanta Mongoose 7.0 through 7.20 allows remote attackers to redirect hostname resolution. In mg_sendnsreq, an empty active-request list resets the identifier to 1, while dns_cb removes each completed request and recreates that condition. An attacker must win the UDP response race and spoof the DNS source; an accepted reply makes the application connect to an attacker-chosen address.
The record
- CVE
- CVE-2026-2966
- Published
- Feb 23, 2026
- Updated
- Feb 23, 2026
- Vendor
- Cesanta
- Product
- Mongoose
- Classifications
- CWE-330, CWE-310, T1557
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Feb 23, 2026CVE publishedPublication date reported by the CVE source.
- Feb 23, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=7.0
- Affected versionversion=7.1
- Affected versionversion=7.10
- Affected versionversion=7.11
- Affected versionversion=7.12
- Affected versionversion=7.13
- Affected versionversion=7.14
- Affected versionversion=7.15
- Affected versionversion=7.16
- Affected versionversion=7.17
- Affected versionversion=7.18
- Affected versionversion=7.19
- Affected versionversion=7.2
- Affected versionversion=7.20
- Affected versionversion=7.3
- Affected versionversion=7.4
- Affected versionversion=7.5
- Affected versionversion=7.6
- Affected versionversion=7.7
- Affected versionversion=7.8
- Affected versionversion=7.9
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Mongoose DNS Predictable TXID proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo