Skip to content
JupyterGHSA-cw7p-q79f-m2v7

incomplete JupyterHub logout with simultaneous JupyterLab sessions

Medium3.5CVE-2021-41247 · Published Nov 8, 2021 · updated Jul 8, 2026

GitHub advisory

Affected versions

PackageAffectedFixed in
jupyterhub
PyPI
>= 1.0.0, < 1.5.01.5.0
Details and references

### Impact Users of JupyterLab with JupyterHub 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. ### Patches 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. ### Workarounds The only workaround is to make sure that only one JupyterLab tab is open when you log out.

CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N
Severity from
GitHub (reviewed advisory)
Weakness
CWE-613
Also known as
BIT-jupyterhub-2021-41247, CVE-2021-41247, PYSEC-2021-386

More Jupyter advisories

All Jupyter
DateAdvisory
Aug 232021Special Element Injection in notebook
CVE-2021-32798High10.0fixed in 5.7.11, 6.4.1
Aug 232021JupyterLab: XSS due to lack of sanitization of the action attribute of an html <form>
CVE-2021-32797Medium7.4fixed in 1.2.21, 2.2.10, 2.3.2, 3.0.17
Mar 252022Insertion of Sensitive Information into Log File in Jupyter notebook
CVE-2022-24757High7.5fixed in 1.15.4
Apr 52022Sensitive Auth & Cookie data stored in Jupyter server logs
CVE-2022-24758High7.5fixed in 6.4.10
May 142022Improper Neutralization of Input During Web Page Generation in Jupyter Notebook
CVE-2019-9644Medium5.4fixed in 5.7.6
May 142022Improper Neutralization of Input During Web Page Generation in Jupyter Notebook
CVE-2015-6938Medium6.1fixed in 4.0.5

Critical advisories by email

Wednesdays: the week’s critical and high advisories in the AI and data stack, with the fixed versions. Only in weeks that have some.

Double opt-in. Unsubscribe any time.