CVE-2026-49853
JSON

7.7high

Tornado: Authorization header forwarded across cross-origin redirects in SimpleAsyncHTTPClient

Severity
7.7high CVSS:3.1 by GitHub_M
Exploit likelihood
0.45% (higher than 31% of CVEs)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-3x9g-8vmp-wqvfPYSEC-2026-3387

Description

Tornado is a Python web framework and asynchronous networking library. Prior to 6.5.6, SimpleAsyncHTTPClient shallow-copied redirected requests and removed only the Host header, leaving Authorization, auth_username, auth_password, and auth_mode in place when a redirect changed scheme, host, or port. This issue is fixed in version 6.5.6.

Affected

Product or packageVersionsReported by
tornadoweb tornado< 6.5.6CVE List
tornado (PyPI)before 6.5.6GitHub Advisory Database, PyPA Advisory Database

All scores

GitHub_M7.7high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
GitHub7.7high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
PyPA Advisory Database7.7high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N

Classification

CWE-200

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

Tornado is a Python web framework and asynchronous networking library. Prior to 6.5.6, SimpleAsyncHTTPClient shallow-copied redirected requests and removed only the Host header, leaving Authorization, auth_username, auth_password, and auth_mode in place when a redirect changed scheme, host, or port. This issue is fixed in version 6.5.6.

GitHub Advisory Database

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.

NVD (es)

Tornado es un framework web de Python y una biblioteca de red asíncrona. Antes de la versión 6.5.6, SimpleAsyncHTTPClient realizaba una copia superficial de las solicitudes redirigidas y eliminaba solo el encabezado Host, dejando la autorización, auth_username, auth_password y auth_mode en su lugar cuando una redirección cambiaba el esquema, el host o el puerto. Este problema está solucionado en la versión 6.5.6.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-49853 changed 2026-07-21CVE Terms of Use
GitHub Advisory DatabaseGHSA-3x9g-8vmp-wqvf changed 2026-09-10CC-BY-4.0
NVDCVE-2026-49853 changed 2026-10-24Public domain
PyPA Advisory DatabasePYSEC-2026-3387 changed 2026-07-13CC-BY-4.0