JupyterLab Desktop TCC permission bypass via dynamic library injection
jupyterlab-desktop
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| jupyterlab jupyterlab-desktop |
| No fix yet |
Original description
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.
From the CVE record · GitHub_M
References
- github.com/jupyterlab/jupyterlab-desktop/security/advisories/GHSA-8cvf-4977-r95v
- github.com/jupyterlab/jupyterlab-desktop/commit/302fb36caca62bbbba7bfaaf0a4966a38cbead44
- github.com/jupyterlab/jupyterlab-desktop/releases/tag/v4.6.2-1
- github.com/CVEProject/cvelistV5/tree/main/cves/2025/54xxx/CVE-2025-54991.json
- nvd.nist.gov/vuln/detail/CVE-2025-54991