{"answers":{"affected":"5 open source packages ship an affected version, including tornado. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-35536 in the wild and no public exploit code.","fix":"Upgrade tornado to 6.5.5 or later.","what":"CVE-2026-35536 is a high-severity vulnerability in tornadoweb Tornado, published on 3 Apr 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-35536 and fix it if it is affected.\n\nWhat it is: CVE-2026-35536 is a high-severity vulnerability in tornadoweb Tornado, published on 3 Apr 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-35536 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- tornado (PyPI): affected all versions; fixed in 6.5.5\n- tornado (PyPI): affected all versions; fixed in 6.5.5\n- tornado (PyPI): affected all versions; fixed in 6.5.5\n- tornado (PyPI): affected all versions; fixed in 6.5.5\n- tornado (PyPI): affected all versions; fixed in 6.5.5\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-35536/ (Markdown: https://insights.sbomify.com/CVE-2026-35536/index.md)","id":"CVE-2026-35536","markdown":"https://insights.sbomify.com/CVE-2026-35536/index.md","name":"CVE-2026-35536","record":{"aliases":["BELL-CVE-2026-35536","CLEANSTART-2026-GY87209","CLEANSTART-2026-MP46528","CLEANSTART-2026-UK29776","DEBIAN-CVE-2026-35536","ECHO-2021-f695-d29d","ECHO-b644-e810-f4a8","GHSA-78cv-mqj4-43f7","GHSA-fqwm-6jpj-5wxc","MINI-6336-36xr-j48w","MINI-6hhg-95c4-rj6f","MINI-7ww7-6x72-cv94","MINI-jx47-wh5p-2wgp","MINI-m4w2-75xg-7r52","MINI-mcg4-gwf9-w4v3","MINI-mxfc-w22f-6v6h","MINI-rh7h-2gg8-h9fr","PYSEC-2026-2287","ROOT-APP-PYPI-CVE-2026-35536","ROOT-APP-PYPI-GHSA-78cv-mqj4-43f7","UBUNTU-CVE-2026-35536"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Python web framework","requires_auth":"none","summary":"Attackers can inject crafted characters into cookie attributes in Tornado, potentially bypassing security controls.","user_interaction":"not_required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"tornado","vendor":"tornadoweb"}],"cvss":{"score":7.2,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-159","name":"Improper Handling of Invalid Use of Special Elements"}],"description":"In Tornado before 6.5.5, cookie attribute injection could occur because the domain, path, and samesite arguments to .RequestHandler.set_cookie were not checked for crafted characters.","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":"Tornado has incomplete validation of cookie attributes","id":"CVE-2026-35536","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"other","year":"2026"},"n_packages":5,"n_references":2,"next":{"headline":"Roundcube Webmail: Unsafe deserialization in the redis/memcache session handler","id":"CVE-2026-35537"},"packages":[{"ecosystem":"PyPI","fixed":["6.5.5"],"introduced":["0"],"last_affected":[],"package":"tornado","purl":null,"source":"GHSA-78cv-mqj4-43f7"},{"ecosystem":"PyPI","fixed":["6.5.5"],"introduced":["0"],"last_affected":[],"package":"tornado","purl":"pkg:pypi/tornado","source":"GHSA-78cv-mqj4-43f7"},{"ecosystem":"PyPI","fixed":["6.5.5"],"introduced":["0"],"last_affected":[],"package":"tornado","purl":null,"source":"GHSA-fqwm-6jpj-5wxc"},{"ecosystem":"PyPI","fixed":["6.5.5"],"introduced":["0"],"last_affected":[],"package":"tornado","purl":"pkg:pypi/tornado","source":"GHSA-fqwm-6jpj-5wxc"},{"ecosystem":"PyPI","fixed":["6.5.5"],"introduced":["0"],"last_affected":[],"package":"tornado","purl":"pkg:pypi/tornado","source":"PYSEC-2026-2287"}],"prev":{"headline":"Privilege escalation in Sudo","id":"CVE-2026-35535"},"products":["Tornado"],"published":"2026-04-03","related":[{"cvss_score":8.7,"headline":"Tornado has a DoS due to too many multipart parts","id":"CVE-2026-31958","kev_date_added":null,"published":"2026-03-11"},{"cvss_score":7.5,"headline":"Tornado is Vulnerable to Quadratic DoS via Repeated Header Coalescing","id":"CVE-2025-67725","kev_date_added":null,"published":"2025-12-12"},{"cvss_score":7.5,"headline":"Tornado is Vulnerable to Quadratic DoS via Crafted Multipart Parameters","id":"CVE-2025-67726","kev_date_added":null,"published":"2025-12-12"},{"cvss_score":7.5,"headline":"Tornado has HTTP cookie parsing DoS vulnerability","id":"CVE-2024-52804","kev_date_added":null,"published":"2024-11-22"},{"cvss_score":6.5,"headline":"Tornado XSRF cookie allows side-channel attack against TLS (BREACH attack)","id":"CVE-2014-9720","kev_date_added":null,"published":"2020-01-24"},{"cvss_score":6.1,"headline":"Open redirect in Tornado","id":"CVE-2023-28370","kev_date_added":null,"published":"2023-05-25"}],"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":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-04-03","vendors":["tornadoweb"]},"summary":"Attackers can inject crafted characters into cookie attributes in Tornado, potentially bypassing security controls.","url":"https://insights.sbomify.com/CVE-2026-35536/"}