Skip to main content

NLnet Labs Unbound CVE-2026-54478

| EUVDEUVD-2026-47678 LOW
Authentication Bypass by Spoofing (CWE-290)
2026-07-22 NLnet Labs GHSA-pp7x-83x2-99v7
3.7
CVSS 3.1 · Vendor: NLnet Labs
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send legitimate DNS query via proxy node
  2. Delivery
    Capture server cookie (SipHash over proxy IP)
  3. Exploit
    Craft UDP packets with spoofed source addresses
  4. Execution
    Replay harvested cookie in DNS query
  5. Persist
    Unbound accepts cookie as valid
  6. Impact
    Bypass 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.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Unbound 1.18.0 <1.25.2

Affected Packages

euvd unbound fix: 1.25.2

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

Vendor (NLnet Labs) PRIMARY 3.7 LOW
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
vuln.today AI 3.7 LOW

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.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (NLnet Labs).

CVSS VectorVendor: NLnet Labs

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None

Lifecycle Timeline

1
Patch available
Jul 22, 2026 - 16:18 EUVD

DescriptionCVE.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

EPSS Score
0.2%
Top 85% exploitable
Prevalence
Medium
widely-used open-source DNS resolver in enterprise and ISP deployments
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

18
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +18
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

CVE-2019-18934 HIGH POC
7.3 Nov 19

Unbound 1.6.4 through 1.9.4 contain a vulnerability in the ipsec module that can cause shell code execution after receiv

CVE-2026-81642 CRITICAL
9.1 Sep 16

A crafted DNSKEY whose owner name is a compression pointer into its own RDATA overflows the digest buffer in the DNSSEC

CVE-2026-33278 CRITICAL
9.1 May 20

Use-after-free in the DNSSEC validator of NLnet Labs Unbound resolver versions 1.19.1 through 1.25.0 allows remote attac

CVE-2026-42959 HIGH
8.7 May 20

Remote denial of service in NLnet Labs Unbound recursive DNS resolver (versions up to and including 1.25.0) allows an at

CVE-2026-42944 HIGH
8.7 May 20

Heap overflow denial-of-service in NLnet Labs Unbound recursive DNS resolver versions 1.14.0 through 1.25.0 allows remot

CVE-2026-82717 HIGH
8.4 Sep 16

Heap-based memory corruption in NLnet Labs Unbound up to and including 1.26.0 lets a remote, unauthenticated attacker wh

CVE-2019-16866 HIGH
7.5 Oct 03

Unbound before 1.9.4 accesses uninitialized memory, which allows remote attackers to trigger a crash via a crafted NOTIF

CVE-2026-32665 HIGH
7.5 Jul 22

Remote denial of service in NLnet Labs Unbound 1.22.0 through 1.25.1 lets an unauthenticated client exhaust configured m

CVE-2026-55973 HIGH
7.5 Jul 22

Remote denial-of-service in NLnet Labs Unbound 1.23.0 through 1.25.1 lets an attacker who controls a delegated DNS zone

CVE-2026-40691 HIGH
7.5 Jul 22

Remote denial-of-service in NLnet Labs Unbound 1.9.0 through 1.25.1 allows an unauthenticated attacker to crash the recu

CVE-2026-81634 HIGH
7.5 Sep 16

Heap buffer overflow in NLnet Labs Unbound 1.26.0 and earlier can be triggered when a resolver processing a large TCP-fr

CVE-2026-85501 HIGH
7.5 Sep 16

Denial-of-service through algorithmic complexity attacks in NLnet Labs Unbound up to and including 1.26.0 can degrade or

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy