PHP2Shell: Read our blog on the critical RCE vulnerabilities affecting 70% of the Internet

CVE-2026-50106: 
Unbound vulnerability analysis and mitigation

Overview

CVE-2026-50106 is a DNSSEC validation tampering vulnerability in NLnet Labs Unbound that allows an unauthenticated network attacker to bypass trust anchor validation for an island-of-security zone. It affects all Unbound versions up to and including 1.26.1, with version 1.26.2 introducing the fix. The vulnerability was published on October 21, 2026, and carries a CVSS v3.1 base score of 6.5 (Medium) (GitHub Advisory, NLnet Labs Advisory).

Technical details

The root cause is classified as CWE-807 (Reliance on Untrusted Inputs in a Security Decision): Unbound's DNSSEC validator incorrectly trusts the SignerName field from an attacker-controlled NSEC/SOA RRSIG record when resolving which trust anchor to apply. When Unbound is configured with both a root trust anchor and an additional trust-anchor: directive for an island-of-security zone whose parent is provably insecure under the root chain, an attacker who can inject a single forged NXDOMAIN response — with the RRSIG SignerName set to the insecure parent zone — causes the validator to switch from the island's explicit trust anchor to the root anchor, then fall back to the insecure parent. This logic error results in records within the trust island being treated as insecure, effectively nullifying the island's DNSSEC protection (GitHub Advisory, NLnet Labs Advisory). Exploitation requires the attacker to be in a position to deliver a forged DNS response to the Unbound resolver (e.g., via an on-path or DNS poisoning position), and the resolver must be configured with the specific multi-trust-anchor setup described above.

Impact

Successful exploitation causes Unbound to treat DNSSEC-signed records within the targeted island-of-security zone as insecure, effectively stripping DNSSEC protection for that zone. This allows the attacker to spoof DNS responses for any name within the trust island without detection by the resolver, compromising DNS integrity and potentially redirecting users to malicious infrastructure. Availability is also impacted, as the forged NXDOMAIN causes Unbound to deny the existence of legitimate records in the trust island, resulting in resolution failures for affected names (GitHub Advisory, NLnet Labs Advisory).

Exploitability

There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation at the time of disclosure (GitHub Advisory). The EPSS score is 0.0, reflecting a very low current probability of exploitation, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog. Exploitation requires a high attack complexity — specifically, the ability to deliver a forged DNS response to the target resolver — limiting the practical attacker pool to those with on-path network access or DNS poisoning capability.

Exploitation steps

  1. Reconnaissance: Identify Unbound resolvers (version ≤ 1.26.1) configured with both a root trust anchor and an additional trust-anchor: for an island-of-security zone whose parent is provably insecure under the root chain.
  2. Position for DNS injection: Gain an on-path network position or exploit a DNS cache poisoning opportunity to intercept or inject DNS responses destined for the target Unbound resolver.
  3. Craft forged NXDOMAIN response: Construct a forged NXDOMAIN DNS response for a name within the island-of-security zone. Set the NSEC or SOA RRSIG SignerName field to the name of the insecure parent zone rather than the island zone's own name.
  4. Deliver the forged response: Send the crafted NXDOMAIN response to the Unbound resolver in response to a legitimate query for a name inside the trust island.
  5. Trigger validator confusion: Unbound's validator, upon receiving the forged response, incorrectly selects the root trust anchor and then falls back to the insecure parent, causing the island's records to be treated as insecure.
  6. Exploit degraded DNSSEC state: With DNSSEC validation bypassed for the trust island, send spoofed DNS responses for names within that zone; the resolver will accept them without DNSSEC validation, enabling DNS hijacking or denial of existence for legitimate records (GitHub Advisory, NLnet Labs Advisory).

Indicators of compromise

  • Logs: Unbound log entries showing unexpected DNSSEC validation status changes (e.g., records in a known-signed island-of-security zone being logged as insecure or bogus without a corresponding zone configuration change); repeated NXDOMAIN responses for names that should exist within a trust-anchor zone.
  • Network: Anomalous NXDOMAIN responses for names within an island-of-security zone, particularly where the RRSIG SignerName in the response does not match the expected zone apex; unexpected DNS responses arriving before the authoritative server responds (indicative of on-path injection).
  • Behavioral: Sudden resolution failures for names in a zone protected by an explicit trust-anchor: directive; Unbound treating previously DNSSEC-validated records as insecure without any configuration change.

Mitigation and workarounds

Upgrade NLnet Labs Unbound to version 1.26.2 or later, which contains the fix for this vulnerability (NLnet Labs Advisory, GitHub Advisory). If immediate patching is not possible, review and minimize the use of multiple trust-anchor: directives for island-of-security zones with provably insecure parents, and implement network-level controls to restrict DNS traffic to trusted resolvers and reduce exposure to forged DNS responses.

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

unbound

Affected

sid

unbound: 1.26.2-1

Fixed

trixie

unbound

Affected

Alpine

Fixed

edge

unbound: 1.26.2-r0

Fixed

Source: This report was generated using AI

Related Unbound vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-97206NONEN/A
  • Unbound logoUnbound
  • cpe:2.3:a:nlnetlabs:unbound
NoYesOct 21, 2026
CVE-2026-96405NONEN/A
  • Unbound logoUnbound
  • unbound
NoYesOct 21, 2026
CVE-2026-50106NONEN/A
  • Unbound logoUnbound
  • unbound-dracut
NoYesOct 21, 2026
CVE-2026-35501NONEN/A
  • Unbound logoUnbound
  • unbound
NoYesOct 21, 2026
CVE-2026-109125NONEN/A
  • Unbound logoUnbound
  • unbound-devel
NoYesOct 21, 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

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