Scrapy: S3DownloadHandler sends signed S3 requests over plaintext HTTP by default
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-319.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| scrapy | scrapy | before 2.17.0 | 2.17.0 | Patch available | CNA |
| — | scrapy (PyPI) | before 2.17 | 2.17 | Patch available | GHSA-76g3-c3x4-crvx |
- scrapy Vendorscrapy Affected before 2.17.0 Fixed in 2.17.0 Patch available CNA
- scrapy (PyPI) Vendor— Affected before 2.17 Fixed in 2.17 Patch available GHSA-76g3-c3x4-crvx
Remediation
- Fix · CNA scrapy (scrapy) Fixed in 2.17.0
- Fix · GHSA-76g3-c3x4-crvx scrapy (PyPI) Fixed in 2.17 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-84366
- 2026-10-03 Alias added: GHSA-76g3-c3x4-crvx
References
More scrapy vulnerabilities
- TI-2025-05586 Brotli decompression bomb DoS in scrapy/scrapy CVSS 3.0HIGH 7.5
- TI-2024-03333 Authorization Header Leak During Cross-Domain Redirect in scrapy/scrapy CVSS 3.0HIGH 7.5
- TI-2024-03331 XML External Entity (XXE) Vulnerability in scrapy/scrapy CVSS 3.0HIGH 7.5
- TI-2024-01831 Authorization Header Leakage in scrapy/scrapy on Scheme Change Redirects CVSS 3.0HIGH 7.5
- TI-2026-68383 Arbitrary module import via Referrer-Policy header in Scrapy CVSS 3.1HIGH 7.5
- TI-2026-40066 Protego: Exponential backtracking ReDoS in robots.txt URL wildcard matching CVSS 4.0HIGH 7.1
Sources
- CVE-2026-84366 · CVE Program
- CVE-2026-84366 · NVD
- FIRST EPSS
- GHSA-76g3-c3x4-crvx · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences