Skip to main content
VulnerabilityPublished Updated

CVE-2026-40864: JupyterHub is software that allows users to create a multi-user server for Jupyter notebooks

Affects jupyterhubSource GCVE Database

0
Compare

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

CVSS 3.1 base score
5.4Medium
How severe the flaw is on the 0–10 CVSS scale.
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:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 22 May 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: evidence found.

    Public exploit code: GitHub proofs of concept

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
Ubuntu 26.10jupyterhubpkg:deb/ubuntu/jupyterhub?arch=source&distro=stonkingOther threatsAffected
  • =5.2.1+ds1-4
  • =5.2.1+ds1-5
Fixed in–
Ubuntu 26.04 LTSjupyterhubpkg:deb/ubuntu/jupyterhub?arch=source&distro=resoluteOther threatsAffected
  • =5.2.1+ds1-4
Fixed in–
Ubuntu 25.10jupyterhubpkg:deb/ubuntu/jupyterhub?arch=source&distro=questingOther threatsAffected
  • =5.2.1+ds1-2
  • =5.2.1+ds1-3
  • =5.2.1+ds1-4
Fixed in–
Ubuntu 24.04 LTSjupyterhubpkg:deb/ubuntu/jupyterhub?arch=source&distro=nobleOther threatsAffected
  • =3.0.0+ds1-1
Fixed in–
Ubuntu 22.04 LTSjupyterhubpkg:deb/ubuntu/jupyterhub?arch=source&distro=jammyOther threatsAffected
  • =2.0.0+ds1-1
  • =2.0.0+ds1-2
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

Community reviews

Loading reviews…