Duplicate X-Forwarded-For headers let DNSdist clients spoof their IP
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- Low · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-287.
Summary
PowerDNS DNSdist from 2.0.0 before 2.0.12 and from 2.1.0 before 2.1.4 mishandles duplicate X-Forwarded-For headers when DNS over HTTPS is enabled and configured to trust those headers. If the reverse proxy in front of DNSdist appends a new X-Forwarded-For header instead of replacing existing ones, DNSdist uses the first header rather than the last, so a client can spoof its own IP address. The weakness is classified as CWE-287 (Improper Authentication). A remote client can exploit this without authentication, and the impact is limited to confidentiality.
Written with Claude Haiku 5.5 from the sources below · 2026-11-27
Description from the CNA
When DNS over HTTPS is enabled and configured to trust incoming X-Forwarded-For headers, and the reverse proxy placed in front of DNSdist does not replace existing X-Forwarded-For headers but merely append a new header to the query, the first header was used by DNSdist instead of the last one, making it possible for a client to spoof its own IP address.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
Upgrade PowerDNS DNSdist to version 2.0.12 or 2.1.4. The sources list no fixed version for PowerDNS DNSdist beyond these releases.
Written with Claude Haiku 5.5 from the sources below · 2026-11-27
- Fix · CNA DNSdist (PowerDNS) Fixed in 2.1.4, 2.0.12
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
PowerDNS DNSdist 2.0.12, 2.1.4
9 records Highest priority Priority LOW 9 LOW
Other records, highest priority first
- TI-2026-99218 Wrong client IP reused on DNSdist DoH connections to proxy protocol backendsPriority LOW 24
- TI-2026-99226 EDNS option or DNS record smuggling in PowerDNS DNSdistPriority LOW 22
- TI-2026-99223 Uncontrolled resource consumption in PowerDNS DNSdist webserverPriority LOW 22
Timeline
- 2026-11-27 Threatist record created from CVE-2026-85562
- 2026-11-27 Alias added: GHSA-r88w-f445-hm79
References
More PowerDNS vulnerabilities
- TI-2023-27571 Certain DNSSEC aspects of the DNS protocol (in RFC 4033, 4034, 4035, 6840, and related… CVSS 3.1HIGH 7.5
- TI-2015-01678 The label decompression functionality in PowerDNS Recursor 3.5.x, 3.6.x before 3.6.3, and… CVSS 2.0HIGH 7.8
- TI-2021-14878 PowerDNS Authoritative Server 4.5.0 before 4.5.1 allows anybody to crash the process by… CVSS 3.1HIGH 7.5
- TI-2016-04703 PowerDNS (aka pdns) Authoritative Server before 3.4.10 does not properly handle a . CVSS 3.0HIGH 7.5
- TI-2023-27773 The Closest Encloser Proof aspect of the DNS protocol (in RFC 5155 when RFC 9276 guidance… CVSS 3.1HIGH 7.5
- TI-2018-12065 Out-of-bounds read in [UNKNOWN] pdns-recursor CVSS 3.0HIGH 7.5
Sources
- CVE-2026-85562 · CVE Program
- CVE-2026-85562 · NVD
- FIRST EPSS
- GHSA-r88w-f445-hm79 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences