{
  "id": "CVE-2026-105782",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-105782",
  "published_at": "2026-10-05T23:08:55.749Z",
  "title": "Scrapy: Arbitrary Module Import via Referrer-Policy Header in RefererMiddleware",
  "vendor": "scrapy",
  "product": "scrapy",
  "cvss": {
    "score": 7.5,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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.",
  "cwe": "CWE-470",
  "cvss_by_source": {
    "cna": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "scrapy",
        "product": "scrapy",
        "ranges": [
          "\u003e= 1.4.0, \u003c 2.14.2"
        ],
        "fixed_in": [
          "2.14.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade scrapy to 2.14.2 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/scrapy/scrapy/security/advisories/GHSA-cwxj-rr6w-m6w7"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/scrapy/scrapy/commit/945b787a263586cb5803c01c6da57daad8997ae5"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/scrapy/scrapy/commit/b6e5c58ae707a3d4bb491537b5519534050047e0"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/scrapy/scrapy/releases/tag/2.14.2"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
