CVE catalog

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/runti

[CVE catalog]

Severity
High · CVSS 7.6
Published
Source
[NVD] · [CVE record]
EPSS
0.33% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianjupyter-serversid2.20.0-3fixed
Debianjupyter-serverforky2.20.0-3fixed
Debianjupyter-servertrixie2.15.0-1vulnerable
Debianjupyter-serverbookworm1.23.3-1vulnerable
Cpejupyter-serverNot reportedNot reportedvulnerable
Cpejupyter_serverNot reported2.18.0fixed
PyPIjupyter-serverNot reported2.18.0fixed
PyPIjupyter-serverNot reported2.18.0fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianjupyter-serversourcesid2.20.0-1not yet assignedNot reported[1136022]
Debianjupyter-serversourceforky2.20.0-1not yet assignedNot reported[1136022]
Debianjupyter-serversourcetrixie(unfixed)not yet assignedNot reported[1136022]
Debianjupyter-serversourcebookworm(unfixed)not yet assignedNot reported[1136022]
Cpejupyter_servercpeNot reported2.18.0Not reportedNot reportedNot reported
PyPIjupyter-serverPyPINot reported2.18.0Not reportedGHSA-5MRQ-X3X5-8V8FNot reported
PyPIjupyter-serverPyPINot reported2.18.0Not reportedPYSEC-2026-69Not reported

[Debian bug #1136022]

Notes

[trixie] jupyter-server: Minor issue [bookworm] jupyter-server: Minor issue; cookie_secret_file persistence present, revisit with next update

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [jupyter-server]Affected
    Details (2)
    • 1.23.3-1 · all · bookworm

      Affected

      nvd · jupyter-server · debian · bookworm; nvd · jupyter-server · debian · 12

    • 1.23.3-1 · all · bookworm

      Affected

      nvd · jupyter-server · debian · bookworm; nvd · jupyter-server · debian · 12

  • Source package: [jupyter-server]

    Details (2)
    • 1.23.3-1 · all · bookworm

      Affected

      nvd · jupyter-server · debian · bookworm; nvd · jupyter-server · debian · 12

    • 1.23.3-1 · all · bookworm

      Affected

      nvd · jupyter-server · debian · bookworm; nvd · jupyter-server · debian · 12

[Debian 13 (Trixie)]

  • [jupyter-server]Affected
    Details (2)
    • 2.15.0-1 · all · trixie

      Affected

      nvd · jupyter-server · debian · 13

    • 2.15.0-1 · all · trixie

      Affected

      nvd · jupyter-server · debian · 13

  • Source package: [jupyter-server]

    Details (2)
    • 2.15.0-1 · all · trixie

      Affected

      nvd · jupyter-server · debian · 13

    • 2.15.0-1 · all · trixie

      Affected

      nvd · jupyter-server · debian · 13

  • Source package: [jupyter-server]

    Details (2)
    • 2.15.0-1 · all · trixie

      Affected

      nvd · jupyter-server · debian · 13

    • 2.15.0-1 · all · trixie

      Affected

      nvd · jupyter-server · debian · 13

Observed:

References