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

PackageVersions
PyPI · tornadointroduced 0, fixed 6.5.5

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database