# CVE-2023-28370: Open redirect in Tornado

> Remote attackers can redirect users to malicious sites via crafted URLs, facilitating phishing attacks against applications using the Tornado web framework.

- **Severity:** Medium 6.1 (`CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** A user has to click or open something
- **Fix available:** Yes
- **Published:** 25 May 2023
- **Updated:** 3 Nov 2025
- **Also known as:** ALSA-2023:6523, AZL-43486, AZL-44277, CLSA-2026-1786433207, CLSA-2026-1786442009, DEBIAN-CVE-2023-28370, GHSA-hj3f-6gcp-jg8j, MGASA-2023-0211, OESA-2023-1370, PYSEC-2023-75, RHSA-2023:6523, ROOT-APP-PYPI-CVE-2023-28370, SUSE-EL-9-CLIENT-TOOLS-2023-3137, SUSE-SU-2023:2770-1, SUSE-SU-2023:2807-1, SUSE-SU-2023:3122-1, SUSE-SU-2023:3123-1, SUSE-SU-2023:3128-1, SUSE-SU-2023:3131-1, SUSE-SU-2023:3137-1, SUSE-SU-2023:3139-1, SUSE-SU-2023:3142-1, SUSE-SU-2023:3143-1, SUSE-SU-2023:3144-1, SUSE-SU-2023:3145-1, UBUNTU-CVE-2023-28370, USN-6159-1, openSUSE-SU-2024:13107-1, openSUSE-SU-2024:13121-1, openSUSE-SU-2026:11239-1

## What is CVE-2023-28370?

CVE-2023-28370 is a medium-severity vulnerability in tornadoweb Tornado, published on 25 May 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

### Official description

Open redirect vulnerability in Tornado versions 6.3.1 and earlier allows a remote unauthenticated attacker to redirect a user to an arbitrary web site and conduct a phishing attack by having user access a specially crafted URL.

Weakness: CWE-601 (URL Redirection to Untrusted Site)

## Which versions are affected by CVE-2023-28370?

3 open source packages ship an affected version, including tornado. It affects 1 product.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `tornado` | PyPI | All versions | 6.3.2 |
| `tornado` | PyPI | All versions | 6.3.2 |
| `tornado` | PyPI | All versions | 6.3.2 |
| `python3-tornado` | AlmaLinux:9 | All versions | 6.1.0-9.el9 |
| `python-tornado` | Red Hat:enterprise_linux:9::appstream | All versions | 0:6.1.0-9.el9 |
| `python-tornado-debugsource` | Red Hat:enterprise_linux:9::appstream | All versions | 0:6.1.0-9.el9 |
| `python3-tornado` | Red Hat:enterprise_linux:9::appstream | All versions | 0:6.1.0-9.el9 |
| `python3-tornado-debuginfo` | Red Hat:enterprise_linux:9::appstream | All versions | 0:6.1.0-9.el9 |
| `saltbundlepy-psutil` | SUSE:EL-9:Update:Products:SaltBundle:Update | All versions | 5.8.0-1.9.1 |
| `venv-salt-minion` | SUSE:EL-9:Update:Products:SaltBundle:Update | All versions | 3006.0-1.19.2 |
| `python-tornado` | SUSE:Enterprise Storage 7 | All versions | 4.5.3-150000.3.6.1 |
| `salt` | SUSE:Enterprise Storage 7 | All versions | 3006.0-150200.101.2 |
| `python-tornado` | SUSE:Enterprise Storage 7.1 | All versions | 4.5.3-150000.3.6.1 |
| `salt` | SUSE:Enterprise Storage 7.1 | All versions | 3006.0-150300.53.53.2 |
| `python-tornado` | SUSE:HPE Helion OpenStack 8 | All versions | 4.4.3-3.3.1 |
| `python-tornado` | SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS | All versions | 4.5.3-150000.3.6.1 |
| `salt` | SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS | All versions | 3006.0-150100.100.2 |
| `python-tornado` | SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | All versions | 4.5.3-150000.3.6.1 |
| `salt` | SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | All versions | 3006.0-150200.101.2 |
| `python-tornado` | SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS | All versions | 4.5.3-150000.3.6.1 |
| `salt` | SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS | All versions | 3006.0-150300.53.53.2 |
| `python-tornado` | SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | All versions | 4.5.3-150000.3.6.1 |
| `salt` | SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | All versions | 3006.0-150300.53.53.2 |
| `salt` | SUSE:Linux Enterprise Micro 5.1 | All versions | 3006.0-150300.53.53.2 |
| `python-tornado` | SUSE:Linux Enterprise Micro 5.2 | All versions | 4.5.3-150000.3.6.1 |
| `salt` | SUSE:Linux Enterprise Micro 5.2 | All versions | 3006.0-150300.53.53.2 |
| `python-tornado` | SUSE:Linux Enterprise Micro 5.3 | All versions | 4.5.3-150000.3.6.1 |
| `salt` | SUSE:Linux Enterprise Micro 5.3 | All versions | 3006.0-150400.8.37.2 |
| `python-tornado` | SUSE:Linux Enterprise Micro 5.4 | All versions | 4.5.3-150000.3.6.1 |
| `salt` | SUSE:Linux Enterprise Micro 5.4 | All versions | 3006.0-150400.8.37.2 |
| `python-tornado` | SUSE:Linux Enterprise Module for Advanced Systems Management 12 | All versions | 4.2.1-17.7.1 |
| `python-tornado` | SUSE:Linux Enterprise Module for Basesystem 15 SP4 | All versions | 4.5.3-150000.3.6.1 |
| `salt` | SUSE:Linux Enterprise Module for Basesystem 15 SP4 | All versions | 3006.0-150400.8.37.2 |
| `python-tornado` | SUSE:Linux Enterprise Module for Basesystem 15 SP5 | All versions | 4.5.3-150000.3.6.1 |
| `salt` | SUSE:Linux Enterprise Module for Basesystem 15 SP5 | All versions | 3006.0-150500.4.12.2 |
| `salt` | SUSE:Linux Enterprise Module for Server Applications 15 SP4 | All versions | 3006.0-150400.8.37.2 |
| `salt` | SUSE:Linux Enterprise Module for Server Applications 15 SP5 | All versions | 3006.0-150500.4.12.2 |
| `salt` | SUSE:Linux Enterprise Module for Transactional Server 15 SP4 | All versions | 3006.0-150400.8.37.2 |
| `salt` | SUSE:Linux Enterprise Module for Transactional Server 15 SP5 | All versions | 3006.0-150500.4.12.2 |
| `python-tornado` | SUSE:Linux Enterprise Real Time 15 SP3 | All versions | 4.5.3-150000.3.6.1 |

Products: Tornadoweb Tornado.

## How do I fix CVE-2023-28370?

Upgrade tornado to 6.3.2 or later.

## Is CVE-2023-28370 being exploited?

There is no known exploitation of CVE-2023-28370 in the wild and no public exploit code.

## Other vulnerabilities in tornadoweb Tornado

- [CVE-2026-31958](https://insights.sbomify.com/CVE-2026-31958/): Tornado has a DoS due to too many multipart parts (high 8.7)
- [CVE-2025-67725](https://insights.sbomify.com/CVE-2025-67725/): Tornado is Vulnerable to Quadratic DoS via Repeated Header Coalescing (high 7.5)
- [CVE-2025-67726](https://insights.sbomify.com/CVE-2025-67726/): Tornado is Vulnerable to Quadratic DoS via Crafted Multipart Parameters (high 7.5)
- [CVE-2024-52804](https://insights.sbomify.com/CVE-2024-52804/): Tornado has HTTP cookie parsing DoS vulnerability (high 7.5)
- [CVE-2026-35536](https://insights.sbomify.com/CVE-2026-35536/): Tornado has incomplete validation of cookie attributes (high 7.2)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2023-28370 and fix it if it is affected.

What it is: CVE-2023-28370 is a medium-severity vulnerability in tornadoweb Tornado, published on 25 May 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Exploitation: There is no known exploitation of CVE-2023-28370 in the wild and no public exploit code.

Affected packages and fixed versions:
- tornado (PyPI): affected all versions; fixed in 6.3.2
- tornado (PyPI): affected all versions; fixed in 6.3.2
- tornado (PyPI): affected all versions; fixed in 6.3.2

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2023-28370/ (Markdown: https://insights.sbomify.com/CVE-2023-28370/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2023-28370
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2023-28370
- OSV: https://osv.dev/vulnerability/CVE-2023-28370

---
From sbomify Insights: https://insights.sbomify.com/CVE-2023-28370/
Summaries are generated and may contain mistakes; the official description above is the record.
