CVE-2026-116578

Tornado: Open redirect in RedirectHandler via protocol-relative URLs

Published Oct 26, 2026 CVSS 4.0 · 2.1 Low EPSS < 1% KEV · Not listed
Description
Tornado is a Python web framework and asynchronous networking library. Prior to 6.6, tornado.web.RedirectHandler URL templates can place regex-capture substitutions where crafted request paths change the redirect scheme or network location. Affected placements include substitutions at the start of a path, directly after a fixed host, or at the beginning of the template, including protocol-relative, absolute, backslash, encoded, host-extension, and user-info variants interpreted by browsers as attacker-controlled destinations. Static templates and substitutions after a fixed host followed by a slash are not affected. An attacker can use the resulting open redirect on the application's domain for phishing. This issue is fixed in version 6.6.

Analysis

AI-generated

Technical impact

An attacker can exploit a flaw in Tornado’s RedirectHandler allowing pattern substitutions to create URLs that redirect users to arbitrary locations. The vulnerability exists in all Tornado Web framework releases before version 6.6, where certain regex‑capture substitutions in URL templates can change the scheme or host of a redirect. The impact is an open redirection that, although not a direct code execution flaw, permits phishing attacks by having users believe they are staying on the legitimate domain.

Affected Systems

Systems running any Tornado version earlier than 6.6, including 6.5 and older, are vulnerable. The flaw surfaces when RedirectHandler URL templates contain regex‑capture substitutions at the start of the path, immediately after a fixed host, or at the beginning of the template. Static templates or substitutions following a fixed host and a slash are not affected. The affected product is the Tornado Web framework.

Risk and Exploitability

The CVSS score of 2.1 reflects the low technical scope and limited impact of the flaw. No EPSS data is available and the issue is not listed in the CISA KEV catalog. The most probable exploitation path is a maliciously crafted HTTP request to an application endpoint that uses RedirectHandler, causing browsers to follow attacker‑controlled destinations. While the vulnerability could be leveraged in phishing campaigns, its overall risk remains low unless combined with broader social‑engineering efforts.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Tornado to 6.6 or later to eliminate the open redirect flaw.
  • If an update is not immediately possible, remove or disable any RedirectHandler that uses regex‑capture substitutions at the start of URL templates, limiting redirects to statically defined destinations.
  • Add validation to redirect target URLs to reject protocol‑relative, backslash, or user‑info prefixes, ensuring redirects only go to the same host or approved domains.

Generated by OpenCVE AI on October 26, 2026 at 22:02 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-pw9p-v7r6-gx4p Tornado: Open redirect in RedirectHandler via protocol-relative URLs
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

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

threat_severity

Moderate

Type Values Removed Values Added
First Time appeared Tornadoweb
Tornadoweb tornado
Vendors & Products Tornadoweb
Tornadoweb tornado
Type Values Removed Values Added
Description Tornado is a Python web framework and asynchronous networking library. Prior to 6.6, tornado.web.RedirectHandler URL templates can place regex-capture substitutions where crafted request paths change the redirect scheme or network location. Affected placements include substitutions at the start of a path, directly after a fixed host, or at the beginning of the template, including protocol-relative, absolute, backslash, encoded, host-extension, and user-info variants interpreted by browsers as attacker-controlled destinations. Static templates and substitutions after a fixed host followed by a slash are not affected. An attacker can use the resulting open redirect on the application's domain for phishing. This issue is fixed in version 6.6.
Title Tornado: Open redirect in RedirectHandler via protocol-relative URLs
Weaknesses CWE-601
References
Metrics cvssV4_0

{'score': 2.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N'}

Weaknesses
  • CWE-601

    URL Redirection to Untrusted Site ('Open Redirect')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 30, 2026, 2:28 PM
Reserved
Oct 26, 2026, 3:03 PM
Status
Deferred
Published
Oct 26, 2026, 9:18 PM
Modified
Oct 30, 2026, 3:16 PM
Severity
Moderate
Public date
Oct 26, 2026, 8:22 PM