CVE-2018-7206: JupyterHub OAuthenticator GitLab Group Whitelisting Bypass

oauthenticator Updated 02 Oct 2025

Summary

13/05/2022
Yes i
High
8.8

CVE-2018-7206: JupyterHub OAuthenticator elevation of privilege. Affects oauthenticator across 2 version ranges.

>= 0.6, < 0.6.2 >= 0.7, < 0.7.3

Fixed in 0.6.2 or 0.7.3, depending on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

JupyterHub OAuthenticator is an authentication module for JupyterHub, a multi-user server for Jupyter notebooks. It provides a way to authenticate users using various external authentication providers, including GitLab. OAuthenticator allows JupyterHub to integrate with GitLab for user authentication and access control. However, a vulnerability was discovered in versions 0.6.x and 0.7.x of OAuthenticator that affects the GitLab group whitelisting feature.

Vulnerability Detail

The vulnerability in JupyterHub OAuthenticator allows users who are not members of the whitelisted groups to create accounts on the Hub. Although these unauthorized users cannot access other users' accounts, they can create their own accounts linked to their GitLab account. This bypasses the intended access control mechanism provided by the group whitelisting feature. It is important to note that this vulnerability only affects JupyterHub instances using GitLab group whitelisting for access control. Other authentication methods and versions of OAuthenticator are not affected.

How To Fix

Latest published version: 17.4.0 as of 22 Oct 2026

pip install --upgrade "oauthenticator==17.4.0"

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • >= 0.6, < 0.6.2 0.6.2
    pip install --upgrade "oauthenticator==0.6.2"
  • >= 0.7, < 0.7.3 0.7.3
    pip install --upgrade "oauthenticator==0.7.3"

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability. Users are advised to upgrade to the fixed versions of OAuthenticator as soon as possible.

Conclusion

The vulnerability in JupyterHub OAuthenticator allows unauthorized users to create accounts on the Hub by bypassing the GitLab group whitelisting feature. To mitigate this issue, users should upgrade to fixed versions of OAuthenticator. For further support on vulnerability remediation, contact DevNack.com.

See every vulnerability recorded for oauthenticator →

Share this vulnerability

FAQ

Versions 0.6.x and 0.7.x of JupyterHub OAuthenticator are affected by this vulnerability.

The vulnerability allows unauthorized users to create accounts on the JupyterHub instance, bypassing the intended access control provided by GitLab group whitelisting.

No, unauthorized users cannot access other users' accounts. They can only create their own accounts linked to their GitLab account.

No, this vulnerability only affects JupyterHub instances using GitLab group whitelisting for access control. Other authentication methods are not affected.

To fix this vulnerability, upgrade to versions 0.6.2 or 0.7.3 of JupyterHub OAuthenticator.

Related vulnerabilities

Recent vulnerabilities recorded for oauthenticator.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Latest published version: 17.4.0 as of 22 Oct 2026

pip install --upgrade "oauthenticator==17.4.0"

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • >= 0.6, < 0.6.2 0.6.2
    pip install --upgrade "oauthenticator==0.6.2"
  • >= 0.7, < 0.7.3 0.7.3
    pip install --upgrade "oauthenticator==0.7.3"

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback