{"answers":{"affected":"3 open source packages ship an affected version, including scrapy.","exploited":"There is no known exploitation of CVE-2026-84366 in the wild and no public exploit code.","fix":"Upgrade scrapy to a fixed version for your release line: 2.17 or 2.17.0.","what":"CVE-2026-84366 is a high-severity vulnerability in scrapy, published on 1 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-84366 and fix it if it is affected.\n\nWhat it is: CVE-2026-84366 is a high-severity vulnerability in scrapy, published on 1 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-84366 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- scrapy (PyPI): affected all versions; fixed in 2.17\n- scrapy (PyPI): affected all versions; fixed in 2.17\n- scrapy (PyPI): affected all versions; fixed in 2.17.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-84366/ (Markdown: https://insights.sbomify.com/CVE-2026-84366/index.md)","id":"CVE-2026-84366","markdown":"https://insights.sbomify.com/CVE-2026-84366/index.md","name":"CVE-2026-84366","record":{"aliases":["DEBIAN-CVE-2026-84366","GHSA-76g3-c3x4-crvx","PYSEC-2026-3918","UBUNTU-CVE-2026-84366"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Python web scraping library","requires_auth":"none","summary":"Scrapy sends signed S3 requests over plaintext HTTP by default, allowing attackers to read credentials and data or modify responses via man-in-the-middle attacks.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":7.4,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-319","name":"Cleartext Transmission of Sensitive Information"}],"description":"Scrapy is a high-level web crawling and scraping framework for Python. Prior to 2.17.0, in scrapy/core/downloader/handlers/s3.py, Scrapy's S3DownloadHandler converts an S3-scheme bucket and key request into a plaintext HTTP request to the corresponding S3 endpoint unless request.meta[\"is_secure\"] is explicitly enabled, then signs and sends the plaintext request with configured AWS credentials. A network attacker who can observe traffic between Scrapy and S3 can read the bucket and key path, AWS Authorization header, X-Amz-Security-Token when temporary credentials are used, S3 object contents, and S3 response headers. An active man-in-the-middle attacker can also modify the plaintext S3 response body, status code, and headers before Scrapy processes them, causing scraped-data poisoning, poisoned exports, HTTP cache poisoning when caching is enabled, or influence over later crawl targets through forged redirects or attacker-controlled links. Users making S3-scheme requests with AWS credentials are affected. This issue is fixed in version 2.17.0.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Scrapy: S3DownloadHandler sends signed S3 requests over plaintext HTTP by default","id":"CVE-2026-84366","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"information_disclosure","year":"2026"},"n_packages":3,"n_references":3,"next":{"headline":"joi: object().rename() with a template target can set the validated object's prototype","id":"CVE-2026-84367"},"packages":[{"ecosystem":"PyPI","fixed":["2.17"],"introduced":["0"],"last_affected":[],"package":"scrapy","purl":null,"source":"GHSA-76g3-c3x4-crvx"},{"ecosystem":"PyPI","fixed":["2.17"],"introduced":["0"],"last_affected":[],"package":"scrapy","purl":"pkg:pypi/scrapy","source":"GHSA-76g3-c3x4-crvx"},{"ecosystem":"PyPI","fixed":["2.17.0"],"introduced":["0"],"last_affected":[],"package":"scrapy","purl":"pkg:pypi/scrapy","source":"PYSEC-2026-3918"}],"prev":{"headline":"Hono: Incomplete fix for CVE-2026-39408: `toSSG()` still writes files outside the output directory","id":"CVE-2026-84365"},"products":["scrapy"],"published":"2026-09-01","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-09-02","vendors":["scrapy"]},"summary":"Scrapy sends signed S3 requests over plaintext HTTP by default, allowing attackers to read credentials and data or modify responses via man-in-the-middle attacks.","url":"https://insights.sbomify.com/CVE-2026-84366/"}