Debian Security Tracker
DEBIAN-CVE-2026-105782
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Debian:12 | python-scrapy | All versions, no fix listed |
| Debian:13 | python-scrapy | All versions, no fix listed |
| Debian:14 | python-scrapy | All versions before 2.14.2-1 (fixed in 2.14.2-1) |