Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') Affecting tornado package, versions [6.5.5, 6.5.8)


Severity

Recommended
0.0
low
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-TORNADO-19498530
  • published2 Sept 2026
  • disclosed1 Sept 2026
  • creditUnknown

Introduced: 1 Sep 2026

New CVE NOT AVAILABLE CWE-74  (opens in a new tab)

How to fix?

Upgrade tornado to version 6.5.8 or higher.

Overview

tornado is a Python web framework and asynchronous networking library, originally developed at FriendFeed.

Affected versions of this package are vulnerable to Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') via the set_cookie method when attacker-controlled keyword arguments with capitalized names are passed, bypassing character validation and allowing injection of arbitrary cookie attributes. An attacker can manipulate cookie attributes by supplying specially crafted values through capitalized keyword arguments.

Note: This is only exploitable if the application uses capitalized or legacy keyword arguments in the set_cookie method.

CVSS Base Scores

version 4.0
version 3.1