CVE-2026-31958: Jupyterlab · Tornado is vulnerable to DoS due to too many multipart parts
Affects jupyterlabSource GCVE Database
Not known to be exploited · CVSS 8.7 High : upgrade to 4.5.6 soon.
Data as of 30 Oct 2026, 08:59 UTC
- Patch
- Available – fixed in 4.5.6
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 11 Mar 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
Upgrade jupyterlab to 4.5.6.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewjupyterlabpkg:brew/jupyterlabOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade to Tornado version 6.5.5 or later, which includes new configurable limits on multipart body size and complexity to prevent this DoS condition. If multipart parsing is not required, it can be disabled entirely using the new configuration options. No other immediate actions are required once the upgrade is applied.
Description
Tornado versions prior to 6.5.5 used by JupyterLab are vulnerable to a denial-of-service (DoS) condition due to unbounded parsing of multipart/form-data requests. The vulnerability arises because the number of multipart parts is only limited by the max_body_size setting, allowing attackers to cause high CPU usage by sending requests with many parts. Tornado 6.5.5 introduces configurable limits on multipart body size and complexity, including a default limit of 100 parts per request, and allows disabling multipart parsing if not needed.
References
- github.com/tornadoweb/tornado/security/advisories/GHSA-qjxf-f2mg-c6mc (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-31958 (opens in a new tab)
- github.com/tornadoweb/tornado/commit/119a195e290c43ad2d63a2cf012c29d43d6ed839 (opens in a new tab)
- github.com/pypa/advisory-database/tree/main/vulns/tornado/PYSEC-2026-140.yaml (opens in a new tab)
- github.com/tornadoweb/tornado (opens in a new tab)
- github.com/tornadoweb/tornado/releases/tag/v6.5.5 (opens in a new tab)
- lists.debian.org/debian-lts-announce/2026/04/msg00000.html (opens in a new tab)