Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
🐍
🐍 PyPI
Not in CISA KEV
HIGH severity

Scrapy: S3DownloadHandler sends signed S3 requests over plaintext HTTP by defaultGHSA-76g3-c3x4-crvx

HIGHFix: scrapy/scrapy@9523e1e

GHSA-76g3-c3x4-crvx is a high-severity (CVSS 7.4) CWE-319 vulnerability in scrapy. A fix is available for scrapy — see the affected versions and patch details below.

Also known asCVE-2026-84366PYSEC-2026-3918
Published
Updated
Affected
1 pkg
Patched
1 / 1
Exploits
None indexed
Exploitation data as of Oct 17, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Exploitation Status

No confirmed exploitation observed yet

  • A successful exploit gives an attacker total control of the affected component, not partial access.
  • CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.

Exploitation and automatability from CISA’s SSVC triage for GHSA-76g3-c3x4-crvx.

EPSS Exploitation Probability

via FIRST.org ↗
0.3%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs16th percentile — riskier than 16% of all scored CVEsHighest risk
0.00%0.25%0.50%0.75%0.3%0.3%Oct 26Oct 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

GHSA-76g3-c3x4-crvx by exploitation likelihood (EPSS) against impact (CVSS). Outside the shaded patch-first corner.

Where this sits among everything scored

Of 390,400 CVEs with a current EPSS score, this one falls in the < 10% band (highlighted). Counts from FIRST.org, log-scaled.

Real-World Exposure

1 pkg affected
🐍scrapy

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects PyPI packages — download data is not available via public APIs for these ecosystems.

Description

Problem

Scrapy’s S3DownloadHandler sends signed S3 requests over plaintext HTTP by default.

A normal request like s3://bucket/key is converted into http://bucket.s3.amazonaws.com/key unless request.meta["is_secure"] is explicitly set. The generated request is then signed with configured AWS credentials, so AWS authorization material can be sent without TLS.

Vulnerable code in scrapy/core/downloader/handlers/s3.py:

scheme = "https" if request.meta.get("is_secure") else "http"
url = f"{scheme}://{bucket}.s3.amazonaws.com{path}"

The request is then signed and dispatched:

self._signer.add_auth(awsrequest)
request = request.replace(url=url, headers=awsrequest.headers.items())

Impact

Users making Scrapy s3:// requests with AWS credentials are impacted.

A network attacker able to observe traffic between Scrapy and S3, such as a public Wi-Fi attacker, compromised router, ISP/corporate network observer, or local network attacker using ARP spoofing, can read:

bucket/key path
AWS Authorization header
X-Amz-Security-Token, if temporary credentials are used
S3 object contents
S3 response headers

An active MITM attacker can also modify the plaintext S3 response body, status code, and headers before Scrapy processes it. This can cause scraped data poisoning, poisoned exports, HTTP cache poisoning when cache is enabled, and influence over later crawl targets through forged redirects or attacker-controlled links.

Suggested classification: CWE-319: Cleartext Transmission of Sensitive Information.

PoC

A minimal PoC creates an s3:// request, enables fake AWS settings, captures the request produced by S3DownloadHandler, and prints the rewritten URL and auth headers.

Affected Packages

1 total 1 fixed
EcosystemPackageVulnerable rangeFix
🐍PyPIscrapyall versions2.17pip install --upgrade 'scrapy==2.17'

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for scrapy, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update scrapy to 2.17 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-76g3-c3x4-crvx is resolved across your whole dependency graph.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

Frequently Asked Questions

### Problem Scrapy’s `S3DownloadHandler` sends signed S3 requests over plaintext HTTP by default. A normal request like `s3://bucket/key` is converted into `http://bucket.s3.amazonaws.com/key` unless `request.meta["is_secure"]` is explicitly set. The generated request is then signed with configured AWS credentials, so AWS authorization material can be sent without TLS. Vulnerable code in `scrapy/core/downloader/handlers/s3.py`: ```python scheme = "https" if request.meta.get("is_secure") else "http" url = f"{scheme}://{bucket}.s3.amazonaws.com{path}" ``` The request is then signed and disp
O3 Security · Impact-Aware SCA

Is GHSA-76g3-c3x4-crvx in your dependencies?

Find it across PyPI, including transitive dependencies.

Scrapy: S3DownloadHandler sends signed S3 requests…