Vulnerabilities in pkg:pypi/tornado

PACKAGE
Advisory Identifier: GHSA-5cjw-f85j-cv6r
Advisory Summary

CVE-2026-126347 is a LOW (CVSS 3.1) open redirect vulnerability (CWE-601: URL Redirection to Untrusted Site ('Open Redirect')) affecting Tornado libraries in the PyPI ecosystem. The issue involves open redirect via triple-slash redirect paths. Remediation is available by upgrading affected packages to version 6.6.1.

25 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:pypi/tornado

25 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:pypi/tornado. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-5cjw-f85j-cv6r CVE-2026-126347 LOW Tornado: Open redirect via triple-slash redirect paths
GHSA-3hv7-mjh2-fv65 - MODERATE Tornado: Unbounded query-string argument count allows event-loop-stalling DoS
GHSA-chx6-46f5-w4vp - HIGH tornado: CurlAsyncHTTPClient enforces no response-size limit — decompression bomb drives unbounded memory accumulation to OOM
GHSA-c2m8-h5v5-343r - HIGH Tornado: StaticFileHandler follows symlinks outside static root (path traversal)
GHSA-mpf4-983q-p7j4 CVE-2026-82397 HIGH Tornado: Urlencoded body parsing omits max_num_fields, so one request can stall the event loop
GHSA-8423-8fgw-73vq - MODERATE tornado: multipart split() creates huge temp list before max_parts check -> memory amplification DoS (httputil.py:34)
GHSA-wwv5-g3v4-889x - LOW Tornado: Incomplete fix for CVE-2026-35536: cookie attribute injection re-opened via the legacy case-insensitive `**kwargs` path in `set_cookie`
GHSA-jhmp-mqwm-3gq8 CVE-2025-67726 HIGH Tornado: Quadratic DoS via Crafted Multipart Parameters
GHSA-c98p-7wgm-6p64 CVE-2025-67725 HIGH Tornado: Quadratic DoS via Repeated Header Coalescing
GHSA-pr2v-jx2c-wg9f CVE-2025-67724 MODERATE Tornado vulnerable to Header Injection and XSS via reason argument
GHSA-pw6j-qg29-8w7f - MODERATE Tornado: CurlAsyncHTTPClient leaks per-request credentials on handle reuse
GHSA-3x9g-8vmp-wqvf CVE-2026-49853 HIGH Tornado: Authorization header forwarded across cross-origin redirects in SimpleAsyncHTTPClient
GHSA-mgf9-4vpg-hj56 CVE-2026-49855 HIGH tornado AsyncHTTPClient accumulates decompressed chunks without size limit (gzip bomb)
GHSA-cx3h-4qpv-8hc9 CVE-2026-49854 LOW Tornado has out-of-bounds memory access via C extension
GHSA-qjxf-f2mg-c6mc CVE-2026-31958 HIGH Tornado is vulnerable to DoS due to too many multipart parts
GHSA-fqwm-6jpj-5wxc CVE-2026-35536 HIGH Tornado has cookie attribute injection via .RequestHandler.set_cookie
GHSA-78cv-mqj4-43f7 - MODERATE Tornado has incomplete validation of cookie attributes
GHSA-8w49-h785-mj3c CVE-2024-52804 HIGH Tornado has an HTTP cookie parsing DoS vulnerability
GHSA-hj3f-6gcp-jg8j CVE-2023-28370 MODERATE Open redirect in Tornado
GHSA-7cx3-6m66-7c5m CVE-2025-47287 HIGH Tornado vulnerable to excessive logging caused by malformed multipart form data
GHSA-f7fv-v9rh-prvc CVE-2012-2374 HIGH Tornado CRLF injection vulnerability
GHSA-8vpw-mgpf-mpvv CVE-2014-9720 HIGH Tornado XSRF cookie allows side-channel attack against TLS (BREACH attack)
GHSA-w235-7p84-xx57 - MODERATE Tornado has a CRLF injection in CurlAsyncHTTPClient headers
GHSA-753j-mpmx-qq6g - MODERATE Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling') in tornado
GHSA-qppv-j76h-2rpx - MODERATE Tornado vulnerable to HTTP request smuggling via improper parsing of `Content-Length` fields and chunk lengths

CVE-2026-126347 at a Glance

CVE Identifier CVE-2026-126347
GHSA Identifier GHSA-5cjw-f85j-cv6r
Severity LOW
CVSS v3.1 Base Score 3.1
CWE Classification CWE-601: URL Redirection to Untrusted Site ('Open Redirect')
Affected Product Tornado
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 3.1

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity Low (I:L)
Availability None (A:N)

How to Fix CVE-2026-126347

To remediate this vulnerability, upgrade all affected Tornado dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

tornado fixed: 6.6.1
pip install tornado>=6.6.1
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show tornado

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2026-126347, inspect your installed packages using pip:

pip show tornado

Analyze the terminal output to locate any version of Tornado in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 6.6.1), your application is affected.

Note: The pip show tornado command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-601: URL Redirection to Untrusted Site ('Open Redirect'), where the web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect. In Tornado, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Summary Due to differences in the way browsers and Python's `urllib` parse urls, browsers treat a string starting with three or more slashes as a protocol-level redirect, while `urllib` does not. This means that the 6.6.0 fix for the RedirectHandler open redirect (CVE-2026-116578, commit cc75ab0e) is incomplete. Tornado 6.6.1 improves the open-redirect detection to handle this case correctly, as well as fixing a regression in the 6.6.0 implementation.

CVE-2026-126347 Affected Tornado Versions

1 component(s)
Fixed Versions:
6.6.1
Product / Package Ecosystem Affected Versions Fixed Version
tornado
PyPI
< 6.6.1
6.6.1

References

Frequently Asked Questions

What is CVE-2026-126347?
CVE-2026-126347 is a security vulnerability in Tornado involving Open redirect via triple-slash redirect paths under CWE-601: URL Redirection to Untrusted Site ('Open Redirect').
Which Tornado versions are affected?
Affected versions include releases prior to 6.6.1 across affected packages: tornado.
What version fixes CVE-2026-126347?
Upgrading to 6.6.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is tornado affected?
Yes, tornado is affected in releases prior to 6.6.1. Upgrade your dependency to 6.6.1 or later.
What is the CVSS score of CVE-2026-126347?
CVE-2026-126347 has a CVSS v3.1 base score of 3.1 (LOW) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N.
What CWE is associated with CVE-2026-126347?
CVE-2026-126347 is classified under CWE-601: URL Redirection to Untrusted Site ('Open Redirect') (The web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect.).
How can I check PyPI dependencies for CVE-2026-126347?
Run the dependency tree command: 'pip show tornado'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-5cjw-f85j-cv6r",
  "modified" : "2026-11-13T20:31:22Z",
  "published" : "2026-11-13T20:31:22Z",
  "aliases" : [ "CVE-2026-126347" ],
  "summary" : "Tornado: Open redirect via triple-slash redirect paths",
  "details" : "### Summary\n\nDue to differences in the way browsers and Python's `urllib` parse urls, browsers treat a string starting with three or more slashes as a protocol-level redirect, while `urllib` does not. This means that the 6.6.0 fix for the RedirectHandler open redirect (CVE-2026-116578, commit cc75ab0e) is incomplete. Tornado 6.6.1 improves the open-redirect detection to handle this case correctly, as well as fixing a regression in the 6.6.0 implementation.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "tornado"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "6.6.1"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 6.6.0"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/tornadoweb/tornado/security/advisories/GHSA-5cjw-f85j-cv6r"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-126347"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/tornadoweb/tornado/commit/c503241622c0efe7c40110d89834ce8b7fead1e4"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/tornadoweb/tornado"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/tornadoweb/tornado/releases/tag/v6.6.1"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-601" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-11-13T20:31:22Z",
    "nvd_published_at" : "2026-11-12T22:19:19Z"
  }
}