Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection') Affecting python-scrapy package, versions *


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
0.38% (30th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN12-PYTHONSCRAPY-20538467
  • published6 Oct 2026
  • disclosed6 Oct 2026

Introduced: 6 Oct 2026

NewCVE-2026-105782  (opens in a new tab)
CWE-470  (opens in a new tab)

How to fix?

There is no fixed version for Debian:12 python-scrapy.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python-scrapy package and not the python-scrapy package as distributed by Debian. See How to fix? for Debian:12 relevant fixed versions and status.

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.