Python tornado: Tornado before 6.5.8 contains an incomplete fix for cookie attribute injection that allows attackers to inject arbitrary cookie attributes by… (CVE-2026-91991)
Description
Python Tornado versions before 6.5.8 contain an incomplete fix for a cookie attribute injection vulnerability. This flaw allows attackers to inject arbitrary cookie attributes by passing capitalized or legacy keyword arguments to the set_cookie function. By embedding semicolon-delimited data in parameters like Domain, Path, or SameSite, attackers can bypass validation and modify cookie security attributes. The vulnerability has a medium severity with a CVSS score of 5.4.
CVSS v3.1
Score 5.4medium
Affected software
pkg:deb/ubuntu/python-tornado?arch=source&distro=esm-infra-legacy/xenialpkg:deb/ubuntu/python-tornado?arch=source&distro=esm-apps/bionicpkg:deb/ubuntu/python-tornado?arch=source&distro=esm-apps/focalpkg:deb/ubuntu/python-tornado?arch=source&distro=esm-apps/jammypkg:deb/ubuntu/python-tornado?arch=source&distro=noblepkg:deb/ubuntu/python-tornado?arch=source&distro=stonkingpkg:deb/ubuntu/python-tornado?arch=source&distro=resoluteRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Tornado versions prior to 6.5.8 have an incomplete fix addressing cookie attribute injection. Attackers can exploit this by passing capitalized or legacy keyword arguments to the set_cookie method, embedding semicolon-delimited data in cookie attributes such as Domain, Path, or SameSite. This bypasses validation mechanisms and allows modification of cookie security attributes, potentially impacting confidentiality and integrity of cookie data.
Potential Impact
The vulnerability allows attackers to inject arbitrary cookie attributes, which can lead to modification of cookie security settings. This may result in confidentiality and integrity impacts on cookie data, potentially enabling session manipulation or other attacks relying on cookie attributes. The CVSS score of 5.4 reflects a medium severity with network attack vector, high attack complexity, no privileges required, no user interaction, and scope changed.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since the vulnerability is fixed in Tornado 6.5.8, upgrading to version 6.5.8 or later is recommended once the vendor releases the fix. Until then, monitor vendor advisories for official patches or temporary mitigations.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- UBUNTU-CVE-2026-91991
- Osv Schema Version
- 1.7.0
- Ecosystems
- ["Ubuntu:Pro:16.04:LTS","Ubuntu:Pro:18.04:LTS","Ubuntu:Pro:20.04:LTS","Ubuntu:Pro:22.04:LTS","Ubuntu:24.04:LTS","Ubuntu:26.10","Ubuntu:26.04:LTS"]
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6ada44d64d27ba8daa6a5131
Added to database: 10/22/2026, 17:16:06 UTC
Last enriched: 10/22/2026, 17:24:13 UTC
Last updated: 10/22/2026, 17:24:13 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.