PyPI (Python)Worst: High18 advisories

scrapy: known vulnerabilities

scrapy has 18 reviewed security advisories in the GitHub Advisory Database — 11 high, 7 moderate. The most recent was published 2026-09-01. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the scrapy versions running across your servers, containers and images, and ranks what to patch first.

How to fix scrapy

Upgrade scrapy to a release at or above the fixed version shown for each advisory below. For PyPI (Python):

pip install --upgrade scrapy (pin scrapy>=2.17)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (18)

Scrapy: S3DownloadHandler sends signed S3 requests over plaintext HTTP by default High 7.4 CWE-319 — Affected: before 2.17. Fixed in 2.17. Published 2026-09-01. GHSA-76g3-c3x4-crvx · CVE-2026-84366
Scrapy: Arbitrary Module Import via Referrer-Policy Header in RefererMiddleware High 7.5 CWE-470 — Affected: from 1.4.0 up to 2.14.2. Fixed in 2.14.2. Published 2026-03-13. GHSA-cwxj-rr6w-m6w7 · CVE-2026-105782
Scrapy is vulnerable to a denial of service (DoS) attack due to flaws in brotli decompression implementation High 7.5 CWE-400 — Affected: before 2.13.4. Fixed in 2.13.4. Published 2025-10-31. GHSA-2qfp-q593-8484 · CVE-2025-6176
Duplicate Advisory: Scrapy leaks the authorization header on same-domain but cross-origin redirects High 7.5 CWE-200 — Affected: before 2.11.2. Fixed in 2.11.2. Published 2024-05-20. GHSA-cg34-w3fm-82h3
Scrapy allows redirect following in protocols other than HTTP Moderate 6.5 CWE-552 — Affected: before 2.11.2. Fixed in 2.11.2. Published 2024-05-14. GHSA-23j4-mw76-5v7h
Scrapy leaks the authorization header on same-domain but cross-origin redirects Moderate 5.9 CWE-200 — Affected: before 2.11.2. Fixed in 2.11.2. Published 2024-05-14. GHSA-4qqq-9vqf-3h3f · CVE-2024-1968
Scrapy's redirects ignoring scheme-specific proxy settings Moderate 4.3 — Affected: before 2.11.2. Fixed in 2.11.2. Published 2024-05-14. GHSA-jm3v-qxmh-hxwv
Duplicate Advisory: Scrapy authorization header leakage on cross-domain redirect High 7.5 CWE-200 — Affected: before 2.11.1. Fixed in 2.11.1. Published 2024-04-16. GHSA-4q82-j5c2-g2c5
Duplicate Advisory: Scrapy decompression bomb vulnerability High 7.5 CWE-409 — Affected: before 2.11.1. Fixed in 2.11.1. Published 2024-04-16. GHSA-rmqv-7v3j-mr7p
Duplicate Advisory: ReDos vulnerability of XMLFeedSpider High 7.5 CWE-1333 — Affected: before 1.8.4. Fixed in 1.8.4. Published 2024-02-28. GHSA-7c9g-vj9m-8pm6
Scrapy decompression bomb vulnerability High 7.5 CWE-409 — Affected: before 1.8.4. Fixed in 1.8.4. Published 2024-02-16. GHSA-7j7m-v7m3-jqm7 · CVE-2024-3572
Scrapy vulnerable to ReDoS via XMLFeedSpider High 7.5 CWE-1333 — Affected: before 1.8.4. Fixed in 1.8.4. Published 2024-02-15. GHSA-cc65-xxvf-f7r9 · CVE-2024-1892
Scrapy authorization header leakage on cross-domain redirect High 7.5 CWE-200 — Affected: before 1.8.4. Fixed in 1.8.4. Published 2024-02-15. GHSA-cw9j-q3vf-hrrv · CVE-2024-3574
Scrapy before 2.6.2 and 1.8.3 vulnerable to one proxy sending credentials to another Moderate — Affected: from 2.0.0 up to 2.6.2. Fixed in 2.6.2. Published 2022-07-29. GHSA-9x8m-2xpf-crp3
Incorrect Authorization and Exposure of Sensitive Information to an Unauthorized Actor in scrapy Moderate 6.5 CWE-200 CWE-863 — Affected: from 2.0.0 up to 2.6.0. Fixed in 2.6.0. Published 2022-03-01. GHSA-cjvr-mfj7-j4j8 · CVE-2022-0577
Scrapy cookie-setting is not restricted based on the public suffix list Moderate — Affected: from 2.0.0 up to 2.6.0. Fixed in 2.6.0. Published 2022-03-01. GHSA-mfjm-vh54-3f96
Scrapy HTTP authentication credentials potentially leaked to target websites Moderate 5.7 CWE-200 CWE-522 — Affected: from 2.0.0 up to 2.5.1. Fixed in 2.5.1. Published 2021-10-06. GHSA-jwqp-28gf-p498 · CVE-2021-41125
Scrapy denial of service vulnerability High 7.5 CWE-400 — Affected: 0.7 through 2.15.2. No fixed release is listed. Published 2017-09-05. GHSA-h7wm-ph43-c39p · CVE-2017-14158

Find scrapy across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.