Io.netty:netty resolver dns: Netty has Insufficient Bailiwick Validation for NS Records (CVE-2026-47691)
### Summary Netty's `DnsResolveContext` insufficiently validates the bailiwick of NS records, enabling DNS Cache Poisoning. An attacker controlling an authoritative name server for a subdomain can poison the cache for parent domains (like `.co.uk`). ### Details In `io.netty.resolver.dns.DnsResolveContext.AuthoritativeNameServerList#add` method accepts any NS record from the AUTHORITY section as long as the record's name is a suffix of the questionName. This means if the resolver queries evil.co.uk., it will accept an NS record claiming authority over co.uk.. Subsequently, the `handleWithAdditional` method caches the associated A records from the ADDITIONAL section directly into the `authoritativeDnsServerCache` under the parent domain's key (co.uk.). This bypasses standard bailiwick rules, where a server authoritative for a subdomain should not be trusted to provide authoritative records for its parent. The poisoned cache is then used for all future resolutions under co.uk.. The `io.netty.resolver.dns.DnsResolveContext.AuthoritativeNameServerList#cache` method only prevents caching if the record is for the root zone (dots == 1). ### Impact DNS Cache Poisoning. Any application using Netty's DNS resolver is impacted.
AI Analysis
Technical Summary
The vulnerability in Netty's io.netty.resolver.dns.DnsResolveContext arises because the method that adds NS records from the DNS AUTHORITY section accepts any NS record whose name is a suffix of the queried domain name, without proper bailiwick validation. This allows an attacker controlling a subdomain's authoritative name server to inject NS records for the parent domain into the resolver's cache. The resolver then caches associated A records under the parent domain key, bypassing standard bailiwick rules that prevent subdomain servers from asserting authority over parent domains. This leads to DNS cache poisoning, where future DNS resolutions under the parent domain can be manipulated. The vulnerability affects any application using Netty's DNS resolver. Red Hat advisories indicate that the issue is fixed by upgrading Netty to version 4.1.135.Final in their Quarkus builds 3.27.4.SP1 and 3.33.2.SP1.
Potential Impact
The vulnerability enables DNS cache poisoning, allowing an attacker who controls an authoritative name server for a subdomain to poison the DNS cache for parent domains. This can cause applications relying on Netty's DNS resolver to receive incorrect DNS responses, potentially leading to traffic interception, redirection, or denial of service. The CVSS v3.1 vector indicates network attack complexity is high, no privileges or user interaction required, with a scope change and high confidentiality and integrity impact but no availability impact.
Mitigation Recommendations
Red Hat has released security updates for their build of Quarkus that include an upgrade of Netty to version 4.1.135.Final, which addresses this vulnerability. Users of Red Hat build of Quarkus versions 3.27.4.SP1 and 3.33.2.SP1 or later should apply these updates. Before applying these updates, ensure all prior relevant errata are applied. There is no indication that the vulnerability is mitigated without applying these updates. Patch status is confirmed by the vendor advisories. No additional mitigations are specified.
Io.netty:netty resolver dns: Netty has Insufficient Bailiwick Validation for NS Records (CVE-2026-47691)
Description
### Summary Netty's `DnsResolveContext` insufficiently validates the bailiwick of NS records, enabling DNS Cache Poisoning. An attacker controlling an authoritative name server for a subdomain can poison the cache for parent domains (like `.co.uk`). ### Details In `io.netty.resolver.dns.DnsResolveContext.AuthoritativeNameServerList#add` method accepts any NS record from the AUTHORITY section as long as the record's name is a suffix of the questionName. This means if the resolver queries evil.co.uk., it will accept an NS record claiming authority over co.uk.. Subsequently, the `handleWithAdditional` method caches the associated A records from the ADDITIONAL section directly into the `authoritativeDnsServerCache` under the parent domain's key (co.uk.). This bypasses standard bailiwick rules, where a server authoritative for a subdomain should not be trusted to provide authoritative records for its parent. The poisoned cache is then used for all future resolutions under co.uk.. The `io.netty.resolver.dns.DnsResolveContext.AuthoritativeNameServerList#cache` method only prevents caching if the record is for the root zone (dots == 1). ### Impact DNS Cache Poisoning. Any application using Netty's DNS resolver is impacted.
CVSS v3.1
Score 8.7high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in Netty's io.netty.resolver.dns.DnsResolveContext arises because the method that adds NS records from the DNS AUTHORITY section accepts any NS record whose name is a suffix of the queried domain name, without proper bailiwick validation. This allows an attacker controlling a subdomain's authoritative name server to inject NS records for the parent domain into the resolver's cache. The resolver then caches associated A records under the parent domain key, bypassing standard bailiwick rules that prevent subdomain servers from asserting authority over parent domains. This leads to DNS cache poisoning, where future DNS resolutions under the parent domain can be manipulated. The vulnerability affects any application using Netty's DNS resolver. Red Hat advisories indicate that the issue is fixed by upgrading Netty to version 4.1.135.Final in their Quarkus builds 3.27.4.SP1 and 3.33.2.SP1.
Potential Impact
The vulnerability enables DNS cache poisoning, allowing an attacker who controls an authoritative name server for a subdomain to poison the DNS cache for parent domains. This can cause applications relying on Netty's DNS resolver to receive incorrect DNS responses, potentially leading to traffic interception, redirection, or denial of service. The CVSS v3.1 vector indicates network attack complexity is high, no privileges or user interaction required, with a scope change and high confidentiality and integrity impact but no availability impact.
Mitigation Recommendations
Red Hat has released security updates for their build of Quarkus that include an upgrade of Netty to version 4.1.135.Final, which addresses this vulnerability. Users of Red Hat build of Quarkus versions 3.27.4.SP1 and 3.33.2.SP1 or later should apply these updates. Before applying these updates, ensure all prior relevant errata are applied. There is no indication that the vulnerability is mitigated without applying these updates. Patch status is confirmed by the vendor advisories. No additional mitigations are specified.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-5pvg-856g-cp85
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-47691"]
- Ecosystems
- ["Maven"]
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6a520efa68715ace4391e4f7
Added to database: 07/11/2026, 09:38:02 UTC
Last enriched: 07/11/2026, 10:14:41 UTC
Last updated: 07/31/2026, 19:22:59 UTC
Views: 56
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.