Skip to main content

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)

0
Medium
Published: 09/15/2026 (09/15/2026, 16:17:00 UTC)
Source: GCVE Database
Product: python-tornado

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

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N

Affected software

Ubuntu:Pro:16.04:LTSmore threats →ghsa
python-tornado
pkg:deb/ubuntu/python-tornado?arch=source&distro=esm-infra-legacy/xenial
Affected versions
=4.2.1-1ubuntu2=4.2.1-1ubuntu3=4.2.1-1ubuntu3.1=4.2.1-1ubuntu3.1+esm1=4.2.1-1ubuntu3.1+esm2=4.2.1-1ubuntu3.1+esm3=4.2.1-1ubuntu3.1+esm4
Ubuntu:Pro:18.04:LTSmore threats →ghsa
python-tornado
pkg:deb/ubuntu/python-tornado?arch=source&distro=esm-apps/bionic
Affected versions
=4.5.1-2.1~build2=4.5.2-1=4.5.3-1=4.5.3-1ubuntu0.1=4.5.3-1ubuntu0.2=4.5.3-1ubuntu0.2+esm1=4.5.3-1ubuntu0.2+esm2=4.5.3-1ubuntu0.2+esm3=4.5.3-1ubuntu0.2+esm4
Ubuntu:Pro:20.04:LTSmore threats →ghsa
python-tornado
pkg:deb/ubuntu/python-tornado?arch=source&distro=esm-apps/focal
Affected versions
=5.1.1-4ubuntu1=5.1.1-4ubuntu5=6.0.3+really5.1.1-2=6.0.3+really5.1.1-2build1=6.0.3+really5.1.1-2build2=6.0.3+really5.1.1-3=6.0.3+really5.1.1-3ubuntu0.1~esm1=6.0.3+really5.1.1-3ubuntu0.1~esm3=6.0.3+really5.1.1-3ubuntu0.1~esm5=6.0.3+really5.1.1-3ubuntu0.1~esm7
Ubuntu:Pro:22.04:LTSmore threats →ghsa
python-tornado
pkg:deb/ubuntu/python-tornado?arch=source&distro=esm-apps/jammy
Affected versions
=6.1.0-1build1=6.1.0-2=6.1.0-3=6.1.0-3build1=6.1.0-3ubuntu0.1~esm1=6.1.0-3ubuntu0.1~esm2=6.1.0-3ubuntu0.1~esm4=6.1.0-3ubuntu0.1~esm5=6.1.0-3ubuntu0.1~esm6
Ubuntu:24.04:LTSmore threats →ghsa
python-tornado
pkg:deb/ubuntu/python-tornado?arch=source&distro=noble
Affected versions
=6.3.2-1=6.4.0-0ubuntu1=6.4.0-1=6.4.0-1build1=6.4.0-1ubuntu0.1=6.4.0-1ubuntu0.2=6.4.0-1ubuntu0.4=6.4.0-1ubuntu0.5=6.4.0-1ubuntu0.6
Ubuntu:26.10more threats →ghsa
python-tornado
pkg:deb/ubuntu/python-tornado?arch=source&distro=stonking
Affected versions
=6.5.4-0.1=6.5.5-2=6.5.5-4=6.5.5-5=6.5.5-5ubuntu1.1
Ubuntu:26.04:LTSmore threats →ghsa
python-tornado
pkg:deb/ubuntu/python-tornado?arch=source&distro=resolute
Affected versions
=6.4.2-3=6.5.2-3=6.5.4-0.1=6.5.4-0.1ubuntu0.1=6.5.4-0.1ubuntu0.2

Run 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

AILast updated: 10/22/2026, 17:24:13 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses