
CVE catalog
CVE-2026-105782
Scrapy is a high-level web crawling and scraping framework for Python. From 1.4.0 until 2.14.2, RefererMiddleware in scrapy/spidermiddlewares/referer.py treated a Referrer-Policy response-header value
- Severity
- High · CVSS 7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Published
- Updated
- Source
- [NVD] · [CVE record]
- EPSS
- 0.38% · Oct 25, 2026
Scrapy is a high-level web crawling and scraping framework for Python. From 1.4.0 until 2.14.2, RefererMiddleware in scrapy/spidermiddlewares/referer.py treated a Referrer-Policy response-header value that resembled a Python import path as a referrer policy class, imported the referenced object, and called it. A malicious website could supply a callable such as sys.exit and terminate a crawler processing the response. This issue is fixed in version 2.14.2.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | python-scrapy | sid | 2.19.0-2 | fixed |
| Debian | python-scrapy | forky | 2.19.0-2 | fixed |
| Debian | python-scrapy | trixie | 2.12.0-2 | vulnerable |
| Debian | python-scrapy | bookworm | 2.8.0-2 | vulnerable |
| PyPI | scrapy | Not reported | 1.4.0 | vulnerable |
| PyPI | scrapy | Not reported | 1.5.0 | vulnerable |
| PyPI | scrapy | Not reported | 1.5.1 | vulnerable |
| PyPI | scrapy | Not reported | 1.5.2 | vulnerable |
| PyPI | scrapy | Not reported | 1.6.0 | vulnerable |
| PyPI | scrapy | Not reported | 1.7.0 | vulnerable |
| PyPI | scrapy | Not reported | 1.7.1 | vulnerable |
| PyPI | scrapy | Not reported | 1.7.2 | vulnerable |
| PyPI | scrapy | Not reported | 1.7.3 | vulnerable |
| PyPI | scrapy | Not reported | 1.7.4 | vulnerable |
| PyPI | scrapy | Not reported | 1.8.0 | vulnerable |
| PyPI | scrapy | Not reported | 1.8.1 | vulnerable |
| PyPI | scrapy | Not reported | 1.8.2 | vulnerable |
| PyPI | scrapy | Not reported | 1.8.3 | vulnerable |
| PyPI | scrapy | Not reported | 1.8.4 | vulnerable |
| PyPI | scrapy | Not reported | 2.0.0 | vulnerable |
| PyPI | scrapy | Not reported | 2.0.1 | vulnerable |
| PyPI | scrapy | Not reported | 2.1.0 | vulnerable |
| PyPI | scrapy | Not reported | 2.10.0 | vulnerable |
| PyPI | scrapy | Not reported | 2.10.1 | vulnerable |
| PyPI | scrapy | Not reported | 2.11.0 | vulnerable |
| PyPI | scrapy | Not reported | 2.11.1 | vulnerable |
| PyPI | scrapy | Not reported | 2.11.2 | vulnerable |
| PyPI | scrapy | Not reported | 2.12.0 | vulnerable |
| PyPI | scrapy | Not reported | 2.13.0 | vulnerable |
| PyPI | scrapy | Not reported | 2.13.1 | vulnerable |
| PyPI | scrapy | Not reported | 2.13.2 | vulnerable |
| PyPI | scrapy | Not reported | 2.13.3 | vulnerable |
| PyPI | scrapy | Not reported | 2.13.4 | vulnerable |
| PyPI | scrapy | Not reported | 2.14.0 | vulnerable |
| PyPI | scrapy | Not reported | 2.14.1 | vulnerable |
| PyPI | scrapy | Not reported | 2.2.0 | vulnerable |
| PyPI | scrapy | Not reported | 2.2.1 | vulnerable |
| PyPI | scrapy | Not reported | 2.3.0 | vulnerable |
| PyPI | scrapy | Not reported | 2.4.0 | vulnerable |
| PyPI | scrapy | Not reported | 2.4.1 | vulnerable |
| PyPI | scrapy | Not reported | 2.5.0 | vulnerable |
| PyPI | scrapy | Not reported | 2.5.1 | vulnerable |
| PyPI | scrapy | Not reported | 2.6.0 | vulnerable |
| PyPI | scrapy | Not reported | 2.6.1 | vulnerable |
| PyPI | scrapy | Not reported | 2.6.2 | vulnerable |
| PyPI | scrapy | Not reported | 2.6.3 | vulnerable |
| PyPI | scrapy | Not reported | 2.7.0 | vulnerable |
| PyPI | scrapy | Not reported | 2.7.1 | vulnerable |
| PyPI | scrapy | Not reported | 2.8.0 | vulnerable |
| PyPI | scrapy | Not reported | 2.9.0 | vulnerable |
| PyPI | scrapy | Not reported | 2.14.2 | fixed |
| PyPI | scrapy | Not reported | 1.4.0 | vulnerable |
| PyPI | scrapy | Not reported | 1.5.0 | vulnerable |
| PyPI | scrapy | Not reported | 1.5.1 | vulnerable |
| PyPI | scrapy | Not reported | 1.5.2 | vulnerable |
| PyPI | scrapy | Not reported | 1.6.0 | vulnerable |
| PyPI | scrapy | Not reported | 1.7.0 | vulnerable |
| PyPI | scrapy | Not reported | 1.7.1 | vulnerable |
| PyPI | scrapy | Not reported | 1.7.2 | vulnerable |
| PyPI | scrapy | Not reported | 1.7.3 | vulnerable |
| PyPI | scrapy | Not reported | 1.7.4 | vulnerable |
| PyPI | scrapy | Not reported | 1.8.0 | vulnerable |
| PyPI | scrapy | Not reported | 1.8.1 | vulnerable |
| PyPI | scrapy | Not reported | 1.8.2 | vulnerable |
| PyPI | scrapy | Not reported | 1.8.3 | vulnerable |
| PyPI | scrapy | Not reported | 1.8.4 | vulnerable |
| PyPI | scrapy | Not reported | 2.0.0 | vulnerable |
| PyPI | scrapy | Not reported | 2.0.1 | vulnerable |
| PyPI | scrapy | Not reported | 2.1.0 | vulnerable |
| PyPI | scrapy | Not reported | 2.10.0 | vulnerable |
| PyPI | scrapy | Not reported | 2.10.1 | vulnerable |
| PyPI | scrapy | Not reported | 2.11.0 | vulnerable |
| PyPI | scrapy | Not reported | 2.11.1 | vulnerable |
| PyPI | scrapy | Not reported | 2.11.2 | vulnerable |
| PyPI | scrapy | Not reported | 2.12.0 | vulnerable |
| PyPI | scrapy | Not reported | 2.13.0 | vulnerable |
| PyPI | scrapy | Not reported | 2.13.1 | vulnerable |
| PyPI | scrapy | Not reported | 2.13.2 | vulnerable |
| PyPI | scrapy | Not reported | 2.13.3 | vulnerable |
| PyPI | scrapy | Not reported | 2.13.4 | vulnerable |
| PyPI | scrapy | Not reported | 2.14.0 | vulnerable |
| PyPI | scrapy | Not reported | 2.14.1 | vulnerable |
| PyPI | scrapy | Not reported | 2.2.0 | vulnerable |
| PyPI | scrapy | Not reported | 2.2.1 | vulnerable |
| PyPI | scrapy | Not reported | 2.3.0 | vulnerable |
| PyPI | scrapy | Not reported | 2.4.0 | vulnerable |
| PyPI | scrapy | Not reported | 2.4.1 | vulnerable |
| PyPI | scrapy | Not reported | 2.5.0 | vulnerable |
| PyPI | scrapy | Not reported | 2.5.1 | vulnerable |
| PyPI | scrapy | Not reported | 2.6.0 | vulnerable |
| PyPI | scrapy | Not reported | 2.6.1 | vulnerable |
| PyPI | scrapy | Not reported | 2.6.2 | vulnerable |
| PyPI | scrapy | Not reported | 2.6.3 | vulnerable |
| PyPI | scrapy | Not reported | 2.7.0 | vulnerable |
| PyPI | scrapy | Not reported | 2.7.1 | vulnerable |
| PyPI | scrapy | Not reported | 2.8.0 | vulnerable |
| PyPI | scrapy | Not reported | 2.9.0 | vulnerable |
| PyPI | scrapy | Not reported | 2.14.2 | fixed |
| Ubuntu | python-scrapy | 16.04 | 1.0.0-1 | vulnerable |
| Ubuntu | python-scrapy | 16.04 | 1.0.3-1 | vulnerable |
| Ubuntu | python-scrapy | pro | 2.10.0-1 | vulnerable |
| Ubuntu | python-scrapy | pro | 2.11.0-1 | vulnerable |
| Ubuntu | python-scrapy | pro | 2.11.0-2 | vulnerable |
| Ubuntu | python-scrapy | pro | 2.11.1-1 | vulnerable |
| Ubuntu | python-scrapy | pro | 2.11.1-1ubuntu0.1~esm2 | vulnerable |
| Ubuntu | python-scrapy | 26.04 | 2.12.0-2 | vulnerable |
| Ubuntu | python-scrapy | 26.04 | 2.14.0-1 | vulnerable |
| Ubuntu | python-scrapy | 26.04 | 2.14.1-1 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | python-scrapy | source | sid | 2.14.2-1 | not yet assigned | Not reported | Not reported |
| Debian | python-scrapy | source | forky | 2.14.2-1 | not yet assigned | Not reported | Not reported |
| Debian | python-scrapy | source | trixie | (unfixed) | not yet assigned | Not reported | Not reported |
| Debian | python-scrapy | source | bookworm | (unfixed) | not yet assigned | Not reported | Not reported |
| PyPI | scrapy | PyPI | Not reported | 2.14.2 | Not reported | GHSA-CWXJ-RR6W-M6W7 | Not reported |
| PyPI | scrapy | PyPI | Not reported | 2.14.2 | Not reported | PYSEC-2026-4299 | Not reported |
Notes
[trixie] python-scrapy: Minor issue [bookworm] python-scrapy: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [python3-scrapy]Affected
Source package: [python-scrapy]
Details (2)
2.8.0-2· all · bookwormAffected
nvd · python-scrapy · debian · bookworm; nvd · python-scrapy · debian · 12
2.8.0-2· all · bookwormAffected
nvd · python-scrapy · debian · bookworm; nvd · python-scrapy · debian · 12
- [python-scrapy-doc]Affected
Source package: [python-scrapy]
Details (2)
2.8.0-2· all · bookwormAffected
nvd · python-scrapy · debian · bookworm; nvd · python-scrapy · debian · 12
2.8.0-2· all · bookwormAffected
nvd · python-scrapy · debian · bookworm; nvd · python-scrapy · debian · 12
[Debian 13 (Trixie)]
- [python3-scrapy]Affected
Source package: [python-scrapy]
Details (2)
2.12.0-2· all · trixieAffected
nvd · python-scrapy · debian · 13
2.12.0-2· all · trixieAffected
nvd · python-scrapy · debian · 13
- [python-scrapy-doc]Affected
Source package: [python-scrapy]
Details (2)
2.12.0-2· all · trixieAffected
nvd · python-scrapy · debian · 13
2.12.0-2· all · trixieAffected
nvd · python-scrapy · debian · 13
Observed:
References
- [https://nvd.nist.gov/vuln/detail/CVE-2026-105782]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-105782]
- [https://osv.dev/vulnerability/PYSEC-2026-4299]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-105782]
- [https://security-tracker.debian.org/tracker/CVE-2026-105782]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-105782.json]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]