# Tornado is vulnerable to DoS due to too many multipart parts

Advisory record · `GHSA-qjxf-f2mg-c6mc`

- **Identifiers:** `GHSA-qjxf-f2mg-c6mc` · `CVE-2026-31958` · `PYSEC-2026-140`
- **State:** Confirmed
- **Severity:** CVSS 8.7 High
- **Critical:** No
- **Weakness (CWE):** [CWE-400](https://cwe.mitre.org/data/definitions/400.html)
- **Tags:** [Denial of service](https://agentprime.io/advisories/tag/dos.md)
- **Published:** 12 Mar 2026
- **Updated:** 10 Sept 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 12 Mar 2026, 14:19 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `tornado` (PyPI): affected `<6.5.5`; fixed in `6.5.5`

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 8.7 High, CVSS 4.0: `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`, from CNA (GitHub_M)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0042, the 36th percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 14:34 UTC: First seen by agentprime
- 31 Oct 2026, 14:34 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-qjxf-f2mg-c6mc)

## Sources

- [GitHub Advisory Database: GHSA-qjxf-f2mg-c6mc](https://github.com/advisories/GHSA-qjxf-f2mg-c6mc)
- [OSV: GHSA-qjxf-f2mg-c6mc](https://osv.dev/vulnerability/GHSA-qjxf-f2mg-c6mc)
- <https://github.com/tornadoweb/tornado/security/advisories/GHSA-qjxf-f2mg-c6mc>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-31958>
- <https://github.com/tornadoweb/tornado/commit/119a195e290c43ad2d63a2cf012c29d43d6ed839>
- <https://github.com/pypa/advisory-database/tree/main/vulns/tornado/PYSEC-2026-140.yaml>
- <https://github.com/tornadoweb/tornado>
- <https://github.com/tornadoweb/tornado/releases/tag/v6.5.5>
- <https://lists.debian.org/debian-lts-announce/2026/04/msg00000.html>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-qjxf-f2mg-c6mc>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-qjxf-f2mg-c6mc/>. Everything for agents: <https://agentprime.io/llms.txt>.
