CVE-2026-126347
Tornado is a Python web framework and asynchronous networking library.
Impact
### 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.
An attacker can exploit this over the network, without logging in, but a user has to do something, such as open a file or a link. Specific conditions have to be met, which makes an attack harder. If it succeeds: low risk of data or systems being changed.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | tornado | <= 6.6.0 | 6.6.1 |
Affected products · Tornadoweb
| Product | Affected versions |
|---|---|
| Tornado | before 6.6.1 Version < 6.6.1 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/tornadoweb/tornado/security/advisories/GHSA-5cjw-f85j-cv6r
- https://github.com/tornadoweb/tornado/commit/c503241622c0efe7c40110d89834ce8b7fead1e4
- https://github.com/advisories/GHSA-5cjw-f85j-cv6r
- https://nvd.nist.gov/vuln/detail/CVE-2026-126347
- https://github.com/tornadoweb/tornado/releases/tag/v6.6.1
- https://github.com/tornadoweb/tornado/security/advisories/GHSA-pw9p-v7r6-gx4p
- https://github.com/tornadoweb/tornado/commit/cc75ab0eb3af459c714895a49f682ad354f50117