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…
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.
AI Analysis
Technical Summary
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.
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…
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
Affected software
pkg:deb/ubuntu/[email protected]+esm3?arch=source&distro=esm-infra/xenialpkg:deb/ubuntu/[email protected]+esm3?arch=source&distro=esm-apps/bionicpkg:deb/ubuntu/[email protected]~esm5?arch=source&distro=esm-apps/jammypkg:deb/ubuntu/[email protected]?arch=source&distro=noblepkg:deb/ubuntu/[email protected]?arch=source&distro=questingpkg:deb/ubuntu/[email protected]?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
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.
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 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.