# CVE-2018-7206: JupyterHub OAuthenticator elevation of privilege

Source: https://junglewise.ai/threats/cve-2018-7206-jupyterhub-oauthenticator-elevation-of-privilege  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2018-02-18  
License: CC BY 4.0 with a link back

CVE-2018-7206 · Severity: low · CVSS 3.1 · Published 2018-02-18

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.)

Technologies: [oauthenticator (PyPI)](https://junglewise.ai/threats/technologies/oauthenticator). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2018-7206 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2018-7206 being exploited in the wild.

**How severe is CVE-2018-7206?** Low severity, with a CVSS score of 3.1, published 18 February 2018.

**Which products and versions are affected?** oauthenticator (PyPI) ECOSYSTEM:introduced=0.6,fixed=0.6.2, GIT:introduced=0,fixed=1845c0e4b1bff3462c91c3108c85205acd3c75a2|ECOSYSTEM:introduced=0.6,fixed=0.6.2,introduced=0.7,fixed=0.7.3.

**Is there a fix for CVE-2018-7206?** Yes. oauthenticator (PyPI): upgrade to 0.6.2, 0.7.3 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2018-7206?** Check whether you run oauthenticator (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- oauthenticator (PyPI): upgrade to 0.6.2, 0.7.3 or later

  ```sh
  pip install "oauthenticator>=0.7.3"
  ```


## Affected products

- oauthenticator (PyPI) ECOSYSTEM:introduced=0.6,fixed=0.6.2, GIT:introduced=0,fixed=1845c0e4b1bff3462c91c3108c85205acd3c75a2|ECOSYSTEM:introduced=0.6,fixed=0.6.2,introduced=0.7,fixed=0.7.3

## Identifiers

- CVE-2018-7206
- GHSA-8x3m-m3x9-54fj
- PYSEC-2018-68

## Related threats

- [PYSEC-2026-1711 - Globus `identity_provider` restriction ignored when used with `allow_all` in JupyterHub 5.0](https://junglewise.ai/threats/cve-2024-37300-globus-identity-provider-restriction-ignored-when-used-with-allow)
- [JupyterHub OAuthenticator authentication bypass in Auth0OAuthenticator](https://junglewise.ai/threats/cve-2026-33175-jupyterhub-oauthenticator-authentication-bypass-in)
- [JupyterHub GoogleOAuthenticator improper authorization in hosted_domain check](https://junglewise.ai/threats/cve-2024-29033-jupyterhub-googleoauthenticator-improper-authorization-in-hosted)
- [Authorization Bypass Through User-Controlled Key when using CILogonOAuthenticator oauthenticator](https://junglewise.ai/threats/cve-2022-31027-authorization-bypass-through-user-controlled-key-when-using)
- [JupyterHub OAuthenticator whitelist configuration bypass](https://junglewise.ai/threats/cve-2020-26250-jupyterhub-oauthenticator-whitelist-configuration-bypass)
