Loading advisory.
Loading advisory.
JupyterHub has a privilege escalation vulnerability with the `admin:users` scope
If a user is granted the admin:users scope, they may escalate their own privileges by making themselves a full admin user.
Published 2024-08-08 14:36 UTC · Modified 2026-09-10 03:50 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| jupyterhub | PyPI | < 4.1.6 >= 5.0.0, < 5.1.0 git commits in https://github.com/jupyterhub/jupyterhub: < 99e2720b0fc626cbeeca3c6337f917fdacfaa428 git commits in https://github.com/jupyterhub/jupyterhub: < ff2db557a85b6980f90c3158634bf924063ab8ba versions 0.1.0, 0.2.0, 0.3.0, 0.4.0, 0.4.1, 0.5.0, 0.6.0, 0.6.1, 0.7.0, 0.7.0b1, 0.7.1, 0.7.2, 0.8.0, 0.8.0b1, 0.8.0b2, 0.8.0b3, 0.8.0b4, 0.8.0b5, 0.8.0rc1, 0.8.0rc2 and 61 more | 4.1.6, 5.1.0, 99e2720b0fc626cbeeca3c6337f917fdacfaa428, ff2db557a85b6980f90c3158634bf924063ab8ba | pip install --upgrade 'jupyterhub>=4.1.6'pip install --upgrade 'jupyterhub>=5.1.0'pip install --upgrade 'jupyterhub>=99e2720b0fc626cbeeca3c6337f917fdacfaa428'pip install --upgrade 'jupyterhub>=ff2db557a85b6980f90c3158634bf924063ab8ba' |
If a user is granted the admin:users scope, they may escalate their own privileges by making themselves a full admin user.
The admin:users scope allows a user to edit user records:
admin:users
Read, write, create and delete users and their authentication state, not including their servers or tokens.
-- https://jupyterhub.readthedocs.io/en/stable/rbac/scopes.html#available-scopes
However, this includes making users admins. Admin users are granted scopes beyond admin:users making this a mechanism by which granted scopes may be escalated.
The impact is relatively small in that admin:users is already an extremely privileged scope only granted to trusted users.
In effect, admin:users is equivalent to admin=True, which is not intended.
Note that the change here only prevents escalation to the built-in JupyterHub admin role that has unrestricted permissions. It does not prevent users with e.g. groups permissions from granting themselves or other users permissions via group membership, which is intentional.
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
EPSS went from 0.006 on 2026-11-24 to 0.011 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.006 | first score | v2026.06.15 |
| 2026-11-26 | 0.011 | 0.006 | v2026.06.15 |