Cross-Site Request Forgery Vulnerability in JupyterHub by Project Jupyter
CVE-2026-40864

5.4MEDIUM

Key Information:

Vendor

Jupyterhub

Vendor
CVE Published:
22 May 2026

What is CVE-2026-40864?

A Cross-Site Request Forgery vulnerability exists in JupyterHub versions 4.1.0 to 5.4.4, where the implementation of XSRF protection fails to properly validate requests flagged with Sec-Fetch-Mode: no-cors. This allows attackers to bypass XSRF safeguards on HTTP form endpoints, notably /hub/spawn and /hub/accept-share. Although this vulnerability does not provide direct access to the server, it could enable an attacker with shared access to hijack user sessions, invoking unwanted server spawning actions. The issue is resolved in JupyterHub version 5.4.5, while temporary mitigations can be applied via reverse proxy configurations.

Affected Version(s)

jupyterhub >= 4.1.0, < 5.4.5

References

CVSS V3.1

Score:
5.4
Severity:
MEDIUM
Confidentiality:
None
Integrity:
Low
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
Required
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.