Intel

AIKIDO-2026-162782

jupyterhub is vulnerable to Privilege Escalation

Privilege EscalationGHSA-69wv-m5fw-2fhp Published 2 days ago

27

Low Risk

This Affects:

PYTHONjupyterhub
2.0.0 - 5.5.0
Fixed in 5.5.1
Are you affected? Scan for Free

TL;DR

The scope-enforcement decorator treats a filtered admin scope as sufficient whenever a request carries no explicit resource filter, deferring any filtering to the request handler. Endpoints that create users or groups do not apply that deferred filtering, so a user granted a filtered admin scope such as admin:users!group=... or admin:groups!group=... can create users or groups outside their permitted scope. Before the fix this lets a partially privileged admin act beyond its assigned resource filter. The fix makes post-filtering explicit and opt-in so only listing endpoints accept filtered access.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you grant filtered admin roles such as admin:users!group=... or admin:groups!group=....

Background info

jupyterhub is vulnerable to Privilege Escalation in versions 2.0.0 - 5.5.0.

How to fix this

Upgrade the jupyterhub library to the patch version.