CVE-2026-40622: Ghost-domain persistence through NS cache manipulation in Unbound
- Vendor
- Nlnet Labs
CVE-2026-40622 is a DNS cache manipulation vulnerability affecting NLnet Labs Unbound versions 1.16.2 through 1.25.0 inclusive. A single client NS query can cause the resolver to overwrite an expired cached parent-side referral NS RRset with the child-side apex NS RRset, extending a ghost domain's persistence by up to one configured cache-max-ttl interval. Exploitation requires control of a ghost zone and query access to the vulnerable resolver. With the non-default harden-referral-path: yes setting, Unbound performs the triggering NS query implicitly. Unbound 1.25.1 fixes the NS-record handling by preventing TTL extension for parent NS records regardless of their trust.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
An attacker can prolong the resolver's use of stale delegation information for an attacker-controlled ghost zone by up to one configured maximum cache TTL interval. This compromises DNS resolution integrity by allowing the ghost zone to remain resolvable beyond its intended delegation lifetime. No direct confidentiality or availability impact is identified for this vulnerability.
Mitigation
If you can’t patch tonight, do this now.
Restrict recursive-query access to trusted clients where possible. As a partial risk reduction, avoid the non-default harden-referral-path: yes setting unless operationally required, because it causes Unbound to issue the triggering NS query implicitly. Disabling that setting does not eliminate the vulnerability: an explicit client NS query can still trigger it. These measures do not replace patching.
Remediation
Patch, then assume compromise.
Upgrade Unbound to version 1.25.1 or later, or install the operating-system vendor's security update containing the equivalent fix. The patch prevents TTL extension for parent-side NS records regardless of trust. The separate A/AAAA glue-record variant, CVE-2026-42955, requires Unbound 1.25.2 or later.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Frequently asked questions
- Is CVE-2026-40622 exploited in the wild?
- As of Nov 13, 2026, Mallory has no reports of CVE-2026-40622 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-40622?
- As of Nov 13, 2026, Mallory has found no public exploit for CVE-2026-40622.
- Is there a patch for CVE-2026-40622?
- Upgrade Unbound to version 1.25.1 or later, or install the operating-system vendor's security update containing the equivalent fix. The patch prevents TTL extension for parent-side NS records regardless of trust.
- What products are affected by CVE-2026-40622?
- Nlnet Labs Unbound.
- How severe is CVE-2026-40622?
- CVE-2026-40622 has a CVSS v4 score of 6.6 (Medium) and an EPSS score of 0.14% (4th percentile) as of Nov 13, 2026.
Recent activity
36 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.