Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.2%top 85%

Python tornado: In Tornado before 6.5.5, cookie attribute injection could occur because the domain, path, and samesite arguments to .RequestHandler.set_cookie were…

0
Medium
Published: 04/03/2026 (04/03/2026, 04:16:00 UTC)
Source: GCVE Database
Product: python-tornado

Description

A vulnerability in Python Tornado before version 6.5.5 allows cookie attribute injection due to insufficient validation of the domain, path, and samesite arguments in the set_cookie method of RequestHandler. This flaw could lead to injection of crafted cookie attributes, potentially impacting confidentiality and integrity of cookie data.

CVSS v3.1

Score 7.2high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/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/[email protected]+esm3?arch=source&distro=esm-infra/xenial
Affected versions
<4.2.1-1ubuntu3.1+esm3=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
Ubuntu:Pro:18.04:LTSmore threats →ghsa
python-tornado
pkg:deb/ubuntu/[email protected]+esm3?arch=source&distro=esm-apps/bionic
Affected versions
<4.5.3-1ubuntu0.2+esm3=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
Ubuntu:Pro:22.04:LTSmore threats →ghsa
python-tornado
pkg:deb/ubuntu/[email protected]~esm5?arch=source&distro=esm-apps/jammy
Affected versions
<6.1.0-3ubuntu0.1~esm5=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
Ubuntu:24.04:LTSmore threats →ghsa
python-tornado
pkg:deb/ubuntu/[email protected]?arch=source&distro=noble
Affected versions
<6.4.0-1ubuntu0.5=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
Ubuntu:25.10more threats →ghsa
python-tornado
pkg:deb/ubuntu/[email protected]?arch=source&distro=questing
Affected versions
<6.4.2-3ubuntu0.3=6.4.2-1=6.4.2-2=6.4.2-2ubuntu1=6.4.2-3=6.4.2-3ubuntu0.2
Ubuntu:26.04:LTSmore threats →ghsa
python-tornado
pkg:deb/ubuntu/[email protected]?arch=source&distro=resolute
Affected versions
<6.5.4-0.1ubuntu0.1=6.4.2-3=6.5.2-3=6.5.4-0.1

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: 07/22/2026, 23:52:24 UTC

Technical Analysis

In Python Tornado versions prior to 6.5.5, the set_cookie method in RequestHandler does not properly validate the domain, path, and samesite parameters. This lack of input sanitization enables cookie attribute injection, where an attacker could craft malicious cookie attributes. The vulnerability affects multiple specific Ubuntu package versions of Tornado as listed. The CVSS 3.1 vector indicates network attack vector, low attack complexity, no privileges or user interaction required, with a scope change and low confidentiality and integrity impacts but no availability impact.

Potential Impact

The vulnerability allows an attacker to inject crafted cookie attributes, which can lead to partial compromise of cookie confidentiality and integrity. This may enable session manipulation or other attacks relying on cookie tampering. There is no direct impact on system availability. No known exploits in the wild have been reported.

Mitigation Recommendations

A fix is available in Tornado version 6.5.5 and later. Users should upgrade to Tornado 6.5.5 or newer to remediate this vulnerability. Since this is not a cloud service, manual patching is required. Check vendor advisories or distribution package updates for official patches corresponding to your environment.

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-35536
Osv Schema Version
1.7.0
Aliases
[]
Ecosystems
["Ubuntu:Pro:16.04:LTS","Ubuntu:Pro:18.04:LTS","Ubuntu:Pro:22.04:LTS","Ubuntu:24.04:LTS","Ubuntu:25.10","Ubuntu:26.04:LTS"]
Database Specific Severity
null
Cvss Version
3.1

Threat ID: 6a61511b9c2644c7f8da5d41

Added to database: 07/22/2026, 23:24:11 UTC

Last enriched: 07/22/2026, 23:52:24 UTC

Last updated: 07/31/2026, 19:22:58 UTC

Views: 18

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