{"id":"CVE-2024-41942","published":"2024-08-08T14:36:44Z","modified":"2024-08-08T15:17:06Z","title":"JupyterHub has a privilege escalation vulnerability with the `admin:users` scope","vendor":"jupyterhub","product":"jupyterhub","tier":"tail","description":{"text":"JupyterHub is software that allows one to create a multi-user server for Jupyter notebooks. Prior to versions 4.1.6 and 5.1.0, if a user is granted the `admin:users` scope, they may escalate their own privileges by making themselves a full admin user. The impact is relatively small in that `admin:users` is already an extremely privileged scope only granted to trusted users.\nIn 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. Versions 4.1.6 and 5.1.0 fix this issue.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01105,"percentile":0.65387,"provenance":"source"},"cwes":[{"id":"CWE-274","name":"Improper Handling of Insufficient Privileges"}],"references":[{"url":"https://github.com/jupyterhub/jupyterhub/security/advisories/GHSA-9x4q-3gxw-849f","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/jupyterhub/jupyterhub/commit/99e2720b0fc626cbeeca3c6337f917fdacfaa428","tags":["x_refsource_MISC"]},{"url":"https://github.com/jupyterhub/jupyterhub/commit/ff2db557a85b6980f90c3158634bf924063ab8ba","tags":["x_refsource_MISC"]}],"priority":{"score":18.1,"factors":[{"name":"EPSS percentile","points":13.08},{"name":"CVSS severity","points":5.04}]},"vendorSlug":"jupyterhub","affectedVersions":[{"vendor":"jupyterhub","product":"jupyterhub","versions":["< 4.1.6",">= 5.0.0, < 5.1.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-08-08T15:16:29.440914Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"jupyterhub","vulnerableRanges":["<4.1.6",">=5.0.0, <5.1.0"],"patched":["4.1.6","5.1.0"],"from":["GHSA-9x4q-3gxw-849f","PYSEC-2024-200"],"provenance":"source"}],"summary":{"text":"JupyterHub, the multi-user server for Jupyter notebooks, has a privilege escalation flaw in which a user granted the admin:users scope can make themselves a full admin, because that scope effectively behaves like admin=True, which was not intended. Exploitation requires that the attacker already hold the admin:users scope, which is granted only to trusted users, and the flaw is fixed in versions 4.1.6 and 5.1.0.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:32:50Z"},"euvd":{"id":"EUVD-2024-0080","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2020-36191","published":"2021-01-13","fixed":"1.2.0b1","kev":false},{"cve":"CVE-2021-41247","published":"2021-11-04","fixed":"1.5.0","kev":false},{"cve":"CVE-2024-28233","published":"2024-03-27","fixed":"4.1.0","kev":false,"link":{"from":"CVE-2024-28233","to":"CVE-2024-41942","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:jupyterhub","fromFixed":"4.1.0","toFixed":"4.1.6","daysApart":134}]}},{"cve":"CVE-2024-41942","published":"2024-08-08","fixed":"5.1.0","kev":false},{"cve":"CVE-2026-33709","published":"2026-04-03","fixed":"5.4.4","kev":false,"link":{"from":"CVE-2024-41942","to":"CVE-2026-33709","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:jupyterhub","fromFixed":"5.1.0","toFixed":"5.4.4","daysApart":603}]}},{"cve":"CVE-2026-40864","published":"2026-05-22","fixed":"5.4.5","kev":false},{"cve":"CVE-2026-54338","published":"2026-08-07","fixed":"5.5.0","kev":false}],"package":"PyPI:jupyterhub"}}