CVE-2022-31027 in Jupyter Oauthenticator
OAuthenticator is an OAuth token library for the JupyerHub login handler. CILogonOAuthenticator is provided by the OAuthenticator package, and lets users log in to a JupyterHub via CILogon. This is primarily used to restrict a JupyterHub only to users of a given institute. The allowed_idps configuration trait of CIL...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, no integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Jupyter | Oauthenticator | < 15.0.0 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
OAuthenticator is an OAuth token library for the JupyerHub login handler. CILogonOAuthenticator is provided by the OAuthenticator package, and lets users log in to a JupyterHub via CILogon. This is primarily used to restrict a JupyterHub only to users of a given institute. The allowed_idps configuration trait of CILogonOAuthenticator is documented to be a list of domains that indicate the institutions whose users are authorized to access this JupyterHub. This authorization is validated by ensuring that the *email* field provided to us by CILogon has a *domain* that matches one of the domains listed in `allowed_idps`.If `allowed_idps` contains `berkeley.edu`, you might expect only users with valid current credentials provided by University of California, Berkeley to be able to access the JupyterHub. However, CILogonOAuthenticator does *not* verify which provider is used by the user to login, only the email address provided. So a user can login with a GitHub account that has email set to `<something>@berkeley.edu`, and that will be treated exactly the same as someone logging in using the UC Berkeley official Identity Provider. The patch fixing this issue makes a *breaking change* in how `allowed_idps` is interpreted. It's no longer a list of domains, but configuration representing the `EntityID` of the IdPs that are allowed, picked from the [list maintained by CILogon](https://cilogon.org/idplist/). Users are advised to upgrade.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2022-31027 |
|---|---|
| BreachSpider ID | BS-2022-GLOBAL-068171-M |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| Published | 2022-06-09 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-639: Authorization Bypass Through User-Controlled Key (IDOR)
Software uses a user-supplied key to access resources without verifying authorization for that specific resource.
Analysis AI-written, not human-reviewed
CVE-2022-31027 affects the CILogonOAuthenticator component of the OAuthenticator package, which is used for JupyterHub login via CILogon. The vulnerability could allow unauthorized access if the allowed_idps configuration is not properly set, leading to potential misuse of the system.
An attacker could exploit this vulnerability by attempting to log in with an OAuth token from an unauthorized identity provider (IdP) if the allowed_idps configuration is not correctly restricted. This could lead to unauthorized access to the JupyterHub instance.
Questions
What is CVE-2022-31027?
CVE-2022-31027 affects the CILogonOAuthenticator component of the OAuthenticator package, which is used for JupyterHub login via CILogon. The vulnerability could allow unauthorized access if the allowed_idps configuration is not properly set, leading to potential misuse of the system.
What is the CVSS score for CVE-2022-31027?
CVE-2022-31027 has CVSS 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N. EPSS: 0.5%.
Is CVE-2022-31027 actively exploited?
No confirmed active exploitation of CVE-2022-31027 as of 2026-09-25.
How do I remediate CVE-2022-31027?
Priority: MEDIUM.
What systems are affected by CVE-2022-31027?
CVE-2022-31027 affects Jupyter Oauthenticator.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Jupyter","product":"Oauthenticator","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.