Security mailing lists by PureSourceCode

CVE-2026-40864

MEDIUM 4.3CVSS 3.1

JupyterHub has cross-origin form POSTs bypass XSRF (CWE-352)

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.

Published
22 May 2026
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-352
Also known as
BIT-jupyterhub-2026-40864GHSA-m68r-v472-jgq9PYSEC-2026-2189
Sources
NVDJSONOSV GHSA-m68r-v472-jgq9JSONOSV PYSEC-2026-2189JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 5.4 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
OSV GitHub CVSS 3.1 MEDIUM 5.4 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 4.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
OSV PyPA CVSS 3.1 MEDIUM 4.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD jupyter jupyterhub
cpe:2.3:a:jupyter:jupyterhub:*:*:*:*:*:*:*:*
>= 4.1.0, < 5.4.5 5.4.5
OSV PyPI jupyterhub >= 4.1.0, < 5.4.5 5.4.5

References

History

  • 25 Nov 2026 21:02 UTC · NVD: first stored (published 22 May 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 22 May 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 5 May 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.