# CVE-2021-41194: Improper Access Control in jupyterhub-firstuseauthenticator

- Severity: Critical 9.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/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): 1.37%, higher than 72% of CVEs (2026-12-01)
- Published: 2021-10-28T19:40:12.000Z
- Modified: 2026-07-08T06:28:40.246Z
- Also known as: GHSA-5xvc-vgmp-jgc3, PYSEC-2021-384
- Weaknesses: CWE-284
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- jupyterhub firstuseauthenticator: < 1.0.0
- jupyterhub-firstuseauthenticator (PyPI): before 1.0.0
- jupyterhub first_use_authenticator: before 1.0.0

## Every score

- GitHub_M: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:4.0 Critical `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`

## References

- <https://github.com/jupyterhub/firstuseauthenticator/security/advisories/GHSA-5xvc-vgmp-jgc3> (advisory, third-party-advisory, web)
- <https://github.com/jupyterhub/firstuseauthenticator/pull/38> (patch, third-party-advisory, web)
- <https://github.com/jupyterhub/firstuseauthenticator/pull/38.patch> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-41194> (advisory)
- <https://github.com/jupyterhub/firstuseauthenticator/pull/38/commits/32b21898fb2b53b1a2e36270de6854ad70e9e9bf> (web)
- <https://github.com/jupyterhub/firstuseauthenticator/pull/38/commits/9e200d974e0cb85d828a6afedb8ab90a37878f28> (web)
- <https://github.com/jupyterhub/firstuseauthenticator/commit/953418e2450dbc2d854e332350849533b0ebc7ba> (web)
- <https://github.com/jupyterhub/firstuseauthenticator> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/jupyterhub-firstuseauthenticator/PYSEC-2021-384.yaml> (web)

## Sources

- CVE List: [CVE-2021-41194](https://www.cve.org/CVERecord?id=CVE-2021-41194), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-5xvc-vgmp-jgc3](https://github.com/advisories/GHSA-5xvc-vgmp-jgc3), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2021-41194](https://nvd.nist.gov/vuln/detail/CVE-2021-41194), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2021-384](https://osv.dev/vulnerability/PYSEC-2021-384), CC-BY-4.0, modified 2023-11-08

---

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