Skip to main content
No exploitation reportedFix available

CVE-2024-41942

No exploitation reported by the sources we read.

  • Published2024-08-08
  • Fixed in5.1.0 · 4.1.6
  • WeaknessCWE-274

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

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. 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. Versions 4.1.6 and 5.1.0 fix this issue.

Timeline

dates in UTC
  1. 2024-08-0815:15CVE publishedNVD

Versions per branch

OSV · NVD
Jupyter jupyterhub
BranchAffectedFixed in
5.x≥ 5.0.0, < 5.1.05.1.0
4.1< 4.1.64.1.6
5.0= 5.0.0no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • jupyterhub
    Affected
    • = < 4.1.6no fix stated
    • = >= 5.0.0, < 5.1.0no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2024-08-08

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • jupyterhubUbuntu:26.10all versions · no fixed version listed
  • jupyterhubUbuntu:26.04:LTSall versions · no fixed version listed
  • jupyterhubUbuntu:25.10all versions · no fixed version listed
  • jupyterhubUbuntu:24.04:LTSall versions · no fixed version listed
  • jupyterhubUbuntu:22.04:LTSall versions · no fixed version listed
  • jupyterhubDebian:14all versions · fixed in 5.2.1+ds1-1
  • jupyterhubDebian:13all versions · fixed in 5.2.1+ds1-1
  • jupyterhubDebian:12all versions · no fixed version listed

2 more package ranges on OSV.dev

Full record on NVD

Fix

  1. Update Jupyter jupyterhub to 5.1.0 · 4.1.6

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • CISA-ADPSSVC decisionnone2024-08-08
  • CNACVSS 3.17.2known since 2026-10-23
  • NVDCVSS 3.17.2read 2026-10-23
  • CNAweakness (CWE)CWE-274known since 2026-10-23
  • FIRST EPSSEPSS score1.1 %2026-11-25
  • OSVaffected packages—
  • GitHub AdvisoriesadvisoryHigh2024-08-08

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Published
2024-08-08
Last modified
2026-06-17
NVD status
Analyzed
GitHub advisory
GHSA-9x4q-3gxw-849f

Frequently asked questions

What is CVE-2024-41942?

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. 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. Versions 4.1.6 and 5.1.0 fix this issue.

Is CVE-2024-41942 actively exploited?

Active exploitation of CVE-2024-41942 has not been confirmed. Its EPSS score was 1.1% on 2026-11-25, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2024-41942?

CVE-2024-41942 has a CVSS v3 base score of 7.2 (High severity), with vector string CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H.

Running jupyterhub? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record