CVE catalog

CVE-2026-105782

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

[CVE catalog]

Severity
High · CVSS 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
Updated
Source
[NVD] · [CVE record]
EPSS
0.38% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianpython-scrapysid2.19.0-2fixed
Debianpython-scrapyforky2.19.0-2fixed
Debianpython-scrapytrixie2.12.0-2vulnerable
Debianpython-scrapybookworm2.8.0-2vulnerable
PyPIscrapyNot reported1.4.0vulnerable
PyPIscrapyNot reported1.5.0vulnerable
PyPIscrapyNot reported1.5.1vulnerable
PyPIscrapyNot reported1.5.2vulnerable
PyPIscrapyNot reported1.6.0vulnerable
PyPIscrapyNot reported1.7.0vulnerable
PyPIscrapyNot reported1.7.1vulnerable
PyPIscrapyNot reported1.7.2vulnerable
PyPIscrapyNot reported1.7.3vulnerable
PyPIscrapyNot reported1.7.4vulnerable
PyPIscrapyNot reported1.8.0vulnerable
PyPIscrapyNot reported1.8.1vulnerable
PyPIscrapyNot reported1.8.2vulnerable
PyPIscrapyNot reported1.8.3vulnerable
PyPIscrapyNot reported1.8.4vulnerable
PyPIscrapyNot reported2.0.0vulnerable
PyPIscrapyNot reported2.0.1vulnerable
PyPIscrapyNot reported2.1.0vulnerable
PyPIscrapyNot reported2.10.0vulnerable
PyPIscrapyNot reported2.10.1vulnerable
PyPIscrapyNot reported2.11.0vulnerable
PyPIscrapyNot reported2.11.1vulnerable
PyPIscrapyNot reported2.11.2vulnerable
PyPIscrapyNot reported2.12.0vulnerable
PyPIscrapyNot reported2.13.0vulnerable
PyPIscrapyNot reported2.13.1vulnerable
PyPIscrapyNot reported2.13.2vulnerable
PyPIscrapyNot reported2.13.3vulnerable
PyPIscrapyNot reported2.13.4vulnerable
PyPIscrapyNot reported2.14.0vulnerable
PyPIscrapyNot reported2.14.1vulnerable
PyPIscrapyNot reported2.2.0vulnerable
PyPIscrapyNot reported2.2.1vulnerable
PyPIscrapyNot reported2.3.0vulnerable
PyPIscrapyNot reported2.4.0vulnerable
PyPIscrapyNot reported2.4.1vulnerable
PyPIscrapyNot reported2.5.0vulnerable
PyPIscrapyNot reported2.5.1vulnerable
PyPIscrapyNot reported2.6.0vulnerable
PyPIscrapyNot reported2.6.1vulnerable
PyPIscrapyNot reported2.6.2vulnerable
PyPIscrapyNot reported2.6.3vulnerable
PyPIscrapyNot reported2.7.0vulnerable
PyPIscrapyNot reported2.7.1vulnerable
PyPIscrapyNot reported2.8.0vulnerable
PyPIscrapyNot reported2.9.0vulnerable
PyPIscrapyNot reported2.14.2fixed
PyPIscrapyNot reported1.4.0vulnerable
PyPIscrapyNot reported1.5.0vulnerable
PyPIscrapyNot reported1.5.1vulnerable
PyPIscrapyNot reported1.5.2vulnerable
PyPIscrapyNot reported1.6.0vulnerable
PyPIscrapyNot reported1.7.0vulnerable
PyPIscrapyNot reported1.7.1vulnerable
PyPIscrapyNot reported1.7.2vulnerable
PyPIscrapyNot reported1.7.3vulnerable
PyPIscrapyNot reported1.7.4vulnerable
PyPIscrapyNot reported1.8.0vulnerable
PyPIscrapyNot reported1.8.1vulnerable
PyPIscrapyNot reported1.8.2vulnerable
PyPIscrapyNot reported1.8.3vulnerable
PyPIscrapyNot reported1.8.4vulnerable
PyPIscrapyNot reported2.0.0vulnerable
PyPIscrapyNot reported2.0.1vulnerable
PyPIscrapyNot reported2.1.0vulnerable
PyPIscrapyNot reported2.10.0vulnerable
PyPIscrapyNot reported2.10.1vulnerable
PyPIscrapyNot reported2.11.0vulnerable
PyPIscrapyNot reported2.11.1vulnerable
PyPIscrapyNot reported2.11.2vulnerable
PyPIscrapyNot reported2.12.0vulnerable
PyPIscrapyNot reported2.13.0vulnerable
PyPIscrapyNot reported2.13.1vulnerable
PyPIscrapyNot reported2.13.2vulnerable
PyPIscrapyNot reported2.13.3vulnerable
PyPIscrapyNot reported2.13.4vulnerable
PyPIscrapyNot reported2.14.0vulnerable
PyPIscrapyNot reported2.14.1vulnerable
PyPIscrapyNot reported2.2.0vulnerable
PyPIscrapyNot reported2.2.1vulnerable
PyPIscrapyNot reported2.3.0vulnerable
PyPIscrapyNot reported2.4.0vulnerable
PyPIscrapyNot reported2.4.1vulnerable
PyPIscrapyNot reported2.5.0vulnerable
PyPIscrapyNot reported2.5.1vulnerable
PyPIscrapyNot reported2.6.0vulnerable
PyPIscrapyNot reported2.6.1vulnerable
PyPIscrapyNot reported2.6.2vulnerable
PyPIscrapyNot reported2.6.3vulnerable
PyPIscrapyNot reported2.7.0vulnerable
PyPIscrapyNot reported2.7.1vulnerable
PyPIscrapyNot reported2.8.0vulnerable
PyPIscrapyNot reported2.9.0vulnerable
PyPIscrapyNot reported2.14.2fixed
Ubuntupython-scrapy16.041.0.0-1vulnerable
Ubuntupython-scrapy16.041.0.3-1vulnerable
Ubuntupython-scrapypro2.10.0-1vulnerable
Ubuntupython-scrapypro2.11.0-1vulnerable
Ubuntupython-scrapypro2.11.0-2vulnerable
Ubuntupython-scrapypro2.11.1-1vulnerable
Ubuntupython-scrapypro2.11.1-1ubuntu0.1~esm2vulnerable
Ubuntupython-scrapy26.042.12.0-2vulnerable
Ubuntupython-scrapy26.042.14.0-1vulnerable
Ubuntupython-scrapy26.042.14.1-1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianpython-scrapysourcesid2.14.2-1not yet assignedNot reportedNot reported
Debianpython-scrapysourceforky2.14.2-1not yet assignedNot reportedNot reported
Debianpython-scrapysourcetrixie(unfixed)not yet assignedNot reportedNot reported
Debianpython-scrapysourcebookworm(unfixed)not yet assignedNot reportedNot reported
PyPIscrapyPyPINot reported2.14.2Not reportedGHSA-CWXJ-RR6W-M6W7Not reported
PyPIscrapyPyPINot reported2.14.2Not reportedPYSEC-2026-4299Not reported

Notes

[trixie] python-scrapy: Minor issue [bookworm] python-scrapy: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [python3-scrapy]Affected

    Source package: [python-scrapy]

    Details (2)
    • 2.8.0-2 · all · bookworm

      Affected

      nvd · python-scrapy · debian · bookworm; nvd · python-scrapy · debian · 12

    • 2.8.0-2 · all · bookworm

      Affected

      nvd · python-scrapy · debian · bookworm; nvd · python-scrapy · debian · 12

  • Source package: [python-scrapy]

    Details (2)
    • 2.8.0-2 · all · bookworm

      Affected

      nvd · python-scrapy · debian · bookworm; nvd · python-scrapy · debian · 12

    • 2.8.0-2 · all · bookworm

      Affected

      nvd · python-scrapy · debian · bookworm; nvd · python-scrapy · debian · 12

[Debian 13 (Trixie)]

  • [python3-scrapy]Affected

    Source package: [python-scrapy]

    Details (2)
    • 2.12.0-2 · all · trixie

      Affected

      nvd · python-scrapy · debian · 13

    • 2.12.0-2 · all · trixie

      Affected

      nvd · python-scrapy · debian · 13

  • Source package: [python-scrapy]

    Details (2)
    • 2.12.0-2 · all · trixie

      Affected

      nvd · python-scrapy · debian · 13

    • 2.12.0-2 · all · trixie

      Affected

      nvd · python-scrapy · debian · 13

Observed:

References