Vulnerability · Published Sep 1, 2026 · Assigned by GitHub_M

CVE-2026-84366Scrapy: S3DownloadHandler sends signed S3 requests over plaintext HTTP by default

High 7.4

In plain English

A high-severity security flaw in scrapy from scrapy. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 17% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.4High
Exploit odds (30 days)0.3%top 82.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12python-scrapyno fix listedDEBIAN-CVE-2026-84366
Debian:13python-scrapyno fix listedDEBIAN-CVE-2026-84366
Debian:14python-scrapy2.17.0-1DEBIAN-CVE-2026-84366
PyPIscrapy2.17GHSA-76g3-c3x4-crvx
PyPIscrapy2.17.0PYSEC-2026-3918
Ubuntu:22.04:LTSpython3.10no fix listedUBUNTU-CVE-2026-84366
Ubuntu:24.04:LTSpython3.12no fix listedUBUNTU-CVE-2026-84366
Ubuntu:26.04:LTSpython3.14no fix listedUBUNTU-CVE-2026-84366
Ubuntu:26.10python3.14no fix listedUBUNTU-CVE-2026-84366

Affected products (as reported)

VendorProductVersions
scrapy scrapy < 2.17.0

Weakness: CWE-319 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

References