What’s Vulnerable › Vulnerabilities

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

Description

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 set_cookie. Attackers can embed semicolon-delimited data in capitalized parameters like Domain, Path, or SameSite to bypass validation and modify cookie security attributes.

Affected products

How to fix

Upgrade to a fixed version: tornadoweb tornado 6.5.8. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-91991 or the next vulnerability affects your stack