Skip to main content
VulnerabilityPublished Updated

CVE-2026-105782: Scrapy · Arbitrary Module Import via Referrer-Policy Header in RefererMiddleware

Affects scrapySource GCVE Database

0

Mentioned vulnerabilities

CVSS 7.5 High : upgrade to 2.14.2 soon.

Data as of 26 Oct 2026, 16:20 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 2.14.2
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What to do

Upgrade scrapy to 2.14.2.

Affected software

ProductAffectedFixed in
Homebrewscrapypkg:brew/scrapyOther threatsAffected
  • >=2.9.0 <2.14.2
Fixed in
  • 2.14.2

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade Scrapy to version 2.14.2 or later, where this vulnerability is patched. Applying this official fix fully mitigates the issue.

Description

Scrapy versions 2.9.0 up to but not including 2.14.2 have a vulnerability in the RefererMiddleware where the Referrer-Policy response header is improperly handled. If this header contains a value resembling a valid Python import path, Scrapy imports and executes the referenced object. This can be exploited by a malicious site to execute arbitrary code, potentially terminating the process and causing denial of service. A patch is available in Scrapy version 2.14.2.

References

Community reviews

Loading reviews…