CVE-2026-85562
Duplicate X-Forwarded-For DNS over HTTPS headers are not properly handled
5.3
Description
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.
Affected products and versions
| Product / package | Ecosystem / vendor | Versions | Fixed in | Source |
|---|---|---|---|---|
| dnsdist | powerdns | 2.1.0 → <2.1.4; 2.0.0 → <2.0.12 | 2.0.12 | CVE.org |