# CVE-2021-41247: incomplete logout in JupyterHub

- Severity: Low 3.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.80%, higher than 57% of CVEs (2026-12-01)
- Published: 2021-11-04T17:15:11.000Z
- Modified: 2026-09-08T08:48:23.860Z
- Also known as: GHSA-cw7p-q79f-m2v7, BIT-JUPYTERHUB-2021-41247, PYSEC-2021-386
- Weaknesses: CWE-613
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- jupyterhub jupyterhub: >= 1.0.0, < 1.5.0 -  jupyterhub (pip); < 1.2.0 -  jupyterhub (helm)
- jupyterhub (PyPI): from 1.0.0 before 1.5.0; before 5ac9e7f73a6e1020ffddc40321fc53336829fe27
- jupyter jupyterhub: from 1.0.0 before 1.5.0
- jupyterhub (Bitnami): from 1.0.0 before 1.5.0

## Every score

- GitHub_M: CVSS:3.1 3.5 Low `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N`
- GitHub: CVSS:3.1 3.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:N/SA:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:P/A:N`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/jupyterhub/jupyterhub/security/advisories/GHSA-cw7p-q79f-m2v7> (advisory, third-party-advisory, web)
- <https://github.com/jupyterhub/jupyterhub/commit/5ac9e7f73a6e1020ffddc40321fc53336829fe27> (advisory, fix, patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-41247> (advisory, web)
- <https://github.com/jupyterhub/jupyterhub> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/jupyterhub/PYSEC-2021-386.yaml> (web)

## Sources

- CVE List: [CVE-2021-41247](https://www.cve.org/CVERecord?id=CVE-2021-41247), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-cw7p-q79f-m2v7](https://github.com/advisories/GHSA-cw7p-q79f-m2v7), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2021-41247](https://nvd.nist.gov/vuln/detail/CVE-2021-41247), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2021-386](https://osv.dev/vulnerability/PYSEC-2021-386), CC-BY-4.0, modified 2023-12-06
- Bitnami Vulnerability Database: [BIT-JUPYTERHUB-2021-41247](https://osv.dev/vulnerability/BIT-JUPYTERHUB-2021-41247), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2021-41247 · Whole record: https://cve.day/CVE-2021-41247.json · Rebuilt by cve.day 2026-11-25T22:58:05.357Z
