CVE Vulnerabilities

CVE-2026-35536

Improper Handling of Invalid Use of Special Elements

Published: Apr 03, 2026 | Modified: Apr 10, 2026
CVSS 3.x
5.3
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
CVSS 2.x
RedHat/V2
RedHat/V3
5.4 MODERATE
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

In Tornado before 6.5.5, cookie attribute injection could occur because the domain, path, and samesite arguments to .RequestHandler.set_cookie were not checked for crafted characters.

Weakness

The product does not properly filter, remove, quote, or otherwise manage the invalid use of special elements in user-controlled input, which could cause adverse effect on its behavior and integrity.

Affected Software

NameVendorStart VersionEnd Version
TornadoTornadoweb*6.5.5 (excluding)
Red Hat Enterprise Linux 10RedHatpython-tornado-0:6.5.5-1.el10_1.1*
Red Hat Enterprise Linux 10RedHatpython-tornado-0:6.5.5-1.el10_2*
Red Hat Enterprise Linux 10.0 Extended Update SupportRedHatpython-tornado-0:6.4.2-1.el10_0.2*
Red Hat Enterprise Linux 7 Extended Lifecycle SupportRedHatpython-tornado-0:4.2.1-5.el7_9.3*
Red Hat Enterprise Linux 9RedHatpython-tornado-0:6.5.5-1.el9_7.1*
Red Hat Enterprise Linux 9RedHatpython-tornado-0:6.5.5-1.el9_8*
Red Hat Enterprise Linux 9.2 Update Services for SAP SolutionsRedHatpython-tornado-0:6.4.2-1.el9_2.2*
Red Hat Enterprise Linux 9.4 Extended Update SupportRedHatpython-tornado-0:6.4.2-1.el9_4.2*
Red Hat Enterprise Linux 9.6 Extended Update SupportRedHatpython-tornado-0:6.4.2-2.el9_6.3*
Python-tornadoUbuntudevel*
Python-tornadoUbuntuesm-apps/bionic*
Python-tornadoUbuntuesm-apps/focal*
Python-tornadoUbuntuesm-apps/jammy*
Python-tornadoUbuntuesm-infra-legacy/xenial*
Python-tornadoUbuntuesm-infra/xenial*
Python-tornadoUbuntujammy*
Python-tornadoUbuntunoble*
Python-tornadoUbuntuquesting*
Python-tornadoUbunturesolute*
Python-tornadoUbuntuupstream*

Potential Mitigations

  • Assume all input is malicious. Use an “accept known good” input validation strategy, i.e., use a list of acceptable inputs that strictly conform to specifications. Reject any input that does not strictly conform to specifications, or transform it into something that does.
  • When performing input validation, consider all potentially relevant properties, including length, type of input, the full range of acceptable values, missing or extra inputs, syntax, consistency across related fields, and conformance to business rules. As an example of business rule logic, “boat” may be syntactically valid because it only contains alphanumeric characters, but it is not valid if the input is only expected to contain colors such as “red” or “blue.”
  • Do not rely exclusively on looking for malicious or malformed inputs. This is likely to miss at least one undesirable input, especially if the code’s environment changes. This can give attackers enough room to bypass the intended validation. However, denylists can be useful for detecting potential attacks or determining which inputs are so malformed that they should be rejected outright.

References