Description
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.
Published: 2026-07-22
Score: 3.7 Low
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The flaw arises when Unbound listens on a proxy‑protocol‑port and has the answer‑cookie option enabled. It builds the RFC 9018 server‑cookie SipHash key using the proxy’s wire address instead of the actual PROXYv2‑declared client address. Consequently, a cookie obtained via a legitimate query on a given proxy node validates for any proxied source behind that node. An off‑path attacker can therefore capture a single cookie, replay it from any spoofed source, and bypass DNS Cookie checks that were intended to defend against spoofed DNS responses. The vulnerability represents an authorization bypass (CWE‑290) that enables forged DNS responses to be accepted.

Affected Systems

The issue affects NLnet Labs Unbound versions 1.18.0 through 1.25.1 that are configured to listen on a proxy‑protocol‑port with answer‑cookie set to yes. All other version numbers or configurations are unaffected.

Risk and Exploitability

The exploit requires the attacker to perform a legitimate DNS query to harvest a cookie, after which the cookie may be replayed from any spoofed source behind the same proxy node. The attack is off‑path and does not require direct connectivity to the actual client. Because the vulnerability affects only systems with proxy‑protocol enabled and cookie checks, the scope is limited to environments that use proxy‑protocol with DNS cookie validation. The CVSS score of 3.7 indicates moderate severity, but the exploitability is enabled by widely deployed proxy‑protocol setups. The EPSS score is less than 1% and the vulnerability is not listed in the CISA KEV catalog, suggesting that it is not yet targeted as a known exploit. Nevertheless, patching is recommended to remove the possibility of cookie forgery.

Generated by OpenCVE AI on August 2, 2026 at 18:03 UTC.

Remediation

Vendor Solution

This issue is fixed starting with version 1.25.2


OpenCVE Recommended Actions

  • Upgrade Unbound to version 1.25.2 or later, which contains a fix for the cookie computation bug.
  • If an immediate upgrade is not possible, disable answer‑cookie or remove cookie checks on interfaces that use proxy‑protocol, so that the server no longer requires cookies.
  • Restrict access to the proxy‑protocol port through firewall rules or use network segmentation so that only trusted clients can use it, mitigating the risk until the patch is applied.

Generated by OpenCVE AI on August 2, 2026 at 18:03 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 28 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
First Time appeared Redhat
Redhat hummingbird
Weaknesses CWE-303
CPEs cpe:/a:redhat:hummingbird:1
Vendors & Products Redhat
Redhat hummingbird
References
Metrics threat_severity

None

threat_severity

Low


Mon, 27 Jul 2026 20:30:00 +0000

Type Values Removed Values Added
First Time appeared Nlnetlabs
Nlnetlabs unbound
Vendors & Products Nlnetlabs
Nlnetlabs unbound

Wed, 22 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 22 Jul 2026 13:30:00 +0000

Type Values Removed Values Added
Description 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.
Title DNS Cookie bypass when combined with proxy-protocol use
Weaknesses CWE-290
References
Metrics cvssV3_1

{'score': 3.7, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N'}


Subscriptions

Nlnetlabs Unbound
Redhat Hummingbird
cve-icon MITRE

Status: PUBLISHED

Assigner: NLnet Labs

Published:

Updated: 2026-07-22T14:14:47.347Z

Reserved: 2026-06-22T12:27:22.817Z

Link: CVE-2026-54478

cve-icon Vulnrichment

Updated: 2026-07-22T14:14:41.664Z

cve-icon NVD

Status : Analyzed

Published: 2026-07-22T14:17:21.177

Modified: 2026-07-24T14:24:03.907

Link: CVE-2026-54478

cve-icon Redhat

Severity : Low

Publid Date: 2026-07-22T13:09:18Z

Links: CVE-2026-54478 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-02T18:15:04Z

Weaknesses
  • CWE-290

    Authentication Bypass by Spoofing

  • CWE-303

    Incorrect Implementation of Authentication Algorithm