Skip to content

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

MediumCVSS 4.3 EPSS 0.15%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
UbuntuDebian

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.

Upgrade path

9 packages: 2 fixed, 6 with no fix yet.

PackageAffectedFixed inStatus
debian/jupyterhub(Debian 13) = 5.2.1+ds1-4; = 5.2.1+ds1-5; All versions No fix listed No fix yet
debian/jupyterhub(Debian 14) = 5.2.1+ds1-4; = 5.2.1+ds1-5; All versions No fix listed No fix yet
ubuntu/jupyterhub(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/jupyterhub(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/jupyterhub(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/jupyterhub(Ubuntu 26.10) All versions No fix listed No fix yet
jupyterhub >= 4.1.0, < 5.4.5 5.4.5 Fixed
pypi jupyterhub(PyPI) = 4.1.0; = 4.1.1; = 4.1.2; = 4.1.3 +17 more 5.4.5 Fixed
jupyterhub = >= 4.1.0, < 5.4.5 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pypi jupyterhub(PyPI) >= 4.1.0, < 5.4.5 5.4.5
pypi jupyterhub(PyPI) = 4.1.0 No fix listed
pypi jupyterhub(PyPI) = 4.1.1 No fix listed
pypi jupyterhub(PyPI) = 4.1.2 No fix listed
pypi jupyterhub(PyPI) = 4.1.3 No fix listed
pypi jupyterhub(PyPI) = 4.1.4 No fix listed
pypi jupyterhub(PyPI) = 4.1.5 No fix listed
pypi jupyterhub(PyPI) = 4.1.6 No fix listed
pypi jupyterhub(PyPI) = 5.0.0 No fix listed
pypi jupyterhub(PyPI) = 5.0.0b1 No fix listed
pypi jupyterhub(PyPI) = 5.0.0b2 No fix listed
pypi jupyterhub(PyPI) = 5.1.0 No fix listed
pypi jupyterhub(PyPI) = 5.2.0 No fix listed
pypi jupyterhub(PyPI) = 5.2.1 No fix listed
pypi jupyterhub(PyPI) = 5.3.0 No fix listed
pypi jupyterhub(PyPI) = 5.3.0rc0 No fix listed
pypi jupyterhub(PyPI) = 5.4.0 No fix listed
pypi jupyterhub(PyPI) = 5.4.1 No fix listed
pypi jupyterhub(PyPI) = 5.4.2 No fix listed
pypi jupyterhub(PyPI) = 5.4.3 No fix listed
pypi jupyterhub(PyPI) = 5.4.4 No fix listed
jupyterhub = >= 4.1.0, < 5.4.5 No fix listed
debian/jupyterhub(Debian:13) All versions No fix listed
debian/jupyterhub(Debian:13) = 5.2.1+ds1-4 No fix listed
debian/jupyterhub(Debian:13) = 5.2.1+ds1-5 No fix listed
Show 8 more
ProductAffected versionsFixed in
debian/jupyterhub(Debian:14) All versions No fix listed
debian/jupyterhub(Debian:14) = 5.2.1+ds1-4 No fix listed
debian/jupyterhub(Debian:14) = 5.2.1+ds1-5 No fix listed
ubuntu/jupyterhub(Ubuntu:22.04) All versions No fix listed
ubuntu/jupyterhub(Ubuntu:24.04) All versions No fix listed
ubuntu/jupyterhub(Ubuntu:26.04) All versions No fix listed
ubuntu/jupyterhub(Ubuntu:26.10) All versions No fix listed
jupyterhub >= 4.1.0, < 5.4.5 5.4.5

References