CVE-2026-40934
Description
Jupyter Server is the backend for Jupyter web applications. In versions 2.17.0 and earlier, the secret used to sign authentication cookies is persisted to a static file at ~/.local/share/jupyter/runtime/jupyter_cookie_secret and is never rotated when a user changes their password. After a password reset and server restart, any previously issued authentication cookie remains cryptographically valid because the signing key has not changed. An attacker who has captured a session cookie through any means retains full authenticated access to the server regardless of subsequent password changes. This affects deployments using password-based authentication, particularly shared or public-facing servers where credential rotation is expected to revoke existing sessions. This issue has been fixed in version 2.18.0.
Weakness
CISA SSVC decision points
| Exploitation | none |
|---|---|
| Automatable | no |
| Technical impact | total |
| Scored | 2026-05-07 |
Timeline
- 2026-05-05Published by the CNA21:31 UTC
- 2026-05-05GitHub advisory published (GHSA-5mrq-x3x5-8v8f)same day
- 2026-05-07CISA SSVC decision recorded2 days after publication
Exploit and advisory records
GitHub advisory GHSA-5mrq-x3x5-8v8f, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| PyPI jupyter-server | before 2.18.0 | 2.18.0 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| jupyter jupyter_server | before 2.18.0fixed in 2.18.0 | 2.18.0 |
References
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-40934'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-40934'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-40934'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-40934'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).