Read the docs
TI-2026-68383 Aliases CVE-2026-105782

Arbitrary module import via Referrer-Policy header in Scrapy

Priority LOW 39CWE-470Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
None · None · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA.

Summary

Scrapy from 1.4.0 before 2.14.2 contains an unsafe reflection flaw (CWE-470) in RefererMiddleware. The middleware treats a Referrer-Policy response header value that resembles a Python import path as a policy class, imports the named object and calls it. A malicious website can supply a callable such as sys.exit without authentication and terminate a crawler that processes its response.

Written with Claude Haiku 5.5 from the sources below · 2026-10-29

Description from the CNA

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00378 32nd percentileScored 2026-11-07
Fix Fixed scrapy (scrapy): 2.14.2

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
scrapyscrapy1.4.0 to before 2.14.22.14.2Patch availableCNA
  • scrapy Vendorscrapy Affected 1.4.0 to before 2.14.2 Fixed in 2.14.2 Patch available CNA

Remediation

Upgrade Scrapy to version 2.14.2, which fixes this issue.

Written with Claude Haiku 5.5 from the sources below · 2026-10-29

  • Fix · CNA scrapy (scrapy) Fixed in 2.14.2

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-06 Threatist record created from CVE-2026-105782
  2. 2026-10-06 Affected versions changed · Red Hat
  3. 2026-10-06 CVSS score added · Red Hat
  4. 2026-10-06 CISA SSVC decision points changed
  5. 2026-10-06 Priority changed: MEDIUM → LOW

References

  • TI-2025-05586 Brotli decompression bomb DoS in scrapy/scrapy CVSS 3.0HIGH 7.5
  • TI-2024-03333 Authorization Header Leak During Cross-Domain Redirect in scrapy/scrapy CVSS 3.0HIGH 7.5
  • TI-2024-03331 XML External Entity (XXE) Vulnerability in scrapy/scrapy CVSS 3.0HIGH 7.5
  • TI-2024-01831 Authorization Header Leakage in scrapy/scrapy on Scheme Change Redirects CVSS 3.0HIGH 7.5
  • TI-2026-40066 Protego: Exponential backtracking ReDoS in robots.txt URL wildcard matching CVSS 4.0HIGH 7.1
  • TI-2017-10313 Scrapy 1.4 allows remote attackers to cause a denial of service (memory consumption) via… CVSS 3.0HIGH 7.5
See all 10 →

Sources