CVE-2026-105782

Source
https://cve.org/CVERecord?id=CVE-2026-105782
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-105782.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-105782
Aliases
Downstream
Published
2026-10-05T23:08:55Z
Modified
2026-10-06T10:45:52Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Scrapy: Arbitrary Module Import via Referrer-Policy Header in RefererMiddleware
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.

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"
}
References

Affected packages

Git / github.com/scrapy/scrapy

Affected ranges

Type
GIT
Repo
https://github.com/scrapy/scrapy
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "introduced":  "1.4.0"
        },
        {
            "fixed":  "2.14.2"
        }
    ],
    "source":  "AFFECTED_FIELD"
}

Affected versions

1.*
1.4.0
1.5.0
1.6.0
1.7.0
1.8.0
2.*
2.0.0
2.1.0
2.10.0
2.11.0
2.12.0
2.13.0
2.14.0
2.14.1
2.2.0
2.3.0
2.4.0
2.5.0
2.6.0
2.6.1
2.7.0
2.7.1
2.8.0
2.9.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-105782.json"