CVE-2026-40934jupyter-server authentication cookies remain valid after password reset due to static…
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.
What to do
Fixed builds are available from Alpine, Debian, PyPI: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | jupyter-server | Fix pending | UBUNTU-CVE-2026-40934 | |
| Ubuntu 26.04 | jupyter-server | Under investigation | UBUNTU-CVE-2026-40934 | |
| Ubuntu 25.10 | jupyter-server | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-40934 | |
| Ubuntu 24.04 | jupyter-server | Under investigation | UBUNTU-CVE-2026-40934 | |
| Ubuntu 22.04 | jupyter-server | Under investigation | UBUNTU-CVE-2026-40934 | |
| Debian 14 | jupyter-server | Fixed | 2.20.0-1 | DEBIAN-CVE-2026-40934 |
| Debian 13 | jupyter-server | Fix pending | DEBIAN-CVE-2026-40934 | |
| Debian 12 | jupyter-server | Fix pending | DEBIAN-CVE-2026-40934 | |
| Alpine Linux 3.24 | jupyter-server | Fixed | 2.18.2-r0 | ALPINE-CVE-2026-40934 |
| PyPI library | jupyter-server | Fixed | 2.18.0 | PYSEC-2026-69 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- jupyter-server jupyter_server: affected: < 2.18.0
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.