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

Published Sep 1, 2026
·
Updated

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["issecure"] 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 Software

1 affected component
Scrapy<2.17.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Scrapy S3DownloadHandler (scrapy/core/downloader/handlers/s3.py) to a version that resolves this vulnerability.

    Fixed in 2.17.0

Event History

Sep 1, 2026
CVE Published
via MITRE·08:29 PM
Data Sourced
via MITRE·08:29 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is affected by this issue?

Users of Scrapy versions before 2.17.0 that make S3-scheme requests using configured AWS credentials are affected. Exposure requires a network attacker able to observe or intercept traffic between the Scrapy process and S3.

2

Is the default S3 request behavior affected?

Yes. Before 2.17.0, S3DownloadHandler uses plaintext HTTP unless request.meta["is_secure"] is explicitly enabled. Requests explicitly configured with is_secure enabled do not use that plaintext behavior.

3

What can an attacker do if they can intercept the connection?

A passive attacker can read bucket and key paths, AWS Authorization headers, temporary-credential security tokens, object contents, and S3 response headers. An active attacker can alter response bodies, status codes, and headers, potentially poisoning scraped data, exports, or caches and influencing subsequent crawl targets through forged redirects or links.

4

What should be done if an immediate upgrade is not possible?

Explicitly enable request.meta["is_secure"] for S3-scheme requests to avoid the plaintext HTTP behavior. Upgrade to Scrapy 2.17.0 when possible, where the issue is fixed.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203