Information disclosure in scrapy - #VU162978
Published: November 9, 2026
Vulnerability details
The vulnerability allows an unauthenticated remote attacker controlling crawled content to cause local file reads or steal configured FTP credentials.
The vulnerability exists due to insufficient URL scheme restrictions in Scrapy's LinkExtractor and SitemapSpider when processing crawled content. An unauthenticated remote attacker can inject file:// or ftp:// URLs to pass local files to spider callbacks or send FTP credentials to an attacker-controlled server, provided allowed_domains is unset for file access or permits the FTP host.