Tornado has incomplete validation of cookie attributes
Moderate severity
GitHub Reviewed
Published
Mar 10, 2026
in
tornadoweb/tornado
•
Updated Mar 11, 2026
Description
Published to the GitHub Advisory Database
Mar 11, 2026
Reviewed
Mar 11, 2026
Last updated
Mar 11, 2026
Values passed to the
domain,path, andsamesitearguments ofRequestHandler.set_cookiewere 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.References