CVE-2018-7206 JupyterHub OAuthenticator elevation of privilege
Attackers outside whitelisted GitLab groups can create unauthorized accounts on JupyterHub when group whitelisting is enabled.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2018-7206?
CVE-2018-7206 is a high-severity authentication bypass vulnerability in n/a, published on 18 Feb 2018. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
An issue was discovered in Project Jupyter JupyterHub OAuthenticator 0.6.x before 0.6.2 and 0.7.x before 0.7.3. When using JupyterHub with GitLab group whitelisting for access control, group membership was not checked correctly, allowing members not in the whitelisted groups to create accounts on the Hub. (Users were not allowed to access other users' accounts, but could create their own accounts on the Hub linked to their GitLab account. GitLab authentication not using gitlab_group_whitelist is unaffected. No other Authenticators are affected.)
Which versions are affected by CVE-2018-7206?
5 open source packages ship an affected version, including oauthenticator. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
oauthenticator PyPI | From 0.6 | 0.6.2, 0.7.3 |
oauthenticator PyPI | From 0.6 | 0.6.2 |
oauthenticator PyPI | From 0.6 | 0.6.2 |
oauthenticator PyPI | From 0.7 | 0.7.3 |
oauthenticator PyPI | From 0.7 | 0.7.3 |
Products include Jupyter Oauthenticator.
How do I fix CVE-2018-7206?
Upgrade oauthenticator to a fixed version for your release line: 0.6.2 or 0.7.3.
Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.
Is CVE-2018-7206 being exploited?
There is no known exploitation of CVE-2018-7206 in the wild and no public exploit code.
Other vulnerabilities in n/a
- CVE-2026-33175 OAuthenticator: Authentication Bypass in Auth0OAuthenticator via Unverified Email Claims
- CVE-2024-29033 GoogleOAuthenticator.hosted_domain incorrectly verifies membership of an Google organization/workspace
- CVE-2020-26250 Base class whitelist configuration ignored in OAuthenticator
- CVE-2022-31027 Authorization Bypass Through User-Controlled Key when using CILogonOAuthenticator in oauthenticator
Sources
Also known as GHSA-8x3m-m3x9-54fj, PYSEC-2018-68.