CVE-2026-40864: JupyterHub is software that allows users to create a multi-user server for Jupyter notebooks
Affects jupyterhubSource GCVE Database
Not known to be exploited · CVSS 5.4 Medium · fixed in 5.4.5 : update jupyterhub when convenient.
Data as of 24 Nov 2026, 21:15 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 3% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 5.4.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:LExploitation evidence
Disclosed: evidence found.
CVE published 22 May 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: evidence found.
Public exploit code: GitHub proofs of concept
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), GitHub proofs of concept, the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10jupyterhubpkg:deb/ubuntu/jupyterhub?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSjupyterhubpkg:deb/ubuntu/jupyterhub?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 25.10jupyterhubpkg:deb/ubuntu/jupyterhub?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSjupyterhubpkg:deb/ubuntu/jupyterhub?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSjupyterhubpkg:deb/ubuntu/jupyterhub?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
JupyterHub is software that allows users to create a multi-user server for Jupyter notebooks. In versions 4.1.0 through 5.4.4, XSRF protection (updated in 4.1.0) inappropriately treated requests with Sec-Fetch-Mode: no-cors as same-origin requests, bypassing XSRF checks. The JSON API is not affected, only HTTP form endpoints, such as /hub/spawn and /hub/accept-share, meaning attackers could trigger server spawn (but not access the server) and if the attacker is a JupyterHub user permitted to share access to their server, cause a user to accept a share and have access to the attacker's server. This issue has been fixed in version 5.4.5. If developers are unable to immediately upgrade, they can temporarily mitigate this issue by dropping requests to JupyterHub with Sec-Fetch-Mode: no-cors if they are using a reverse proxy.
References
- ubuntu.com/security/CVE-2026-40864 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-40864 (opens in a new tab)
- github.com/jupyterhub/jupyterhub/security/advisories/GHSA-m68r-v472-jgq9 (opens in a new tab)
- github.com/jupyterhub/jupyterhub/commit/9c5ec277d3cda5a59de2d8c8117efa77bd941127 (opens in a new tab)