{"id":"CVE-2026-40934","published":"2026-05-05T21:31:42Z","modified":"2026-05-07T12:48:21Z","title":"jupyter-server authentication cookies remain valid after password reset due to static cookie secret","vendor":"jupyter-server","product":"jupyter_server","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.6,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00332,"percentile":0.27134,"provenance":"source"},"cwes":[{"id":"CWE-613","name":"DEPRECATED: Insufficient Session Expiration"}],"references":[{"url":"https://github.com/jupyter-server/jupyter_server/security/advisories/GHSA-5mrq-x3x5-8v8f","tags":["x_refsource_CONFIRM"]}],"priority":{"score":10.7,"factors":[{"name":"EPSS percentile","points":5.43},{"name":"CVSS severity","points":5.32}]},"vendorSlug":"jupyter-server","affectedVersions":[{"vendor":"jupyter-server","product":"jupyter_server","versions":["< 2.18.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-05-07T03:55:46.015938Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"jupyter-server","vulnerableRanges":["<2.18.0"],"patched":["2.18.0"],"from":["GHSA-5mrq-x3x5-8v8f","PYSEC-2026-69"],"provenance":"source"}],"summary":{"text":"The jupyter_server component of the jupyter-server backend for Jupyter web applications signs its authentication cookies with a secret that is saved to a static file and never rotated when a user changes their password, so previously issued cookies stay valid after a reset. An attacker who has already captured a session cookie through some other means, and who has low-privilege access to the server with password-based authentication enabled, can keep authenticated access to the server even after the password is changed, with no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:58:20Z"},"euvd":{"id":"EUVD-2026-27513","exploited":false,"provenance":"source"}}