Tornado has cookie attribute injection via .RequestHandler.set_cookie
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.
02 / AFFECTED SOFTWARE
Affected packages
80 explicit affected versions
80 explicit affected versions
80 explicit affected versions
53 explicit affected versions
03 / CONNECTIONS
Connected vulnerabilities
04 / EVIDENCE
Source records
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.
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.
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.
Values passed to the `domain`, `path`, and `samesite` arguments of `RequestHandler.set_cookie` were not completely validated in versions of Tornado prior to 6.5.5. In particular, semicolons would be allowed, which could be used to inject attacker-controlled values for other cookie attributes.
05 / REFERENCES
Further evidence
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/35xxx/CVE-2026-35536.json
- https://github.com/tornadoweb/tornado/releases/tag/v6.5.5
- https://github.com/tornadoweb/tornado/security/advisories/GHSA-78cv-mqj4-43f7
- https://nvd.nist.gov/vuln/detail/CVE-2026-35536
- https://github.com/advisories/GHSA-fqwm-6jpj-5wxc
- https://github.com/tornadoweb/tornado
- https://github.com/tornadoweb/tornado/commit/24a2d96ea115f663b223887deb0060f13974c104