Report

CVE-2021-31879: HTTP Redirect Authorization Header Leak in Wget v1.21

f0cccc2f-cf0f-410b-b572-166e7a4a1a7c

Wget v1.21 leaks Authorization headers across HTTP redirects to different origin hosts. When a user makes an authenticated request with embedded credentials (like http://user:pass@hostA/) and the server responds with a redirect (301/302/307) to hostB, the Authorization header containing the original credentials is sent to hostB without verification of the origin change. This allows credential theft through redirect attacks.