# CVE-2021-41247: incomplete logout in JupyterHub

- Priority: **Routine**
- Reason: Not severe (CVSS 3.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2021-11-04 · Modified: 2024-08-04
- Aliases: GHSA-cw7p-q79f-m2v7, BIT-jupyterhub-2021-41247, PYSEC-2021-386, DEBIAN-CVE-2021-41247
- Record: https://cvemate.com/vulnerability/CVE-2021-41247 · JSON: https://cvemate.com/vulnerability/CVE-2021-41247/json

## Description

```text
JupyterHub is an open source multi-user server for Jupyter notebooks. In affected versions users who have multiple JupyterLab tabs open in the same browser session, may see incomplete logout from the single-user server, as fresh credentials (for the single-user server only, not the Hub) reinstated after logout, if another active JupyterLab session is open while the logout takes place. Upgrade to JupyterHub 1.5. For distributed deployments, it is jupyterhub in the _user_ environment that needs patching. There are no patches necessary in the Hub environment. The only workaround is to make sure that only one JupyterLab tab is open when you log out.
```

## Signals

- CVSS: 7.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- EPSS: 0.804%, percentile 58.069%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian jupyterhub (Debian): \< 2.0.0+ds1-1
- jupyter jupyterhub: ≥ 1.0.0, \< 1.5.0
- jupyterhub jupyterhub: ≥ 1.0.0, \< 1.5.0 - jupyterhub (pip) (No fix recorded) \| \< 1.2.0 - jupyterhub (helm)
- PyPI jupyterhub (PyPI): \< 5ac9e7f73a6e1020ffddc40321fc53336829fe27 \| ≥ 1.0.0, \< 1.5.0

## References

- <https://github.com/jupyterhub/jupyterhub/security/advisories/GHSA-cw7p-q79f-m2v7>
- <https://github.com/jupyterhub/jupyterhub/commit/5ac9e7f73a6e1020ffddc40321fc53336829fe27>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-41247>
- <https://github.com/jupyterhub/jupyterhub>
- <https://github.com/pypa/advisory-database/tree/main/vulns/jupyterhub/PYSEC-2021-386.yaml>
- <https://security-tracker.debian.org/tracker/CVE-2021-41247>

---

Data as of 2026-12-05T09:39:06.024Z. 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
