Skip to main content

Tornado EUVDEUVD-2026-119420

| CVE-2026-123535 LOW
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') (CWE-74)
2026-11-08 VulnCheck GHSA-cfc4-jgx9-vvjh
2.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify app passing untrusted max_age
  2. Delivery
    Craft max_age with appended attributes
  3. Exploit
    Submit value to vulnerable endpoint
  4. Execution
    Server emits Set-Cookie with injected Domain/Path
  5. Impact
    Cookie scope widened across subdomains

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Input neutralization, injection prevention
Exploitation Conditions

Exploitation requires the application to pass an attacker-influenced value as the max_age argument to set_cookie (or set_signed_cookie, set_secure_cookie, or clear_cookie) WITHOUT first converting it to an integer - for example set_cookie("sid", value, max_age="86400; Domain=example.com"). This is the exact prerequisite: applications that pass an integer or an int()-converted value are NOT affected, and no other set_cookie argument is affected. Limiting factors: the vulnerability is confined to this specific insecure coding pattern (not default Tornado usage), the impact is limited to injecting cookie attributes (Domain/Path/Secure) to widen cookie scope, and per CVSS AT:P/UI:P the attack depends on an application-side precondition and passive victim interaction rather than fully attacker-controlled conditions.

Impact

This is a genuinely low-priority issue despite being network-reachable, and the signals are consistent rather than conflicting. The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:P) yields a score of only 2.3, and vuln.today assigns the 'monitor' decision label - the lowest urgency tier. There is no CISA KEV listing and no confirmed public exploit in the input, so this is not under active exploitation. The critical limiter is AT:P (attack requirement present) combined with the advisory text: exploitation is possible ONLY in applications that pass attacker-influenced input directly as the max_age argument of set_cookie without an int() conversion - an uncommon and insecure coding pattern, not a default Tornado behavior. The real-world impact is also bounded (VC:L/VI:L, no availability or subsequent-system impact): the attacker can widen a cookie's scope via injected Domain/Path/Secure attributes, which could aid cookie fixation or cross-subdomain scope abuse, but does not directly grant code execution or data disclosure. No signals conflict here; rather, every signal (low CVSS, no KEV, no confirmed PoC, 'monitor' label, conditional trigger) points the same way: a real but low-severity defense-in-depth gap, not an emergency.

Exploit ScenarioDerived

A Tornado application takes a user- or request-derived value and passes it straight into set_cookie as the max_age argument without converting it to an integer (e.g. set_cookie("sid", value, max_age="86400; Domain=example.com")). The attacker supplies a crafted max_age string that terminates the numeric value and appends extra Set-Cookie attributes, causing the browser to scope the cookie to a parent path or sibling subdomain the application did not intend. No public exploit code is identified in the sources; the advisory provides only an illustrative payload, and success depends entirely on the application already mishandling untrusted input as max_age.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 08, 2026

Cookie attribute injection in the Tornado Python web framework before 6.6 affects applications that pass attacker-influenced input as the max_age argument of RequestHandler.set_cookie - or of set_signed_cookie, set_secure_cookie, and clear_cookie, which call it - letting an attacker append extra Set-Cookie attributes such as Domain, Path or Secure to widen the cookie's scope to parent paths or other subdomains. Because exposure depends entirely on that specific insecure coding pattern, applications that pass an integer or an int()-converted value are unaffected, and the resulting impact is limited to cookie-scope manipulation (low confidentiality and integrity impact, no availability impact). No public exploit code or active exploitation was identified at time of analysis, and the vendor released a fix in Tornado 6.6.

RemediationAI

Vendor-released patch: Tornado 6.6.0, in which max_age is converted with int() so non-numeric values raise an exception instead of reaching the header; upgrade the pip/tornado dependency to 6.6.0 per the GitHub advisory (https://github.com/tornadoweb/tornado/security/advisories/GHSA-c6v4-qj2h-f748). Where an immediate upgrade is not possible, the vendor's stated workaround is to convert max_age to an integer with int() before calling set_cookie (or set_signed_cookie, set_secure_cookie, clear_cookie); the trade-off is that this must be applied at every call site that accepts externally derived input, and it will also cause malformed non-numeric values to raise at that point rather than being silently written. No other compensating controls are specified by the vendor, and the vendor's fix is the complete remediation; the practical way to scope effort is to audit code for max_age values that originate from request data, since applications passing integers or int()-converted values are not affected.

Affected VersionsENISA

Tornado 0 <6.6

Affected Packages

euvd tornado fix: 6.6

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Tornado is a Python web framework and asynchronous networking library whose RequestHandler.set_cookie constructs the Set-Cookie response header from its arguments; set_signed_cookie and set_secure_cookie add signing/encryption on top of the same code path, and clear_cookie invokes it to expire a cookie. Prior hardening in Tornado 6.5.5 and 6.5.8 validated the other set_cookie arguments but omitted max_age, so a string value containing a semicolon and further attribute text is written verbatim into the Max-Age position and parsed by the browser as additional cookie attributes. The root cause is neutralization of special elements in generated output (CWE-74), with the vendor advisory also classifying it as CWE-113 (improper neutralization of CRLF sequences in HTTP headers, i.e. header/attribute injection). This is not a memory-safety issue and not exploitable against default or integer-valued usage: the exact prerequisite is an application that interpolates untrusted input into max_age without an int() conversion, as in set_cookie("sid", value, max_age="86400; Domain=example.com"). The assessed CVSS:3.1 vector (AV:N/AC:H/PR:N/UI:R, C:L/I:L/A:N) reflects that the attacker cannot control the precondition - the flaw only manifests through an application-side coding mistake plus a victim's browser processing the crafted header - and the trigger details beyond that pattern are as described in the vendor advisory, not inferred.

Know when Tornado gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 2.3 LOW
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
vuln.today AI 4.2 MEDIUM

AC:H because exploitation depends on the application insecurely passing untrusted input as max_age; PR:N as the attacker needs no authentication; C:L/I:L for limited cookie-scope abuse, no availability impact.

3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Nov 08, 2026 - 03:01 EUVD

DescriptionCVE.org

Tornado before 6.6 does not validate the max_age argument of RequestHandler.set_cookie (also called by set_signed_cookie, set_secure_cookie, and clear_cookie), allowing injection of additional Set-Cookie attributes. When an application passes attacker-influenced input as max_age, an attacker can embed attributes such as Domain, Path, or Secure to widen the cookie's scope to parent paths or other subdomains.

Threat Intelligence Overview

EPSS Score
0.2%
Top 93% exploitable
Prevalence
Medium
popular Python async web framework, common but not universally deployed
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Low

Priority Score

12
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +12
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

Related Vulnerabilities in Tornado Path Traversal and Cookie Injection Flaws

View all 2
CVE-2024-42733 CRITICAL POC
9.8 Mar 07

An issue in Docmosis Tornado v.2.9.7 and before allows a remote attacker to execute arbitrary code via a crafted script

CVE-2023-25266 HIGH POC
8.8 Feb 28

An issue was discovered in Docmosis Tornado prior to version 2.9.5. Rated high severity (CVSS 8.8), this vulnerability i

CVE-2025-67726 HIGH POC
7.5

py3-tornado in Alpine Linux received a security fix packaged as version 6.5.4-r0, addressing an unspecified vulnerabilit

CVE-2023-25265 HIGH POC
7.5 Feb 28

Docmosis Tornado <= 2.9.4 is vulnerable to Directory Traversal leading to the disclosure of arbitrary content on the fil

CVE-2023-25264 HIGH POC
7.5 Feb 28

An issue was discovered in Docmosis Tornado prior to version 2.9.5. Rated high severity (CVSS 7.5), this vulnerability i

CVE-2026-116577 MEDIUM POC
5.3 Oct 26

Tornado's HTTP/1.x header parser consumes quadratic CPU time when a header value is spread across many obsolete line-fol

CVE-2026-103262 HIGH
8.7 Oct 01

Denial of service in the Tornado web framework's CurlAsyncHTTPClient (all releases before 6.5.9) lets an unauthenticated

CVE-2026-31958 HIGH
8.7 Mar 11

In versions of Tornado prior to 6.5.5, the only limit on the number of parts in `multipart/form-data` is the `max_body_s

CVE-2026-91990 HIGH
8.7 Sep 15

Memory amplification denial of service in the Tornado Python web framework before 6.5.8 lets unauthenticated remote atta

CVE-2026-91992 HIGH
8.2 Sep 15

Credential leakage in Tornado's CurlAsyncHTTPClient (all releases through 6.5.6) lets sensitive per-request state — clie

CVE-2026-103263 HIGH
8.2 Oct 01

Unauthenticated local file disclosure in Tornado before 6.5.9 lets remote attackers read files outside a configured stat

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy