Python scrapy: From 1.4.0 until 2.14.2, RefererMiddleware in scrapy/spidermiddlewares/referer.py treated a
Affects python-scrapySource GCVE Database
Not known to be exploited · CVSS 7.5 High · fixed in 2.14.2 : patch python-scrapy soon.
Data as of 24 Nov 2026, 22:28 UTC
- Patch
- Available – fixed in 2.14.2
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 6 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.04 LTSpython-scrapypkg:deb/ubuntu/python-scrapy?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu Pro 24.04 LTSpython-scrapypkg:deb/ubuntu/python-scrapy?arch=source&distro=esm-apps/nobleOther threats | Affected
| Fixed in– |
Ubuntu Pro 22.04 LTSpython-scrapypkg:deb/ubuntu/python-scrapy?arch=source&distro=esm-apps/jammyOther threats | Affected
| Fixed in– |
Ubuntu Pro 20.04 LTSpython-scrapypkg:deb/ubuntu/python-scrapy?arch=source&distro=esm-apps/focalOther threats | Affected
| Fixed in– |
Ubuntu Pro 18.04 LTSpython-scrapypkg:deb/ubuntu/python-scrapy?arch=source&distro=esm-apps/bionicOther threats | Affected
| Fixed in– |
Ubuntu 16.04 LTSpython-scrapypkg:deb/ubuntu/python-scrapy?arch=source&distro=xenialOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.
References
- ubuntu.com/security/CVE-2026-105782 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-105782 (opens in a new tab)
- github.com/scrapy/scrapy/security/advisories/GHSA-cwxj-rr6w-m6w7 (opens in a new tab)
- github.com/scrapy/scrapy/commit/945b787a263586cb5803c01c6da57daad8997ae5 (opens in a new tab)
- github.com/scrapy/scrapy/commit/b6e5c58ae707a3d4bb491537b5519534050047e0 (opens in a new tab)
- github.com/scrapy/scrapy/releases/tag/2.14.2 (opens in a new tab)