CVE-2026-54478
JSON

3.7low

DNS Cookie bypass when combined with proxy-protocol use

Severity
3.7low CVSS:3.1 by NLnet Labs
Exploit likelihood
0.17% (higher than 6% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
NLnet Labs

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.

Affected

Product or packageVersionsReported by
NLnet Labs Unboundfrom 1.18.0 before 1.25.2CVE List
nlnetlabs unboundfrom 1.18.0 before 1.25.2NVD

Classification

CWE-290

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En NLnet Labs Unbound 1.18.0 hasta la versión 1.25.1 inclusive, cuando Unbound escucha en una interfaz ’proxy-protocol-port’ con ’answer-cookie: yes’, el SipHash de la cookie del servidor RFC 9018 se calcula sobre la dirección de red del proxy en lugar del cliente declarado por PROXYv2. Una cookie de servidor obtenida a través de un nodo proxy dado, por lo tanto, es válida para cada fuente declarada por PROXYv2 detrás de ese nodo. En un frente UDP+proxy-protocol, un atacante fuera de ruta puede recolectar una cookie con una única consulta legítima, luego reproducirla bajo cualquier fuente falsificada y pasar las verificaciones de DNS Cookie que fueron implementadas para evitar esto en primer lugar.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-54478 changed 2026-07-22CVE Terms of Use
NVDCVE-2026-54478 changed 2026-10-24Public domain