{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "1.4.0"
              },
              {
                "fixed": "2.14.2"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "5f69ec98f70e1e1e5f65fb36eb1cfb23d0be5b45"
            },
            {
              "fixed": "498b4fc1a431c71ea699b2d7e0bd518c7ceca302"
            }
          ],
          "repo": "https://github.com/scrapy/scrapy",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-cwxj-rr6w-m6w7"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-470"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/105xxx/CVE-2026-105782.json"
  },
  "details": "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.",
  "id": "CVE-2026-105782",
  "modified": "2026-10-06T10:31:03.623777372Z",
  "published": "2026-10-05T23:08:55.749Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/105xxx/CVE-2026-105782.json"
    },
    {
      "type": "FIX",
      "url": "https://github.com/scrapy/scrapy/commit/945b787a263586cb5803c01c6da57daad8997ae5"
    },
    {
      "type": "FIX",
      "url": "https://github.com/scrapy/scrapy/commit/b6e5c58ae707a3d4bb491537b5519534050047e0"
    },
    {
      "type": "WEB",
      "url": "https://github.com/scrapy/scrapy/releases/tag/2.14.2"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/scrapy/scrapy/security/advisories/GHSA-cwxj-rr6w-m6w7"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-105782"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Scrapy: Arbitrary Module Import via Referrer-Policy Header in RefererMiddleware"
}