5.4

CVE-2026-40864: JupyterHub: Cross-origin form POSTs bypass XSRF

Analyzed
AliasesGHSA-m68r-v472-jgq9BIT-jupyterhub-2026-40864PYSEC-2026-2189
Published 22-05-2026Last modified 26-05-2026

Vulnerability summary

CVE-2026-40864 is a medium (CVSS 5.4) Cross-Site Request Forgery vulnerability in jupyter jupyterhub. EPSS estimates a 0.16% chance of exploitation in the next 30 days, higher than 5.2% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.4, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.4/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.16%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 0 · Related 1

Timeline

  1. 22-05-2026
    PublishedVulnerability first disclosed.
  2. 26-05-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

7 scores · 7 sources · 1 version

EPSS trend

Probability

0.16%

Chance of exploitation in the next 30 days

Percentile

5%

Versus all other CVEs

30-day change

Increase +0.01 pp

From 0.15% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard4 products
  • py3.10-jupyterhub< 5.4.6-r0
  • py3.11-jupyterhub< 5.4.5-r0 | < 5.4.6-r0
  • py3.12-jupyterhub< 5.4.6-r0
  • py3.13-jupyterhub< 5.4.6-r0
Wolfi4 products
  • py3.10-jupyterhub< 5.4.6-r0
  • py3.11-jupyterhub< 5.4.5-r0 | < 5.4.6-r0
  • py3.12-jupyterhub< 5.4.6-r0
  • py3.13-jupyterhub< 5.4.6-r0
Debian1 product
  • jupyterhubAll versions (No fix recorded)
Jupyter1 product
Jupyterhub1 product
PyPI1 product
  • jupyterhub≥ 4.1.0, < 5.4.5
Ubuntu1 product
  • jupyterhubAll versions (No fix recorded)

7 vendors · 13 products

References

8 links