CVE-2021-41247
Python vulnerability analysis and mitigation

Overview

JupyterHub, an open source multi-user server for Jupyter notebooks, was affected by a security vulnerability (CVE-2021-41247) discovered in versions 1.0.0 through 1.4.2. The vulnerability was disclosed on November 4, 2021, and was patched in version 1.5.0. The issue affects users who have multiple JupyterLab tabs open in the same browser session (GitHub Advisory).

Technical details

The vulnerability occurs when users have multiple JupyterLab tabs open simultaneously in the same browser session. During logout, the process may be incomplete as fresh credentials for the single-user server (but not the Hub) can be reinstated if another active JupyterLab session is open during the logout process. The vulnerability has been assigned a severity rating of Moderate and is classified under CWE-613 (GitHub Advisory).

Impact

When exploited, this vulnerability results in an incomplete logout state where the user's credentials for the single-user server remain valid even after attempting to log out. This could potentially allow continued access to the single-user server resources when access should have been terminated. Importantly, the Hub credentials are not affected by this issue (GitHub Advisory).

Mitigation and workarounds

The primary mitigation is to upgrade to JupyterHub version 1.5.0 or later. For distributed deployments, the patch needs to be applied to jupyterhub in the user environment, with no patches necessary in the Hub environment. As a temporary workaround, users should ensure that only one JupyterLab tab is open when logging out (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-66hx-chf7-3332HIGH8.8
  • PythonPython
  • pyload-ng
NoNoApr 14, 2026
CVE-2026-40192HIGH8.7
  • PythonPython
  • pillow
NoYesApr 15, 2026
CVE-2026-40347MEDIUM5.3
  • PythonPython
  • python-multipart
NoYesApr 15, 2026
GHSA-jj6c-8h6c-hppxMEDIUM4.8
  • PythonPython
  • pypdf
NoYesApr 15, 2026
GHSA-fj52-5g4h-gmq8LOW2.9
  • PythonPython
  • pyload-ng
NoNoApr 14, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management