CVE-2026-91991: Tornado before 6.5.8 Cookie Attribute Injection via Capitalized kwargs

Published Sep 15, 2026
·
Updated

Tornado before 6.5.8 contains an incomplete fix for cookie attribute injection that allows attackers to inject arbitrary cookie attributes by passing capitalized or legacy keyword arguments to setcookie. Attackers can embed semicolon-delimited data in capitalized parameters like Domain, Path, or SameSite to bypass validation and modify cookie security attributes.

Affected Software

1 affected component
Tornado Tornado<6.5.8

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Tornado to a version that resolves this vulnerability.

    Fixed in 6.5.8
  2. Compensating control

    If you cannot upgrade immediately, ensure your application does not pass attacker-controlled values (including capitalized or legacy keyword arguments) to Tornado's RequestHandler.set_cookie so that cookie security attributes cannot be injected.

Event History

Sep 15, 2026
CVE Published
via MITRE·03:18 PM
Data Sourced
via MITRE·03:18 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to this issue?

Applications using Tornado versions before 6.5.8 are exposed if they pass attacker-controlled data into capitalized or legacy keyword arguments of set_cookie, including parameters such as Domain, Path, or SameSite.

2

What does an attacker need to exploit it?

An attacker needs a way to influence values supplied to affected set_cookie keyword arguments. They can use semicolon-delimited data in capitalized parameters to inject and alter cookie attributes.

3

Is exploitation straightforward over the network?

The vector is network-accessible and requires no privileges or user interaction, but the listed attack complexity is high. Exploitation depends on the application exposing attacker control over the affected cookie-setting arguments.

4

How can I determine whether an application is affected?

Check whether it uses Tornado before 6.5.8 and review calls to set_cookie for capitalized or legacy keyword arguments, especially Domain, Path, and SameSite. Determine whether any values passed to those arguments can contain attacker-controlled semicolon-delimited input.

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