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?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « 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- 2024-08-0815:15CVE publishedNVD
Versions per branch
OSV · NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 5.x | ≥ 5.0.0, < 5.1.0 | 5.1.0 | OSV |
| 4.1 | < 4.1.6 | 4.1.6 | NVD · OSV |
| 5.0 | = 5.0.0 | no fix published | NVD |
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.
- jupyterhubAffected
- = < 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
Fix
- Update Jupyter jupyterhub to 5.1.0 · 4.1.6
Advisories and patches
- github.comPatch
- github.comPatch
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-11-26
- 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
- BIT-jupyterhub-2024-41942same flawBitnami · Apache-2.0
- CGA-3qjw-39g8-g5wjsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-vv2f-jqvc-cg7csame flawChainguard · CC-BY-NC-ND-4.0
- EUVD-2024-0080same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-9x4q-3gxw-849fsame flawGitHub Advisory Database · CC-BY-4.0
- PYSEC-2024-200same flawPyPA Advisory Database · CC-BY-4.0
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?
Is CVE-2024-41942 actively exploited?
What is the CVSS score for CVE-2024-41942?
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
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
- CVE-2024-38999same product
- CVE-2019-10255same product
- CVE-2021-41247same product
- CVE-2020-36191same product
- CVE-2024-28233same product
- CVE-2026-54338same productJupyterHub: Unauthenticated Denial of Service via Unbounded Username Logging on Failed Login
- CVE-2026-108752same productJupyterHub through 6.0.1 OAuth Client ID Collision via Unescaped Hyphen
- CVE-2026-33709same product
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-9x4q-3gxw-849f
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- CISA Vulnrichment · CC0-1.0