GHSA-m68r-v472-jgq9 · Severity: medium · Ecosystem: pip — JupyterHub has cross-origin form POSTs bypass XSRF (CWE-352)
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.
Conclusion & alert: CVE-2026-40864 is rated Low Risk (22.8/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.01%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-05-23 | — | 0.01% | — |
Full EPSS history (1 record total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 5.4 | 3.1 | MEDIUM |
|
2.8 | 2.5 | [email protected] |
| 4.3 | 3.1 | MEDIUM |
|
2.8 | 1.4 | [email protected] |
GHSA-m68r-v472-jgq9 · Severity: medium · Ecosystem: pip — JupyterHub has cross-origin form POSTs bypass XSRF (CWE-352)
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2026-40864 not yet assigned priority: Debian including 1 source packages (jupyterhub), 4 status rows across 4 suites (bookworm, forky, sid, trixie): open 4. | https://security-tracker.debian.org/tracker/CVE-2026-40864 |
ubuntu
|
medium | CVE-2026-40864 medium priority: Ubuntu including 1 source packages (jupyterhub), 5 status rows across 5 suites (jammy, noble, questing, resolute, upstream): needs-triage 5. | https://ubuntu.com/security/CVE-2026-40864 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| jupyter | jupyterhub | >= 4.1.0, < 5.4.5 | cpe:2.3:a:jupyter:jupyterhub:*:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://github.com/jupyterhub/jupyterhub/commit/9c5ec277d3cda5a59de2d8c8117efa77bd941127 | Patch |
| https://github.com/jupyterhub/jupyterhub/security/advisories/GHSA-m68r-v472-jgq9 | Mitigation Vendor Advisory |