MediumVulnerability
CVE-2026-40864: JupyterHub XSRF protection bypass on HTTP form endpoints
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-40864
- Published
- Record updated
- Fixed in
- The source references a patch, a mitigation or a vendor advisory.
Summary
JupyterHub versions 4.1.0 through 5.4.4 treat requests carrying Sec-Fetch-Mode: no-cors as same-origin, which bypasses XSRF checks (CVE-2026-40864). The JSON API is unaffected, but HTTP form endpoints such as /hub/spawn and /hub/accept-share are exposed, letting an attacker trigger a server spawn or, if the attacker is a user permitted to share their server, make another user accept a share and gain access to the attacker's server.
Mitigation
Fixed in version 5.4.5. If an immediate upgrade is not possible, temporarily drop requests to JupyterHub that carry Sec-Fetch-Mode: no-cors when using a reverse proxy.
Related items
- MediumCVE-2026-143967: Wise Chat with AI unauthenticated stored cross-site scriptingSimilar attack, NVD/CVE Database
- MediumCVE-2026-135917: Apache Camel A2A component confused deputy via shared message headersSimilar attack, NVD/CVE Database
- MediumCVE-2026-107489: Improper Authentication vulnerability in Apache Camel A2A component. This issue affects Apache Camel: from 4.21.0…Similar attack, NVD/CVE Database
- MediumNSA urges immediate post-quantum shift after AI labs report cryptography breakthroughsSimilar attack, CSO Online
- LowPerplexity caught an AI attacker casing its cloudSimilar attack, CSO Online