# CVE-2026-40934: jupyter-server authentication cookies remain valid after password reset due to static cookie secret

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability: affected before 2.18.0 (CNA); fix release not confirmed
- Status: published
- Published: 2026-05-05 · Modified: 2026-05-07
- Aliases: GHSA-5mrq-x3x5-8v8f, PYSEC-2026-69, UBUNTU-CVE-2026-40934, DEBIAN-CVE-2026-40934, CGA-2c24-vvf4-vm79, CGA-5pq6-cxc6-vf8f, CGA-6qcj-j3c9-34r9, CGA-hpq6-x2q5-w49q, ALPINE-CVE-2026-40934
- Record: https://cvemate.com/vulnerability/CVE-2026-40934 · JSON: https://cvemate.com/vulnerability/CVE-2026-40934/json

## 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.
```

## Signals

- CVSS: 7.6 high (v4.0, CVE.org) 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
- EPSS: 0.338%, percentile 29.191%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- alpine jupyter-server (Alpine Linux): \< 2.18.2-r0
- chainguard datahub-ingestion (Chainguard): \< 1.5.0.4-r0
- chainguard datahub-ingestion-fips (Chainguard): \< 1.5.0.1-r2
- debian jupyter-server (Debian): All versions (No fix recorded) \| \< 2.20.0-1
- ubuntu jupyter-server (Ubuntu): All versions (No fix recorded)
- jupyter-server jupyter\_server: \< 2.18.0
- jupyter jupyter\_server: \< 2.18.0
- PyPI jupyter-server (PyPI): \< 2.18.0

## References

- <https://github.com/jupyter-server/jupyter_server/security/advisories/GHSA-5mrq-x3x5-8v8f>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-40934>
- <https://github.com/jupyter-server/jupyter_server>
- <https://github.com/pypa/advisory-database/tree/main/vulns/jupyter-server/PYSEC-2026-69.yaml>
- <https://ubuntu.com/security/CVE-2026-40934>
- <https://www.cve.org/CVERecord?id=CVE-2026-40934>
- <https://security-tracker.debian.org/tracker/CVE-2026-40934>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40934.json>
- <https://security.alpinelinux.org/vuln/CVE-2026-40934>

---

Data as of 2026-12-05T09:21:34.448Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
