ADVISORIES

Vulnerability

CVE-2026-40934

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.

15 advisories report this vulnerability, across 8 ecosystems.

Advisories

  • ALPINE-CVE-2026-40934

    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…

    CVE-2026-40934 Alpine Updated 3 November 2026
  • ALPINE-EDGE-CVE-2026-40934
    CVE-2026-40934 Alpine Updated 18 November 2026
  • CGA-2c24-vvf4-vm79
    CVE-2026-40934 Chainguard Updated 5 November 2026
  • CGA-5pq6-cxc6-vf8f
    CVE-2026-40934 Chainguard Updated 5 November 2026
  • CGA-6qcj-j3c9-34r9
    CVE-2026-40934 Chainguard Updated 5 November 2026
  • CGA-hpq6-x2q5-w49q
    CVE-2026-40934 Chainguard Updated 5 November 2026
  • DEBIAN-CVE-2026-40934

    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…

    CVE-2026-40934 Debian Updated 1 October 2026
  • FEDORA-2026-dd1d19e58b

    python-jupyter-server-2.20.0-1.fc44

    Important CVE-2026-35397CVE-2026-40934CVE-2026-6657 Fedora Updated 5 July 2026
  • GHSA-5mrq-x3x5-8v8f

    Jupyter Server's Authentication Cookies Remain Valid After Password Reset and Server Restart

    High CVE-2026-40934 PyPI Updated 10 September 2026
  • OESA-2026-4080

    python-jupyter-server security update

    High CVE-2025-61669CVE-2026-35397CVE-2026-40110CVE-2026-40934 openEuler Updated 25 September 2026
  • OESA-2026-4164

    python-jupyter-server security update

    High CVE-2025-61669CVE-2026-35397CVE-2026-40110CVE-2026-40934 openEuler Updated 1 October 2026
  • OESA-2026-4165

    python-jupyter-server security update

    High CVE-2025-61669CVE-2026-35397CVE-2026-40110CVE-2026-40934 openEuler Updated 1 October 2026
  • PYSEC-2026-69

    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…

    CVE-2026-40934 PyPI Updated 20 May 2026
  • UBUNTU-CVE-2026-40934

    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…

    CVE-2026-40934 Ubuntu Updated 17 October 2026
  • openSUSE-SU-2026:10710-1

    python311-jupyter-server-2.18.1-1.1 on GA media

    CVE-2025-61669CVE-2026-35397CVE-2026-40110CVE-2026-40934 openSUSE Updated 7 May 2026

References