All vulnerabilities

PyPI

CVE-2026-123535

Tornado before 6.6 Cookie Attribute Injection via set_cookie max_age

Severity
Low 2.3
Published
8 Nov 2026
Last changed
12 Nov 2026
Added to UpHeron
23 Nov 2026
Fixed in
6.6
Exploit chance
0.2% in the next 30 daysHigher than 6% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
Injection (CWE-74)
Attack
Over the network · Only under certain conditions · No login needed · Needs someone to view a page or file
Attacker can
Read some data · Change some data
CVSS 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
Sources
CVE Program

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.

From the CVE Program.

Affected software

SoftwareAffected versions
tornadoPyPI · osv:PyPI:tornado
  • Every version before 6.6

About tornado

Weekly downloads (PyPI)
28,633,007PyPI Stats, 23 Nov 2026

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-123535