CVE-2026-105782 json
Scrapy: Arbitrary Module Import via Referrer-Policy Header in RefererMiddleware
published 7mo ago modified 25d ago also EUVD-2026-92869 , GHSA-cwxj-rr6w-m6w7 , PYSEC-2026-4299
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 32%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi scrapy 2.14.2
- scrapy scrapy 2.14.2
- python-scrapy Debian 14 2.14.2-1
debian advisories DEBIAN-CVE-2026-105782
Is CVE-2026-105782 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-105782 updated cvss 7.5
scrapy: Scrapy: Denial of Service via crafted Referrer-Policy header
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- last mo.
Exploit prediction
0.38% chance of exploitation in the next 30 days, higher than 32% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | scrapy | >=1.4.0, <2.14.2 |
2.14.2 |
Affected products
- scrapy scrapy
Classification
- Weakness
-
- CWE-470 Use of Externally-Controlled Input to Select Classes or Code
References
-
github.com
/scrapy/scrapy/commit/945b787a263586cb5803c01c6da57daad8997ae5
web
- github.com /scrapy/scrapy/commit/b6e5c58ae707a3d4bb491537b5519534050047e0
-
github.com
/scrapy/scrapy/security/advisories/GHSA-cwxj-rr6w-m6w7
web
- github.com /scrapy/scrapy/releases/tag/2.14.2
-
github.com
/scrapy/scrapy
package
-
pypi.org
/project/scrapy
package
-
github.com
/advisories/GHSA-cwxj-rr6w-m6w7
advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-105782
advisory
Sources
- CVE List CVE-2026-105782
- GitHub Advisory GHSA-cwxj-rr6w-m6w7
- NVD CVE-2026-105782
- OSV PYSEC-2026-4299
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.