IP whitelist mappings now match the direct connection address, and only read X-Forwarded-For when the connection comes from a proxy listed in Craft’s trustedHosts setting. Sites behind a reverse proxy, load balancer or CDN that leave trustedHosts at its default of any need to list their proxy’s addresses there, or have their web server restore the visitor address, for whitelisted visitors to keep being signed in.
When you replace any in trustedHosts, list every proxy between the visitor and Craft, such as a load balancer behind a CDN (for example ['private', '173.245.48.0/20']). Replacing any also changes which proxies Craft trusts for X-Forwarded-Proto and X-Forwarded-Host, so leaving one out can break HTTPS detection.
IP whitelist mappings no longer read Client-IP or other IP headers, and ignore Craft’s ipHeaders setting. If your proxy passes the visitor address in a different header, such as CF-Connecting-IP or X-Real-IP, have it send X-Forwarded-For or have your web server restore the visitor address.
Fixed
Fixed a high-severity authentication bypass vulnerability.