CVE-2026-123535
Tornado before 6.6 does not validate the max_age argument of RequestHandler.set_cookie (also called by set_signed_cookie, set_secure_cookie, and clear_cookie),…
Impact
Tornado before 6.6 does not validate the max_age argument of RequestHandler.set_cookie (also called by set_signed_cookie, set_secure_cookie, and clear_cookie), allowing injection of additional Set-Cookie attributes. When an application passes attacker-influenced input as max_age, an attacker can embed attributes such as Domain, Path, or Secure to widen the cookie's scope to parent paths or other subdomains.
An attacker can exploit this over the network, without logging in, but a user has to do something, such as open a file or a link. Specific conditions have to be met, which makes an attack harder. If it succeeds: low risk of data being read, low risk of data or systems being changed.
Affected products · Tornadoweb
| Product | Affected versions |
|---|---|
| Tornado | before 6.6 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/tornadoweb/tornado/security/advisories/GHSA-c6v4-qj2h-f748
- https://www.vulncheck.com/advisories/tornado-before-6.6-cookie-attribute-injection-via-set-cookie-max-age
- https://github.com/advisories/GHSA-cfc4-jgx9-vvjh
- https://nvd.nist.gov/vuln/detail/CVE-2026-123535