The vulnerability lies in Weblate's outbound URL validation logic, specifically in how it determines if an IP address is public. The functions _is_public_ip and validate_untrusted_hostname in weblate/utils/outbound.py used the is_global property from Python's ipaddress library. However, this property did not correctly handle various IPv6-to-IPv4 transition mechanisms, such as 6to4, NAT64, and IPv4-compatible addresses. An attacker could craft a hostname that would resolve to an IPv6 address that, while appearing 'global' to the is_global check, would actually route to an internal or private IPv4 address on the server. This allowed for a Server-Side Request Forgery (SSRF) attack, bypassing the intended VCS_RESTRICT_PRIVATE protection. The patch addresses this by introducing a new function, _unwrap_ipv6_transition (later refactored into _is_global_address), which unwraps these transitional addresses to reveal the underlying IPv4 address before performing the public/private check. The vulnerable functions were updated to use this new, more robust validation logic.