CVE-2021-41194Jupyterhub First Use Authenticator
Critical 9.8 No auth needed
Follow: this CVE · Jupyterhub · Jupyterhub First Use Authenticator We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 1.4% probability of exploitation in 30 days · percentile 72
- Auth required
- No
- Published
- Oct 28, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-284
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
FirstUseAuthenticator is a JupyterHub authenticator that helps new users set their password on their first login to JupyterHub. When JupyterHub is used with FirstUseAuthenticator, a vulnerability in versions prior to 1.0.0 allows unauthorized access to any user's account if `create_users=True` and the username is known or guessed. One may upgrade to version 1.0.0 or apply a patch manually to mitigate the vulnerability. For those who cannot upgrade, there is no complete workaround, but a partial mitigation exists. One can disable user creation with `c.FirstUseAuthenticator.create_users = False`, which will only allow login with fully normalized usernames for already existing users prior to jupyterhub-firstuserauthenticator 1.0.0. If any users have never logged in with their normalized username (i.e. lowercase), they will still be vulnerable until a patch or upgrade occurs.
What to do
- Apply the vendor's security update for First Use Authenticator.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | jupyterhub-firstuseauthenticator |
< 1.0.0 |
1.0.0 |
pip install "jupyterhub-firstuseauthenticator>=1.0.0" |
| PyPI | jupyterhub-firstuseauthenticator |
< 1.0.0 |
1.0.0 |
pip install "jupyterhub-firstuseauthenticator>=1.0.0" |
Per OSV / GitHub Advisories (GHSA-5xvc-vgmp-jgc3, PYSEC-2021-384). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| jupyterhub | first_use_authenticator | < 1.0.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Third Party Advisory