Wiz Agents & Workflows are here

CVE-2021-41194
Python vulnerability analysis and mitigation

Overview

FirstUseAuthenticator is a JupyterHub authenticator that helps new users set their password on their first login to JupyterHub. A critical vulnerability (CVE-2021-41194) was discovered in versions prior to 1.0.0 that allows unauthorized access to any user's account if create_users=True and the username is known or guessed (GitHub Advisory). The vulnerability was disclosed on October 28, 2021.

Technical details

The vulnerability stems from a mismatch in username normalization between JupyterHub and FirstUseAuthenticator. While JupyterHub normalizes usernames to lowercase, FirstUseAuthenticator did not perform this normalization, allowing alternate capitalizations of usernames to gain unauthorized access to user accounts. This created parallel paths to user files where multiple capitalizations of the same username could access the account (GitHub PR).

Impact

When exploited, this vulnerability allows unauthorized users to access any existing user's account by using different capitalizations of the username, as long as the create_users configuration option is enabled and the target username is known or can be guessed. This could lead to unauthorized access to sensitive data and resources within affected JupyterHub instances (GitHub Advisory).

Mitigation and workarounds

The primary mitigation is to upgrade to FirstUseAuthenticator version 1.0.0 or later. For those who cannot upgrade immediately, a partial workaround exists by disabling user creation with c.FirstUseAuthenticator.create_users = False. However, this workaround only protects users who have previously logged in with their normalized username. Users who have never logged in with their normalized username remain vulnerable until a patch is applied or an upgrade is performed (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

CVE-2026-33641HIGH7.8
  • PythonPython
  • glances
NoNoMar 30, 2026
CVE-2026-34070HIGH7.5
  • PythonPython
  • langchain-core
NoYesMar 31, 2026
CVE-2026-34231MEDIUM6.1
  • PythonPython
  • slippers
NoYesMar 30, 2026
CVE-2026-34073LOW1.7
  • PythonPython
  • apache-beam-python-3.13-sdk
NoYesMar 31, 2026
GHSA-955r-262c-33jcCRITICALN/A
  • PythonPython
  • telnyx
NoNoMar 30, 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