cve.bz

CVE-2026-105782 scrapy scrapy: Reflection Injection

7.5 highEPSS 0.4%Fix available

High (7.5) in scrapy scrapy. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in scrapy 2.14.2.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 32nd percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-10-06. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-470 Use of Externally-Controlled Input to Select Classes or Code (Reflection Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-105782 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-105782?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-105782?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-105782 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
scrapy>= 1.4.0, < 2.14.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-cwxj-rr6w-m6w7PyPIscrapy>=1.4.0 <2.14.22.14.2
PYSEC-2026-4299PyPIscrapy>=1.4.0 <2.14.22.14.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13python-scrapyno fix listedDEBIAN-CVE-2026-105782
Debian14python-scrapy2.14.2-1DEBIAN-CVE-2026-105782
Ubuntu16.04:LTS, 26.04:LTS, Pro:18.04:LTS and 3 morepython-scrapyno fix listedUBUNTU-CVE-2026-105782

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Important.

Red Hat's statement

Red Hat Product Security has rated this vulnerability as Important because an untrusted remote web server can trigger an unauthenticated denial of service against crawling processes. When a spider ingests an HTTP response with a crafted header, the framework resolves and executes arbitrary module paths, causing immediate termination of the scraping job. In typical deployments, this risk specifically impacts crawlers processing external or untrusted web destinations. Spiders scraping only internal, authenticated, or trusted sources are not exposed.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-105782.

Attack patterns (CAPEC)

  • CAPEC-138 Reflection Injection Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON