CVE-2026-40934: Jupyter Server - Authentication Bypass
- Cve: CVE-2026-40934
- Name: Jupyter Server - Authentication Bypass
- 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.
- Impact: Attackers with captured session cookies can maintain full authenticated access despite password changes, compromising server security.
- Remediation: Upgrade to version 2.18.0 or later.
- Vulnerability type: broken_authentication
- Vulnerability impact: broken_authentication
- Requirements: Attacker needs a previously captured valid session cookie
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.8
- Cvss vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
- Epss score: 0.00332
- Epss percentile: 0.26946
- Assignee: [email protected]
- Published at: 2026-05-05T22:16:00Z
- Age in days: 203
- Modified at: 2026-07-25T11:10:00Z
- Patch available: yes
- Public exploits total: 1
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-40934
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirement type, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-613 | DEPRECATED: Insufficient Session Expiration |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/jupyter-server/jupyter_server/security/advisories/GHSA-5mrq-x3x5-8v8f | nvd | 2026-05-05 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/jupyter-server/jupyter_server/security/advisories/GHSA-5mrq-x3x5-8v8f | nvd | Exploit, Mitigation, Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| jupyter:jupyter_server | < 2.18.0 | no | nvd | /v1/products/jupyter/jupyter_server |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| jupyter-server/jupyter_server | package, security_advisory | yes | /v1/repositories/jupyter-server/jupyter_server |
Index
- Repositories: 199
- Repositories high signal: 114
- Packages: 1
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2026-05-05
- Remote: yes
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts