Skip to main content
Public proof of conceptFix available

CVE-2026-40864

A public proof of concept exists; no exploitation attested.

  • Published2026-05-22
  • Fixed in5.4.5
  • WeaknessCWE-352

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2026-05-2221:16CVE publishedNVD

Versions per branch

NVD · OSV
Jupyter jupyterhub
BranchAffectedFixed in
5.4≥ 4.1.0, < 5.4.55.4.5

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • jupyterhub
    Affected
    • = >= 4.1.0, < 5.4.5no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2026-05-22

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • jupyterhubUbuntu:26.10all versions · no fixed version listed
  • jupyterhubUbuntu:26.04:LTSall versions · no fixed version listed
  • jupyterhubUbuntu:25.10all versions · no fixed version listed
  • jupyterhubUbuntu:24.04:LTSall versions · no fixed version listed
  • jupyterhubUbuntu:22.04:LTSall versions · no fixed version listed
  • jupyterhubDebian:14all versions · no fixed version listed
  • jupyterhubDebian:13all versions · no fixed version listed
  • py3.10-jupyterhubWolfiall versions · fixed in 5.4.6-r0and 3 other packages

3 more package ranges on OSV.dev

Full record on NVD

Fix

  1. Update Jupyter jupyterhub to 5.4.5

Advisories and patches

Detection

read 2026-11-01 01:02 UTC
Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
Published
2026-05-22
Last modified
2026-07-23
NVD status
Analyzed
GitHub advisory
GHSA-m68r-v472-jgq9

Frequently asked questions

What is CVE-2026-40864?

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.

Is CVE-2026-40864 actively exploited?

Active exploitation of CVE-2026-40864 has not been confirmed. Its EPSS score was 0.2% on 2026-11-25, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2026-40864?

CVE-2026-40864 has a CVSS v3 base score of 4.3 (Medium severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N.

Running jupyterhub? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record