CVE Catalog

CVE-2026-105782

HighCVSS 7.5
Published: Translated: NVD NIST

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.

Risk Assessment

A malicious website can cause the crawler to terminate, potentially disrupting scraping processes and causing downtime for services relying on Scrapy.

Recommendation

Immediately upgrade Scrapy to version 2.14.2 or later, which includes the fix. Also consider validating Referrer-Policy headers in responses.

Other vulnerabilities in Scrapy

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS