Information disclosure in scrapy - #VU127076
Published: July 25, 2022 / Updated: April 23, 2026
scrapy
scrapy.org
Description
The vulnerability allows a remote attacker to disclose proxy credentials to a different proxy.
The vulnerability exists due to improper handling of authentication headers in the built-in HTTP proxy downloader middleware when processing requests whose proxy metadata is changed during retries or redirects. A remote attacker can use a proxy-rotation setup that changes proxy metadata without clearing the previous authentication header to disclose proxy credentials to a different proxy.
The issue affects environments that rotate proxies from different proxy providers and where at least one proxy requires credentials.