{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-105782","id":"CVE-2026-105782","title":"Scrapy: Arbitrary Module Import via Referrer-Policy Header in RefererMiddleware","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 pro","descriptionLong":"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.","published":"2026-10-05T23:08:55.749Z","updated":"2026-10-28T02:30:50.907004569Z","reserved":"2026-10-05T20:37:19.362Z","status":"Awaiting Analysis","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"github.com"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub"}],"rating":"high","products":["scrapy"],"affectedProducts":[{"vendor":"scrapy","product":"scrapy","defaultStatus":null,"versions":[{"version":">= 1.4.0, < 2.14.2","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"scrapy","purl":"pkg:pypi/scrapy","ranges":[">=1.4.0 <2.14.2"],"fixed":["2.14.2"],"advisory":"GHSA-cwxj-rr6w-m6w7"}],"cwes":["CWE-470"],"aliases":["GHSA-cwxj-rr6w-m6w7","PYSEC-2026-4299"],"references":[{"url":"https://github.com/scrapy/scrapy/security/advisories/GHSA-cwxj-rr6w-m6w7","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/scrapy/scrapy/commit/945b787a263586cb5803c01c6da57daad8997ae5","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/scrapy/scrapy/commit/b6e5c58ae707a3d4bb491537b5519534050047e0","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/scrapy/scrapy/releases/tag/2.14.2","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/105xxx/CVE-2026-105782.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-105782","tags":["advisory"]},{"url":"https://github.com/scrapy/scrapy","tags":["package"]},{"url":"https://pypi.org/project/scrapy","tags":["package"]},{"url":"https://github.com/advisories/GHSA-cwxj-rr6w-m6w7","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.00378,"epssPercentile":0.32412,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-105782","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-105782","ok":true,"note":"Awaiting Analysis"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-105782","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-cwxj-rr6w-m6w7","ok":true,"note":"GHSA-cwxj-rr6w-m6w7"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-105782","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}