Skip to main content

JupyterLab Desktop CVE-2025-54991

| EUVDEUVD-2025-211273 MEDIUM
Execution with Unnecessary Privileges (CWE-250)
2026-11-06 GitHub_M
5.5
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain local code execution as current user
  2. Exploit
    Set DYLD_INSERT_LIBRARIES to malicious dylib
  3. Execution
    Inject library into JupyterLab Desktop process
  4. Impact
    Inherit app TCC grants, read protected folders

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V8 - Authorization Unnecessary privilege execution
Exploitation Conditions

Exploitation requires all of: (1) the victim running JupyterLab Desktop on macOS (versions up to and including v4.2.5-1 per GHSA / all prior to v4.6.2-1 per the CVE); (2) the application having previously been granted TCC access to protected resources such as Documents, Desktop, or Downloads; and (3) the attacker already possessing the ability to execute code locally as that same user. The specific enabling condition is the com.apple.security.cs.allow-dyld-environment-variables entitlement, which lets the dynamic linker honor DYLD_INSERT_LIBRARIES despite the hardened runtime. Limiting factors: this is strictly a post-compromise data-access escalation - it provides no remote or initial code execution, requires pre-existing local code execution and pre-existing TCC grants, and affects macOS only (Windows and Linux are not affected). A partial mitigation per the vendor is revoking the app's TCC permissions in System Settings; there is no complete workaround and upgrading to 4.6.2-1 is the recommended fix.

Impact

This is a genuinely moderate, post-compromise local issue rather than a top-tier priority, and the signals are consistent in saying so. The CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N, base 5.5) correctly reflects a local, low-privilege attack with confidentiality-only impact, and the vendor advisory reinforces this: it explicitly states the flaw does NOT allow remote code execution and does NOT provide initial access. The vulnerability (CWE-250 excessive entitlement; GHSA also cites CWE-693 protection mechanism failure) only matters to an attacker who already executes code as the target user. No EPSS score was provided and the CVE is not listed in CISA KEV, so there is no indication of active, widespread exploitation; this is 'no public exploit identified at time of analysis.' The vuln.today decision label is 'this_month,' which aligns with a patch-on-normal-cadence posture rather than an emergency. The Tags field conflicts with the authoritative evidence - it lists 'RCE' and 'Microsoft,' both of which the advisory contradicts (no RCE; macOS-only, Windows and Linux unaffected; the product is an open-source Project Jupyter application, not a Microsoft product). Treat the 'RCE'/'Privilege Escalation' framing with caution: the real effect is TCC privacy-control bypass (data access), not classic privilege escalation to root.

Exploit ScenarioDerived

An attacker who has already achieved local code execution as the user (e.g., via a prior malware infection or malicious script) sets DYLD_INSERT_LIBRARIES to a malicious .dylib and launches or injects into JupyterLab Desktop, which is permitted because of the allow-dyld-environment-variables entitlement under the hardened runtime. Because the app had previously been granted TCC access to Documents, Desktop, or Downloads, the injected library inherits those permissions and reads the protected files without triggering any new macOS consent prompt. No public exploit code was identified in the provided sources; the referenced links are the GitHub advisory, fix commit, and release, not a working exploit.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 06, 2026

JupyterLab Desktop for macOS is built with the com.apple.security.cs.allow-dyld-environment-variables entitlement, which lets the dynamic linker honor DYLD_INSERT_LIBRARIES even though the app runs under the hardened runtime. Any process already executing as the logged-in user can therefore load an arbitrary .dylib into the JupyterLab Desktop process and inherit the TCC permissions the app was previously granted - Documents, Desktop or Downloads - without triggering a new macOS privacy prompt. This is strictly a post-compromise data-access escalation with no remote or initial code execution: it requires pre-existing local code execution plus prior TCC grants, affects macOS only (Windows and Linux are not affected), affects versions prior to 4.6.2-1, and no public exploit has been identified at time of analysis.

RemediationAI

Vendor-released patch: upgrade JupyterLab Desktop on macOS to v4.6.2-1 or later (https://github.com/jupyterlab/jupyterlab-desktop/releases/tag/v4.6.2-1), which removes the allow-dyld-environment-variables, disable-library-validation and debugger entitlements from the main entitlements plist and moves child-process entitlements into a separate inherit plist (commit 302fb36caca62bbbba7bfaaf0a4966a38cbead44). The vendor states there are no complete workarounds; users who cannot upgrade immediately can reduce exposure by revoking JupyterLab Desktop's access to protected resources in System Settings → Privacy & Security (Files and Folders, Documents, Desktop, Downloads), which removes the TCC grants an injected library would otherwise inherit - at the cost of the application losing legitimate access to those folders - and upgrading remains the recommended mitigation.

Affected VersionsENISA

jupyterlab-desktop < 4.6.2-1

Affected Packages

euvd jupyterlab_desktop fix: 4.6.2-1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The root cause is CWE-250 (Execution with Unnecessary Privileges), with the GitHub advisory also classifying it as CWE-693 (Protection Mechanism Failure). macOS hardened runtime blocks DYLD_INSERT_LIBRARIES by default precisely so that a signed application cannot be coerced into loading attacker-supplied Mach-O libraries; the com.apple.security.cs.allow-dyld-environment-variables entitlement is an explicit opt-out that re-enables that environment-variable injection path. Because the loaded library runs inside the JupyterLab Desktop process, it executes with whatever Transparency, Consent, and Control (TCC) authorizations that application has accumulated - Apple's per-app privacy grants for protected folders - and so inherits folder access without a fresh consent dialog. The upstream fix (commit 302fb36caca62bbbba7bfaaf0a4966a38cbead44) strips allow-dyld-environment-variables, com.apple.security.cs.disable-library-validation and com.apple.security.cs.debugger from dist-resources/darwin/entitlements.plist, leaves that file as the main entitlements set, and introduces a separate minimal entitlements.inherit.plist (allow-jit, allow-unsigned-executable-memory, inherit) that package.json now references via the entitlementsInherit key. The flaw's scope is bounded: the CVSS vector AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N describes a local, low-complexity attack requiring an existing low-privileged foothold, with confidentiality-only impact, and the advisory states explicitly that no remote or initial-access primitive is provided.

Know when Jupyterlab gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 5.5 MEDIUM

Attacker must already run code locally as the user (AV:L, PR:L); dylib injection via the entitlement is straightforward (AC:L); impact is read access to TCC-protected files (C:H, I:N, A:N).

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

2
Patch available
Nov 06, 2026 - 21:03 EUVD
CVE Published
Nov 06, 2026 - 20:28 cve.org
MEDIUM 5.5

DescriptionCVE.org

JupyterLab Desktop is the cross-platform desktop application for JupyterLab. Prior to 4.6.2-1, JupyterLab Desktop for macOS declared the com.apple.security.cs.allow-dyld-environment-variables entitlement, allowing the dynamic linker to honor DYLD_INSERT_LIBRARIES despite the hardened runtime. An attacker who can already execute code as the current user can load an arbitrary dynamic library into the JupyterLab Desktop process and inherit TCC permissions previously granted to the application, including access to protected Documents, Desktop, or Downloads folders without another macOS prompt. Exploitation requires existing local code execution and prior TCC grants; it does not provide initial or remote code execution. Windows and Linux are not affected. This vulnerability is fixed in 4.6.2-1.

Threat Intelligence Overview

EPSS Score
0.2%
Top 91% exploitable
Prevalence
Low
niche macOS desktop app for data scientists; macOS-only impact
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.

CVE-2024-39700 CRITICAL POC
9.8 Jul 16

JupyterLab extension template is a `copier` template for JupyterLab extensions. Rated critical severity (CVSS 9.8), this

CVE-2021-32797 CRITICAL POC
9.6 Aug 09

JupyterLab is a user interface for Project Jupyter which will eventually replace the classic Jupyter Notebook. Rated cri

CVE-2026-86044 CRITICAL
9.6 Nov 06

One-click theft of the local Jupyter server URL and authentication token in JupyterLab Desktop prior to 4.6.2-1 enables

CVE-2026-102530 CRITICAL
9.4 Nov 06

Cross-site scripting in JupyterLab Desktop before 4.6.2-1 enables unauthenticated remote attackers who convince a user t

CVE-2024-22421 MEDIUM
6.5 Jan 19

JupyterLab is an extensible environment for interactive and reproducible computing, based on the Jupyter Notebook and Ar

CVE-2024-43805 MEDIUM
6.1 Aug 28

jupyterlab is an extensible environment for interactive and reproducible computing, based on the Jupyter Notebook Archit

CVE-2024-22420 MEDIUM
6.1 Jan 19

JupyterLab is an extensible environment for interactive and reproducible computing, based on the Jupyter Notebook and Ar

CVE-2026-73627 MEDIUM
6.0 Aug 13

Plugin lock-rule enforcement bypass in JupyterLab (pip package, versions >=4.1.0,<=4.5.9 and >=4.6.0,<=4.6.1) allows aut

CVE-2025-55002 MEDIUM
5.5 Nov 06

On macOS, JupyterLab Desktop builds prior to 4.6.2-1 shipped with Electron's RunAsNode fuse enabled, so a local attacker

CVE-2026-102904 MEDIUM
5.4 Sep 29

Argument injection in JupyterLab's PyPI Extension Manager (JupyterLab 4.0.0 through 4.5.10 and the 4.6.x branch before 4

CVE-2026-67338 MEDIUM
5.1 Aug 01

Stored cross-site scripting in JupyterLab's Extension Manager allows an attacker who publishes a malicious PyPI package

CVE-2026-102832 MEDIUM
4.2 Oct 13

Improper trust attribution in JupyterLab's markdownviewer:trust and notebook:trust command-link handlers lets a Trust de

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy