An issue exists in the curl-based transport backend where credentials may be leaked to attacker-controlled servers following HTTP redirects. This occurs because the credential validation process verifies the original URL rather than the effective URL after the redirect has taken place. Consequently, attackers can steal authentication tokens by utilizing cross-domain redirects or HTTPS-to-HTTP downgrades.