CVE-2026-84366
Scrapy is a high-level web crawling and scraping framework for …
Scrapy is a high-level web crawling and scraping framework for Python. Prior to 2.17.0, in scrapy/core/downloader/handlers/s3.py, Scrapy's S3DownloadHandler converts an S3-scheme bucket and key request into a plaintext HTTP request to the corresponding S3 endpoint unless request.meta["is_secure"] is explicitly enabled, then signs and sends the plaintext request with configured AWS credentials. A network attacker who can observe traffic between Scrapy and S3 can read the bucket and key path, AWS Authorization header, X-Amz-Security-Token when temporary credentials are used, S3 object contents, and S3 response headers. An active man-in-the-middle attacker can also modify the plaintext S3 response body, status code, and headers before Scrapy processes them, causing scraped-data poisoning, poisoned exports, HTTP cache poisoning when caching is enabled, or influence over later crawl targets through forged redirects or attacker-controlled links. Users making S3-scheme requests with AWS credentials are affected. This issue is fixed in version 2.17.0.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/scrapy/scrapy/commit/9523e1ec8c41fde265a26d14563d178b6f1ad04b
- github.com/scrapy/scrapy/releases/tag/2.17.0
- github.com/scrapy/scrapy/security/advisories/GHSA-76g3-c3x4-crvx
- nvd.nist.gov/vuln/detail/CVE-2026-84366
- github.com/advisories/GHSA-76g3-c3x4-crvx
- nvd.nist.gov/vuln/detail/CVE-2026-84366
- cve.org/CVERecord?id=CVE-2026-84366
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.