jupyter-server authentication cookies remain valid after password reset due to static cookie secret
Published May 5, 2026
7.6
HIGHCVSS 4.0
EPSS 0.38%
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.
Affected products
-
Affected
- < 2.18.0
Default status is the baseline for the product. Each version can override it (patched versions can be marked unaffected).
| Vendor | Product | Default status | Versions |
|---|---|---|---|
| Jupyter-Server | Jupyter Server | unknown | Affected
|
- < 2.18.0
No data.
Migration Toolkit for Applications 8
mta/mta-solution-server-rhel9
Fix deferred
Red Hat OpenShift AI (RHOAI)
rhoai/odh-th06-cpu-torch210-py312-rhel9
Fix deferred
Red Hat OpenShift AI (RHOAI)
rhoai/odh-th06-cpu-torch291-py312-rhel9
Fix deferred
Red Hat OpenShift AI (RHOAI)
rhoai/odh-th06-cuda130-torch210-py312-rhel9
Fix deferred
Red Hat OpenShift AI (RHOAI)
rhoai/odh-th06-cuda130-torch291-py312-rhel9
Fix deferred
Red Hat OpenShift AI (RHOAI)
rhoai/odh-th06-rocm64-torch291-py312-rhel9
Fix deferred
Red Hat OpenShift AI (RHOAI)
rhoai/odh-workbench-jupyter-datascience-cpu-py312-rhel9
Fix deferred
Red Hat OpenShift AI (RHOAI)
rhoai/odh-workbench-jupyter-minimal-cpu-py312-rhel9
Fix deferred
Red Hat OpenShift AI (RHOAI)
rhoai/odh-workbench-jupyter-minimal-cuda-py312-rhel9
Fix deferred
Red Hat OpenShift AI (RHOAI)
rhoai/odh-workbench-jupyter-minimal-rocm-py312-rhel9
Fix deferred
Red Hat OpenShift AI (RHOAI)
rhoai/odh-workbench-jupyter-pytorch-cuda-py312-rhel9
Fix deferred
Red Hat OpenShift AI (RHOAI)
rhoai/odh-workbench-jupyter-pytorch-llmcompressor-cuda-py312-rhel9
Fix deferred
Red Hat OpenShift AI (RHOAI)
rhoai/odh-workbench-jupyter-pytorch-rocm-py312-rhel9
Fix deferred
Red Hat OpenShift AI (RHOAI)
rhoai/odh-workbench-jupyter-tensorflow-cuda-py312-rhel9
Fix deferred
Red Hat OpenShift AI (RHOAI)
rhoai/odh-workbench-jupyter-tensorflow-rocm-py312-rhel9
Fix deferred
Red Hat OpenShift AI (RHOAI)
rhoai/odh-workbench-jupyter-trustyai-cpu-py312-rhel9
Fix deferred
| Product | Package | State | Advisory |
|---|---|---|---|
| Migration Toolkit for Applications 8 | mta/mta-solution-server-rhel9 | Fix deferred | n/a |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-th06-cpu-torch210-py312-rhel9 | Fix deferred | n/a |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-th06-cpu-torch291-py312-rhel9 | Fix deferred | n/a |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-th06-cuda130-torch210-py312-rhel9 | Fix deferred | n/a |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-th06-cuda130-torch291-py312-rhel9 | Fix deferred | n/a |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-th06-rocm64-torch291-py312-rhel9 | Fix deferred | n/a |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-workbench-jupyter-datascience-cpu-py312-rhel9 | Fix deferred | n/a |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-workbench-jupyter-minimal-cpu-py312-rhel9 | Fix deferred | n/a |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-workbench-jupyter-minimal-cuda-py312-rhel9 | Fix deferred | n/a |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-workbench-jupyter-minimal-rocm-py312-rhel9 | Fix deferred | n/a |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-workbench-jupyter-pytorch-cuda-py312-rhel9 | Fix deferred | n/a |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-workbench-jupyter-pytorch-llmcompressor-cuda-py312-rhel9 | Fix deferred | n/a |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-workbench-jupyter-pytorch-rocm-py312-rhel9 | Fix deferred | n/a |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-workbench-jupyter-tensorflow-cuda-py312-rhel9 | Fix deferred | n/a |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-workbench-jupyter-tensorflow-rocm-py312-rhel9 | Fix deferred | n/a |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-workbench-jupyter-trustyai-cpu-py312-rhel9 | Fix deferred | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This Moderate flaw in Jupyter Server allows an attacker to retain authenticated access even after a password reset. In Red Hat deployments utilizing password-based authentication, a compromised session cookie remains valid because the signing secret is not rotated, undermining expected credential revocation. This impacts shared or public-facing servers where session invalidation is critical.
References (8)
- https://access.redhat.com/security/cve/CVE-2026-40934 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2466909 Issue Tracking
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-27513 Advisory
- https://github.com/advisories/GHSA-5mrq-x3x5-8v8f Advisory
- https://github.com/jupyter-server/jupyter_server/security/advisories/GHSA-5mrq-x3x5-8v8f x_refsource_CONFIRMExploitMitigationVendor Advisory
- https://github.com/pypa/advisory-database/tree/main/vulns/jupyter-server/PYSEC-2026-69.yaml
- https://nvd.nist.gov/vuln/detail/CVE-2026-40934
- https://www.cve.org/CVERecord?id=CVE-2026-40934
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2026-40934 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2466909 | Issue Tracking | |
| https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-27513 | Advisory | |
| https://github.com/advisories/GHSA-5mrq-x3x5-8v8f | Advisory | |
| https://github.com/jupyter-server/jupyter_server/security/advisories/GHSA-5mrq-x3x5-8v8f | x_refsource_CONFIRMExploitMitigationVendor Advisory | |
| https://github.com/pypa/advisory-database/tree/main/vulns/jupyter-server/PYSEC-2026-69.yaml | ||
| https://nvd.nist.gov/vuln/detail/CVE-2026-40934 | ||
| https://www.cve.org/CVERecord?id=CVE-2026-40934 |
Change history (0)
No recorded changes yet.
CVE.org / MITRE
CISA Vulnrichment
GitHub