CVE-2026-84366Scrapy: S3DownloadHandler sends signed S3 requests over plaintext HTTP by default
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
Fixed builds are available from Debian, PyPI: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | python3.14 | Fix pending | UBUNTU-CVE-2026-84366 | |
| Ubuntu 26.04 | python3.14 | Under investigation | UBUNTU-CVE-2026-84366 | |
| Ubuntu 24.04 | python3.12 | Under investigation | UBUNTU-CVE-2026-84366 | |
| Ubuntu 22.04 | python2.7 | Fix pending | UBUNTU-CVE-2026-84366 | |
| Ubuntu 22.04 | python3.10 | Under investigation | UBUNTU-CVE-2026-84366 | |
| Ubuntu 22.04 | python3.11 | Fix pending | UBUNTU-CVE-2026-84366 | |
| Ubuntu 20.04 | python2.7 | Fix pending | UBUNTU-CVE-2026-84366 | |
| Ubuntu 20.04 | python3.8 | Fix pending | UBUNTU-CVE-2026-84366 | |
| Ubuntu 20.04 | python3.9 | Fix pending | UBUNTU-CVE-2026-84366 | |
| Ubuntu 18.04 | python2.7 | Fix pending | UBUNTU-CVE-2026-84366 | |
| Ubuntu 18.04 | python3.6 | Fix pending | UBUNTU-CVE-2026-84366 | |
| Ubuntu 18.04 | python3.7 | Fix pending | UBUNTU-CVE-2026-84366 | |
| Ubuntu 18.04 | python3.8 | Fix pending | UBUNTU-CVE-2026-84366 | |
| Ubuntu 16.04 | python2.7 | Fix pending | UBUNTU-CVE-2026-84366 | |
| Ubuntu 16.04 | python3.5 | Fix pending | UBUNTU-CVE-2026-84366 | |
| Ubuntu 14.04 | python2.7 | Fix pending | UBUNTU-CVE-2026-84366 | |
| Ubuntu 14.04 | python3.4 | Fix pending | UBUNTU-CVE-2026-84366 | |
| Ubuntu 14.04 | python3.5 | Fix pending | UBUNTU-CVE-2026-84366 | |
| Debian 14 | python-scrapy | Fixed | 2.17.0-1 | DEBIAN-CVE-2026-84366 |
| Debian 13 | python-scrapy | Fix pending | DEBIAN-CVE-2026-84366 | |
| Debian 12 | python-scrapy | Fix pending | DEBIAN-CVE-2026-84366 | |
| PyPI library | scrapy | Fixed | 2.17 | PYSEC-2026-3918 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- scrapy: affected: < 2.17.0
References
- https://github.com/scrapy/scrapy/security/advisories/GHSA-76g3-c3x4-crvx
- https://github.com/scrapy/scrapy/commit/9523e1ec8c41fde265a26d14563d178b6f1ad04b
- https://github.com/scrapy/scrapy/releases/tag/2.17.0
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.