ADVISORIES

GitHub Advisory Database

GHSA-5cjw-f85j-cv6r

Tornado: Open redirect via triple-slash redirect paths

Details

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.

Affected packages

EcosystemPackageAffected versions
PyPItornado
All versions before 6.6.1 (fixed in 6.6.1)

References