CVEfocus › CVE database › CVE-2026-40934

CVE-2026-40934jupyter-server authentication cookies remain valid after password reset due to static…

CVSS 7.6 HighEPSS 0.3% (higher than 27% of CVEs)Published 2026-05-05Updated 2026-05-07Assigner: GitHub_M

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.

CWE-613

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

3Fixed
3Fix pending
3Under investigation
1Will not fix

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10jupyter-serverFix pendingUBUNTU-CVE-2026-40934
Ubuntu 26.04jupyter-serverUnder investigationUBUNTU-CVE-2026-40934
Ubuntu 25.10jupyter-serverWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-40934
Ubuntu 24.04jupyter-serverUnder investigationUBUNTU-CVE-2026-40934
Ubuntu 22.04jupyter-serverUnder investigationUBUNTU-CVE-2026-40934
Debian 14jupyter-serverFixed2.20.0-1DEBIAN-CVE-2026-40934
Debian 13jupyter-serverFix pendingDEBIAN-CVE-2026-40934
Debian 12jupyter-serverFix pendingDEBIAN-CVE-2026-40934
Alpine Linux 3.24jupyter-serverFixed2.18.2-r0ALPINE-CVE-2026-40934
PyPI libraryjupyter-serverFixed2.18.0PYSEC-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.

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.