CVE-2026-40864 is a cross-site request forgery protection bypass in JupyterHub versions 4.1.0 through 5.4.4. XSRF validation incorrectly treats requests carrying the Sec-Fetch-Mode: no-cors header as same-origin, allowing cross-site requests to bypass XSRF checks on HTTP form endpoints. The JSON API is not affected. Affected actions include form-based endpoints used to spawn servers and accept server shares.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
1 valid exploit after Mallory filtered fakes, detection scripts, and README-only repos.
This repository is a minimal proof-of-concept for CVE-2026-40864, an XSRF/CSRF bypass affecting JupyterHub 4.1.0 through versions before 5.4.5. The repo contains two files: a README describing the vulnerability, impact, affected endpoints, and usage steps; and a single exploit file, poc/csrf_spawn.html, which is the operational PoC. The exploit is not part of a larger framework. The PoC works by abusing JupyterHub's incorrect trust of the browser header state Sec-Fetch-Mode: no-cors. A cross-origin HTML form POST is treated by vulnerable JupyterHub as same-origin, so the XSRF check is skipped. The included HTML page auto-submits on load and sends a POST request to https://TARGET-JUPYTERHUB/hub/spawn with an empty _xsrf field. If opened by a browser session already authenticated to the target JupyterHub, it causes the victim's server to spawn without consent. The README also documents a variant targeting /hub/accept-share, which can force a victim to accept access to an attacker-controlled shared server. Repository structure is simple and purpose-built: README.md provides vulnerability context and operator instructions, while poc/csrf_spawn.html is the sole exploit artifact and likely entry point. There is no shell payload, persistence, or post-exploitation logic; this is a browser-based web exploit demonstrating unauthorized state-changing requests in an authenticated victim session.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
1 sources tracked across advisories and community write-ups. News coverage will land here when it surfaces.
No news coverage yet. Advisories and community discussion only.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.