PT-2026-37244 · Unknown · Jupyterhub
Romain-Deperne
·
Published
2026-05-05
·
Updated
2026-06-01
·
CVE-2026-40864
CVSS v3.1
5.4
Medium
| Vector | AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L |
Name of the Vulnerable Software and Affected Versions
JupyterHub versions 4.1.0 through 5.4.4
Description
XSRF protection inappropriately treated requests containing the
Sec-Fetch-Mode: no-cors header as same-origin requests, allowing the bypass of XSRF checks. This affects HTTP form endpoints, such as '/hub/spawn' and '/hub/accept-share', while the JSON API remains unaffected. An attacker could trigger a server spawn or, if permitted to share server access, force a user to accept a share and gain access to the attacker's server.Recommendations
Update to version 5.4.5.
As a temporary mitigation, if using a reverse proxy, drop requests to JupyterHub that contain the
Sec-Fetch-Mode: no-cors header.Fix
CSRF
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Jupyterhub