Tornado: Authorization header forwarded across cross-origin redirects in SimpleAsyncHTTPClientGHSA-3x9g-8vmp-wqvf
HIGHGHSA-3x9g-8vmp-wqvf is a high-severity (CVSS 7.7) Information Exposure vulnerability in tornado. A fix is available for tornado — see the affected versions and patch details below.
Exploitation Status
No confirmed exploitation observed yet
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for GHSA-3x9g-8vmp-wqvf.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
tornadoReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects PyPI packages — download data is not available via public APIs for these ecosystems.
Description
Summary
When SimpleAsyncHTTPClient follows a 3xx redirect, it shallow-copies the original HTTPRequest, rewrites the URL, decrements max_redirects, and removes only the Host header. It does not clear Authorization, auth_username, auth_password, or auth_mode when the redirect target changes origin.
As a result, credentials intended for one origin can be forwarded to a different origin when follow_redirects=True, which is the default.
Beginning in Tornado 6.5.6, SimpleAsyncHTTPClient matches the default behavior of libcurl (and therefore CurlAsyncHTTPClient): When a redirect changes the scheme, host, or port of the url, the Authorization and Cookie headers will be removed when following the redirect.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐍PyPI | tornado | all versions | 6.5.6pip install --upgrade 'tornado==6.5.6' |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for tornado, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update tornado to 6.5.6 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-3x9g-8vmp-wqvf is resolved across your whole dependency graph.
Workarounds
Assume what was exposed is already known: rotate any credential, token or key that the affected component could return, restrict the endpoint to callers that genuinely need it, and strip sensitive fields from responses and error output at the boundary rather than relying on the client not to read them.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
This is an information disclosure flaw in the Tornado `SimpleAsyncHTTPClient` where sensitive authentication credentials can be inadvertently exposed. When an application using `SimpleAsyncHTTPClient` follows a 3xx redirect to a different origin (scheme, host, or port), Authorization and other authentication headers…
Applications utilizing Tornado's SimpleAsyncHTTPClient can mitigate this issue by explicitly disabling automatic redirection following. This can be achieved by setting `follow_redirects=False` when making HTTP requests. Manually handling redirects allows applications to ensure sensitive headers are not inadvertently sent to unintended origins. Disabling automatic redirects may alter application behavior that relies on this feature.Source: Red Hat security advisory for GHSA-3x9g-8vmp-wqvf (CC BY 4.0)
| Product | Fixed in | Advisory |
|---|---|---|
| Red Hat Enterprise Linux 10 | python-tornado-0:6.5.8-0.el10_2.1 | RHSA-2026:67147 |
| Red Hat Enterprise Linux 10.0 Extended Update Support | python-tornado-0:6.5.8-0.el10_0.1 | RHSA-2026:80741 |
| Red Hat Enterprise Linux 9 | python-tornado-0:6.5.8-0.el9_8.1 | RHSA-2026:67146 |
| Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions | python-tornado-0:6.5.10-0.el9_2.1 | RHSA-2026:98106 |
| Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions | python-tornado-0:6.4.2-1.el9_4.3 | RHSA-2026:90777 |
| Red Hat Enterprise Linux 9.6 Extended Update Support | python-tornado-0:6.4.2-2.el9_6.7 | RHSA-2026:90283 |
Frequently Asked Questions
Is GHSA-3x9g-8vmp-wqvf in your dependencies?
Find it across PyPI, including transitive dependencies.