GHSA-c6v4-qj2h-f748: Tornado before 6.6 Cookie Attribute Injection via set_cookie max_age

Published Nov 8, 2026
·
Updated

Tornado before 6.6 does not validate the maxage argument of RequestHandler.setcookie (also called by setsignedcookie, setsecurecookie, and clearcookie), allowing injection of additional Set-Cookie attributes. When an application passes attacker-influenced input as maxage, an attacker can embed attributes such as Domain, Path, or Secure to widen the cookie's scope to parent paths or other subdomains.

Event History

Nov 8, 2026
CVE Published
via OSV·01:37 AM
Data Sourced
via OSV·01:37 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What application behavior makes this issue exploitable?

An application must pass attacker-influenced input to the max_age argument of RequestHandler.set_cookie or a method that calls it, including set_signed_cookie, set_secure_cookie, or clear_cookie. The supplied value can then inject additional Set-Cookie attributes.

2

Which cookie properties can an attacker alter through this issue?

An attacker can embed attributes including Domain, Path, or Secure. This can widen a cookie's scope to parent paths or other subdomains.

3

Are applications affected by default?

The issue requires an application-specific unsafe use of max_age with attacker-influenced input. The provided information does not indicate that ordinary fixed max_age values are exploitable.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203