Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend legitimate DNS query via proxy node
-
DeliveryCapture server cookie (SipHash over proxy IP)
-
ExploitCraft UDP packets with spoofed source addresses
-
ExecutionReplay harvested cookie in DNS query
-
PersistUnbound accepts cookie as valid
-
ImpactBypass DNS Cookie spoofing protection
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Anti-spoofing controls
MITRE ATT&CK
1 technique across 1 tactic: Defense Evasion The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires two non-default Unbound configuration directives to be active simultaneously: proxy-protocol-port must designate at least one listening interface for PROXYv2-encapsulated connections, and answer-cookie: yes must be set to enable DNS Cookie processing. The transport must be UDP, as PROXYv2 header injection in this context occurs on a UDP+proxy-protocol front end. The attacker must be capable of sending at least one legitimate DNS query routed through the target proxy node in order to harvest a valid server cookie. What limits exploitation: the configuration is non-default and requires deliberate operator setup; TCP-only deployments behind the proxy are not affected; attackers without any ability to reach the resolver through the proxy node cannot harvest a cookie and cannot replay it. |
| Impact | The NVD CVSS score of 3.7 (AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N) appropriately reflects the narrow attack surface: AC:H captures the non-default configuration prerequisite (both proxy-protocol-port and answer-cookie: yes must be active), and I:L reflects a security-control bypass rather than direct data manipulation or code execution. The vulnerability's real-world risk depends heavily on deployment topology - operators who have explicitly layered DNS Cookies atop PROXYv2 infrastructure to harden against spoofing are the only affected population, and for them the impact is the complete neutralization of that control. No EPSS data was supplied, so exploitation probability cannot be quantified. The vulnerability is absent from the CISA KEV catalog and no public proof-of-concept has been identified, suggesting it has not been operationalized at scale. The primary concern is that attackers aware of this flaw could defeat DNS Cookie-based amplification mitigations at affected resolvers, potentially re-enabling source-spoofed query floods. CVSS does not capture the second-order risk of undermining a deployed spoofing defense, which makes the practical severity somewhat higher than the raw score implies for affected deployments. |
| Exploit ScenarioDerived | An attacker who can send a single DNS query through a PROXYv2 proxy node fronting a vulnerable Unbound instance issues a legitimate query and captures the server cookie returned - which is computed from the proxy node's IP, not the attacker's. The attacker then crafts subsequent UDP DNS queries with arbitrary spoofed source addresses, appending the harvested cookie; Unbound accepts these as cookie-validated, treating them as legitimate clients. Because DNS Cookies were the deployed control against off-path spoofed queries, this bypasses the primary anti-amplification and anti-spoofing defense at that resolver. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 22, 2026
DNS Cookie bypass in NLnet Labs Unbound 1.18.0 through 1.25.1 allows an off-path network attacker to defeat RFC 7873 DNS Cookie spoofing protections when Unbound is simultaneously configured with proxy-protocol-port and answer-cookie: yes. The RFC 9018 server-cookie SipHash is computed over the proxy node's wire-layer IP address rather than the PROXYv2-declared client address, meaning a single valid cookie harvested through any proxy node is reusable against every spoofed source behind that node. No public exploit code has been identified at time of analysis, and the vulnerability is not listed in the CISA KEV catalog; however, the conceptual attack path is straightforward for any attacker with the ability to send one legitimate DNS query through the affected proxy infrastructure.
RemediationAI
Consult the NLnet Labs advisory at https://www.nlnetlabs.nl/downloads/unbound/CVE-2026-54478.txt for the specific patched release version, and upgrade as soon as it is available; the advisory is the authoritative source since no explicit fix version appears in the current data. As an immediate workaround, operators can disable DNS Cookies on proxy-protocol-port interfaces by setting answer-cookie: no for those listeners, accepting the trade-off that DNS Cookie spoofing protection will no longer apply to queries arriving via that proxy path. Alternatively, operators can remove proxy-protocol-port configuration and use a network-level mechanism to pass client addresses, though this may affect logging fidelity or load-balancer integration. If neither workaround is acceptable, rate-limiting DNS query volume from known proxy nodes and deploying upstream filtering against spoofed sources (BCP38) can reduce the amplification risk that DNS Cookies were intended to address.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Unbound is a validating, recursive DNS resolver developed by NLnet Labs. RFC 7873 defines DNS Cookies as a lightweight mechanism to protect against off-path (source-spoofed) DNS attacks, including reflection/amplification and cache poisoning. RFC 9018 specifies SipHash-2-4 as the algorithm for computing server-side DNS cookies, with the client's IP address as a key input to bind the cookie to a specific source. PROXYv2 is a binary header protocol allowing load balancers and proxy nodes to forward the original client's IP to backend servers. Unbound's proxy-protocol-port directive enables listening on a port that expects PROXYv2 headers. The root cause (CWE-290, Authentication Bypass by Spoofing) is that when both features are active simultaneously, the SipHash computation consumes the proxy node's actual wire-layer source address rather than the client IP declared in the PROXYv2 header. This collapses the per-client cookie binding to a per-proxy binding, invalidating the spoofing-resistance guarantee. The affected CPE is cpe:2.3:a:nlnet_labs:unbound:*:*:*:*:*:*:*:* spanning versions 1.18.0 to 1.25.1.
Know when Unbound gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
Network vector because DNS queries arrive remotely; AC:H because simultaneous proxy-protocol-port and answer-cookie configuration is required; I:L captures security-control bypass with no confidentiality or availability impact.
Primary rating from Vendor (NLnet Labs).
CVSS VectorVendor: NLnet Labs
Lifecycle Timeline
1DescriptionCVE.org
In NLnet Labs Unbound 1.18.0 up to and including 1.25.1, when Unbound listens on a 'proxy-protocol-port' interface with 'answer-cookie: yes', the RFC 9018 server-cookie SipHash is computed over the proxy's wire address instead of the PROXYv2-declared client. One server cookie obtained through a given proxy node therefore validates for every PROXYv2-declared source behind that node. On a UDP+proxy-protocol front, an off-path attacker can harvest one cookie with a single legitimate query, then replay it under any spoofed source and pass DNS Cookie checks that were deployed to defeat this in the first place.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Unbound 1.6.4 through 1.9.4 contain a vulnerability in the ipsec module that can cause shell code execution after receiv
A crafted DNSKEY whose owner name is a compression pointer into its own RDATA overflows the digest buffer in the DNSSEC
Use-after-free in the DNSSEC validator of NLnet Labs Unbound resolver versions 1.19.1 through 1.25.0 allows remote attac
Remote denial of service in NLnet Labs Unbound recursive DNS resolver (versions up to and including 1.25.0) allows an at
Heap overflow denial-of-service in NLnet Labs Unbound recursive DNS resolver versions 1.14.0 through 1.25.0 allows remot
Heap-based memory corruption in NLnet Labs Unbound up to and including 1.26.0 lets a remote, unauthenticated attacker wh
Unbound before 1.9.4 accesses uninitialized memory, which allows remote attackers to trigger a crash via a crafted NOTIF
Remote denial of service in NLnet Labs Unbound 1.22.0 through 1.25.1 lets an unauthenticated client exhaust configured m
Remote denial-of-service in NLnet Labs Unbound 1.23.0 through 1.25.1 lets an attacker who controls a delegated DNS zone
Remote denial-of-service in NLnet Labs Unbound 1.9.0 through 1.25.1 allows an unauthenticated attacker to crash the recu
Heap buffer overflow in NLnet Labs Unbound 1.26.0 and earlier can be triggered when a resolver processing a large TCP-fr
Denial-of-service through algorithmic complexity attacks in NLnet Labs Unbound up to and including 1.26.0 can degrade or
EUVD-2026-47678
GHSA-pp7x-83x2-99v7
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB