Description
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.
Published: 2026-11-08
Score: 2.3 Low
EPSS: n/a
KEV: No
Impact: Cookie Attribute Injection
Action: Patch
AI Analysis

Impact

Tornado versions before 6.6 do not validate the max_age argument of RequestHandler.set_cookie, which is also used by set_signed_cookie, set_secure_cookie, and clear_cookie. An attacker can craft a max_age value that injects additional Set‑Cookie attributes such as Domain, Path, or Secure. The injection expands the cookie’s scope to parent paths or other subdomains, thereby affecting the session cookie attributes controlled by the application.

Affected Systems

The vulnerability applies to all releases of the Tornado web framework prior to version 6.6. Any application that uses Tornado’s set_cookie, set_signed_cookie, set_secure_cookie, or clear_cookie methods with unsanitized, attacker‑controlled input for the max_age parameter is at risk.

Risk and Exploitability

The CVSS score is 2.3, indicating low severity. No EPSS score is reported and the vulnerability is not listed in CISA’s KEV catalog, so the likelihood of widespread exploitation is modest. The attack vector requires an attacker to control the max_age input supplied by the application, which is typically obtained through normal application logic.

Generated by OpenCVE AI on November 8, 2026 at 03:35 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to Tornado 6.6 or later where set_cookie validates the max_age parameter.
  • If an upgrade is not immediately possible, enforce numeric validation on any value passed to set_cookie; reject values containing commas, semicolons, or other cookie attribute delimiters.
  • Override or patch Tornado’s set_cookie implementation in the application’s code to strip or reject any additional attributes supplied via the max_age parameter before the cookie is sent.

Generated by OpenCVE AI on November 8, 2026 at 03:35 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 08 Nov 2026 01:45:00 +0000

Type Values Removed Values Added
Description 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.
Title Tornado before 6.6 Cookie Attribute Injection via set_cookie max_age
First Time appeared Tornadoweb
Tornadoweb tornado
Weaknesses CWE-74
CPEs cpe:2.3:a:tornadoweb:tornado:*:*:*:*:*:*:*:*
Vendors & Products Tornadoweb
Tornadoweb tornado
References
Metrics cvssV3_1

{'score': 4.2, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N'}

cvssV4_0

{'score': 2.3, 'vector': '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'}


Subscriptions

Tornadoweb Tornado
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-11-08T01:37:43.142Z

Reserved: 2026-11-06T00:48:46.279Z

Link: CVE-2026-123535

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-11-08T02:16:43.917

Modified: 2026-11-08T02:16:44.053

Link: CVE-2026-123535

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-08T03:30:15Z

Weaknesses
  • CWE-74

    Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')