GHSA-78cv-mqj4-43f7
Tornado has incomplete validation of cookie attributes
At a glance
- Published
- Updated
- CVE
- CVE-2026-35536
- Aliases
- GHSA-fqwm-6jpj-5wxc, PYSEC-2026-2287
- CVSS_V3
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Description
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.
Affected packages
| Package | Versions |
|---|---|
| PyPI · tornado | introduced 0, fixed 6.5.5 |
References
- https://github.com/tornadoweb/tornado/security/advisories/GHSA-78cv-mqj4-43f7 WEB
- https://github.com/tornadoweb/tornado/commit/24a2d96ea115f663b223887deb0060f13974c104 WEB
- https://github.com/tornadoweb/tornado PACKAGE
- https://github.com/tornadoweb/tornado/releases/tag/v6.5.5 WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — GitHub Advisory Database |