UBUNTU-CVE-2025-54991: Medium severity ubuntu/jupyterlab vulnerability
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 DYLDINSERTLIBRARIES 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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
JupyterLab Desktop for macOSto a version that resolves this vulnerability.Fixed in 4.6.2-1
Event History
Frequently Asked Questions
Which systems are affected?
Only JupyterLab Desktop for macOS is affected. Windows and Linux are not affected.
What must an attacker already have to exploit this issue?
The attacker must already be able to execute code as the current macOS user and JupyterLab Desktop must previously have been granted relevant TCC permissions. This issue does not provide initial access or remote code execution.
What access could exploitation provide?
An attacker could inject an arbitrary dynamic library into the JupyterLab Desktop process and inherit its previously granted TCC permissions. This can include access to protected Documents, Desktop, and Downloads folders without an additional macOS prompt.
How can the issue be remediated?
Update JupyterLab Desktop to version 4.6.2-1, which fixes the vulnerability.