A vulnerability in mail-parser's get_server_ipaddress() function allowed sender IP address spoofing due to unreliable candidate address selection. This was fixed in version 4.6.2 by changing how candidate addresses are selected and improving IPv6 pattern matching. The function now returns None in cases where it previously returned unreliable addresses, requiring callers to handle this new behavior. No workarounds exist within mail-parser itself; callers unable to upgrade should rely on authenticated signals like MTA logs or SPF/DKIM/DMARC results for sender attribution.