CVE-2026-105782 Scrapy: Arbitrary Module Import via Referrer-Policy Header in RefererMiddleware
HighCVSS 7.5
EPSS 0.38%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- UbuntuDebian
Description
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.
Upgrade path
8 packages: 2 fixed, 5 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/python-scrapy(Debian 12) | = 2.8.0-2; = 2.9.0-1; = 2.9.0-1~exp1; = 2.9.0-2 +26 more | No fix listed | No fix yet |
| debian/python-scrapy(Debian 13) | = 2.12.0-2; = 2.13.1-1~exp1; = 2.13.3-1; = 2.13.3-1~exp1 +13 more | No fix listed | No fix yet |
| ubuntu/python-scrapy(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/python-scrapy(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/python-scrapy(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| debian/python-scrapy(Debian 14) | < 2.14.2-1; = 2.12.0-2; = 2.13.1-1~exp1; = 2.13.3-1 +5 more | 2.14.2-1 | Fixed |
| pypi scrapy(PyPI) | = 1.4.0; = 1.5.0; = 1.5.1; = 1.5.2 +44 more | 2.14.2 | Fixed |
| scrapy | = >= 1.4.0, < 2.14.2 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi scrapy(PyPI) | >= 1.4.0, < 2.14.2 | 2.14.2 |
| pypi scrapy(PyPI) | = 1.4.0 | No fix listed |
| pypi scrapy(PyPI) | = 1.5.0 | No fix listed |
| pypi scrapy(PyPI) | = 1.5.1 | No fix listed |
| pypi scrapy(PyPI) | = 1.5.2 | No fix listed |
| pypi scrapy(PyPI) | = 1.6.0 | No fix listed |
| pypi scrapy(PyPI) | = 1.7.0 | No fix listed |
| pypi scrapy(PyPI) | = 1.7.1 | No fix listed |
| pypi scrapy(PyPI) | = 1.7.2 | No fix listed |
| pypi scrapy(PyPI) | = 1.7.3 | No fix listed |
| pypi scrapy(PyPI) | = 1.7.4 | No fix listed |
| pypi scrapy(PyPI) | = 1.8.0 | No fix listed |
| pypi scrapy(PyPI) | = 1.8.1 | No fix listed |
| pypi scrapy(PyPI) | = 1.8.2 | No fix listed |
| pypi scrapy(PyPI) | = 1.8.3 | No fix listed |
| pypi scrapy(PyPI) | = 1.8.4 | No fix listed |
| pypi scrapy(PyPI) | = 2.0.0 | No fix listed |
| pypi scrapy(PyPI) | = 2.0.1 | No fix listed |
| pypi scrapy(PyPI) | = 2.1.0 | No fix listed |
| pypi scrapy(PyPI) | = 2.10.0 | No fix listed |
| pypi scrapy(PyPI) | = 2.10.1 | No fix listed |
| pypi scrapy(PyPI) | = 2.11.0 | No fix listed |
| pypi scrapy(PyPI) | = 2.11.1 | No fix listed |
| pypi scrapy(PyPI) | = 2.11.2 | No fix listed |
| pypi scrapy(PyPI) | = 2.12.0 | No fix listed |
Show 83 more
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi scrapy(PyPI) | = 2.13.0 | No fix listed |
| pypi scrapy(PyPI) | = 2.13.1 | No fix listed |
| pypi scrapy(PyPI) | = 2.13.2 | No fix listed |
| pypi scrapy(PyPI) | = 2.13.3 | No fix listed |
| pypi scrapy(PyPI) | = 2.13.4 | No fix listed |
| pypi scrapy(PyPI) | = 2.14.0 | No fix listed |
| pypi scrapy(PyPI) | = 2.14.1 | No fix listed |
| pypi scrapy(PyPI) | = 2.2.0 | No fix listed |
| pypi scrapy(PyPI) | = 2.2.1 | No fix listed |
| pypi scrapy(PyPI) | = 2.3.0 | No fix listed |
| pypi scrapy(PyPI) | = 2.4.0 | No fix listed |
| pypi scrapy(PyPI) | = 2.4.1 | No fix listed |
| pypi scrapy(PyPI) | = 2.5.0 | No fix listed |
| pypi scrapy(PyPI) | = 2.5.1 | No fix listed |
| pypi scrapy(PyPI) | = 2.6.0 | No fix listed |
| pypi scrapy(PyPI) | = 2.6.1 | No fix listed |
| pypi scrapy(PyPI) | = 2.6.2 | No fix listed |
| pypi scrapy(PyPI) | = 2.6.3 | No fix listed |
| pypi scrapy(PyPI) | = 2.7.0 | No fix listed |
| pypi scrapy(PyPI) | = 2.7.1 | No fix listed |
| pypi scrapy(PyPI) | = 2.8.0 | No fix listed |
| pypi scrapy(PyPI) | = 2.9.0 | No fix listed |
| scrapy | = >= 1.4.0, < 2.14.2 | No fix listed |
| debian/python-scrapy(Debian:12) | All versions | No fix listed |
| debian/python-scrapy(Debian:12) | = 2.10.0-1 | No fix listed |
| debian/python-scrapy(Debian:12) | = 2.11.0-1 | No fix listed |
| debian/python-scrapy(Debian:12) | = 2.11.0-2 | No fix listed |
| debian/python-scrapy(Debian:12) | = 2.11.1-1 | No fix listed |
| debian/python-scrapy(Debian:12) | = 2.11.1-2 | No fix listed |
| debian/python-scrapy(Debian:12) | = 2.11.2-1 | No fix listed |
| debian/python-scrapy(Debian:12) | = 2.11.2-2 | No fix listed |
| debian/python-scrapy(Debian:12) | = 2.11.2-3 | No fix listed |
| debian/python-scrapy(Debian:12) | = 2.12.0-1 | No fix listed |
| debian/python-scrapy(Debian:12) | = 2.12.0-2 | No fix listed |
| debian/python-scrapy(Debian:12) | = 2.13.1-1~exp1 | No fix listed |
| debian/python-scrapy(Debian:12) | = 2.13.3-1 | No fix listed |
| debian/python-scrapy(Debian:12) | = 2.13.3-1~exp1 | No fix listed |
| debian/python-scrapy(Debian:12) | = 2.13.4-1 | No fix listed |
| debian/python-scrapy(Debian:12) | = 2.13.4-2 | No fix listed |
| debian/python-scrapy(Debian:12) | = 2.14.0-1 | No fix listed |
| debian/python-scrapy(Debian:12) | = 2.14.1-1 | No fix listed |
| debian/python-scrapy(Debian:12) | = 2.14.2-1 | No fix listed |
| debian/python-scrapy(Debian:12) | = 2.15.1-1 | No fix listed |
| debian/python-scrapy(Debian:12) | = 2.16.0-1 | No fix listed |
| debian/python-scrapy(Debian:12) | = 2.16.0-2 | No fix listed |
| debian/python-scrapy(Debian:12) | = 2.17.0-1 | No fix listed |
| debian/python-scrapy(Debian:12) | = 2.18.0-1 | No fix listed |
| debian/python-scrapy(Debian:12) | = 2.18.0-2 | No fix listed |
| debian/python-scrapy(Debian:12) | = 2.19.0-1 | No fix listed |
| debian/python-scrapy(Debian:12) | = 2.8.0-2 | No fix listed |
| debian/python-scrapy(Debian:12) | = 2.9.0-1 | No fix listed |
| debian/python-scrapy(Debian:12) | = 2.9.0-1~exp1 | No fix listed |
| debian/python-scrapy(Debian:12) | = 2.9.0-2 | No fix listed |
| debian/python-scrapy(Debian:13) | All versions | No fix listed |
| debian/python-scrapy(Debian:13) | = 2.12.0-2 | No fix listed |
| debian/python-scrapy(Debian:13) | = 2.13.1-1~exp1 | No fix listed |
| debian/python-scrapy(Debian:13) | = 2.13.3-1 | No fix listed |
| debian/python-scrapy(Debian:13) | = 2.13.3-1~exp1 | No fix listed |
| debian/python-scrapy(Debian:13) | = 2.13.4-1 | No fix listed |
| debian/python-scrapy(Debian:13) | = 2.13.4-2 | No fix listed |
| debian/python-scrapy(Debian:13) | = 2.14.0-1 | No fix listed |
| debian/python-scrapy(Debian:13) | = 2.14.1-1 | No fix listed |
| debian/python-scrapy(Debian:13) | = 2.14.2-1 | No fix listed |
| debian/python-scrapy(Debian:13) | = 2.15.1-1 | No fix listed |
| debian/python-scrapy(Debian:13) | = 2.16.0-1 | No fix listed |
| debian/python-scrapy(Debian:13) | = 2.16.0-2 | No fix listed |
| debian/python-scrapy(Debian:13) | = 2.17.0-1 | No fix listed |
| debian/python-scrapy(Debian:13) | = 2.18.0-1 | No fix listed |
| debian/python-scrapy(Debian:13) | = 2.18.0-2 | No fix listed |
| debian/python-scrapy(Debian:13) | = 2.19.0-1 | No fix listed |
| debian/python-scrapy(Debian:14) | < 2.14.2-1 | 2.14.2-1 |
| debian/python-scrapy(Debian:14) | = 2.12.0-2 | No fix listed |
| debian/python-scrapy(Debian:14) | = 2.13.1-1~exp1 | No fix listed |
| debian/python-scrapy(Debian:14) | = 2.13.3-1 | No fix listed |
| debian/python-scrapy(Debian:14) | = 2.13.3-1~exp1 | No fix listed |
| debian/python-scrapy(Debian:14) | = 2.13.4-1 | No fix listed |
| debian/python-scrapy(Debian:14) | = 2.13.4-2 | No fix listed |
| debian/python-scrapy(Debian:14) | = 2.14.0-1 | No fix listed |
| debian/python-scrapy(Debian:14) | = 2.14.1-1 | No fix listed |
| pypi scrapy(PyPI) | >= 1.4.0, <= 2.14.1 | No fix listed |
| ubuntu/python-scrapy(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/python-scrapy(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/python-scrapy(Ubuntu:26.04) | All versions | No fix listed |
References
- https://github.com/scrapy/scrapy/security/advisories/GHSA-cwxj-rr6w-m6w7 vendor-advisory
- https://github.com/scrapy/scrapy/commit/945b787a263586cb5803c01c6da57daad8997ae5 patch
- github.com product
- https://github.com/scrapy/scrapy/commit/b6e5c58ae707a3d4bb491537b5519534050047e0
- https://github.com/scrapy/scrapy/releases/tag/2.14.2
- pypi.org product
- github.com vendor-advisory
- nvd.nist.gov vendor-advisory
- Red Hat CVE page vendor-advisory
- Red Hat Bugzilla 2546224 issue-tracking
- www.cve.org
- Debian Security Tracker CVE-2026-105782 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- ENISA EUVD EUVD-2026-92869 third-party-advisory