{"id":"CVE-2025-54991","kind":"vulnerability","aliases":["CVE-2025-54991"],"related":[],"title":"JupyterLab Desktop for macOS: local code can inherit granted file-access permissions","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.","summary":"JupyterLab Desktop for macOS declared an entitlement that let the dynamic linker load arbitrary libraries via DYLD_INSERT_LIBRARIES despite the hardened runtime. A local attacker who can already run code as the user can inject a library into the app and inherit its macOS privacy permissions for Documents, Desktop, or Downloads without a new prompt.","severity":"medium","cvss":5.5,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["data-science","jupyterlab-desktop","macos","package"],"not_affected_if":["linux","no-local-code-execution","patched-version","windows"],"how_to_check":"- Check the installed JupyterLab Desktop version on macOS; versions before `4.6.2-1` are affected.\n- Look for the `com.apple.security.cs.allow-dyld-environment-variables` entitlement on the app bundle, for example with `codesign -d --entitlements - /Applications/JupyterLab.app` (command is an illustration; unknown whether sources define it).","fix":"- JupyterLab Desktop: upgrade to `4.6.2-1`.","status":"open","published_at":"2026-11-06T21:17:04+00:00","first_seen_at":"2026-11-06T21:45:07+00:00","triaged_at":"2026-11-06T21:46:51+00:00","updated_at":"2026-11-06T21:46:51+00:00","category":"package","confidence":0.8,"triage":{"at":"2026-11-06T21:46:51Z","model":"claude-haiku-5-5","output":{"fix":"- JupyterLab Desktop: upgrade to `4.6.2-1`.","reach":"local","title":"JupyterLab Desktop for macOS: local code can inherit granted file-access permissions","impact":"medium","summary":"JupyterLab Desktop for macOS declared an entitlement that let the dynamic linker load arbitrary libraries via DYLD_INSERT_LIBRARIES despite the hardened runtime. A local attacker who can already run code as the user can inject a library into the app and inherit its macOS privacy permissions for Documents, Desktop, or Downloads without a new prompt.","audience":"developers","category":"package","nicknames":[],"who_cares":["jupyterlab-desktop","macos","data-science"],"confidence":0.8,"fix_status":"available","needs_auth":"yes","worst_case":"Local attacker reads protected Documents, Desktop, or Downloads folders","analyst_note":"","how_to_check":"- Check the installed JupyterLab Desktop version on macOS; versions before `4.6.2-1` are affected.\n- Look for the `com.apple.security.cs.allow-dyld-environment-variables` entitlement on the app bundle, for example with `codesign -d --entitlements - /Applications/JupyterLab.app` (command is an illustration; unknown whether sources define it).","plain_action":"","needs_analyst":false,"not_affected_if":["windows","linux","patched-version","no-local-code-execution"],"who_is_affected":"Only the macOS build of JupyterLab Desktop before `4.6.2-1` is affected; Windows and Linux are not. Exploitation requires existing local code execution as the current user and prior file-access permissions granted to the app, so it does not give initial or remote access.","user_interaction":"no","needs_special_setup":"no","severity_if_unknown":"medium"},"cost_usd":0.000761,"input_tokens":4440,"output_tokens":634,"severity_before":"medium"},"analyst_status":null,"analyst_note":null,"search":"'-1':98C,199C '-2025':15A,18A '-54991':16A,19A '4.6.2':97C,198C 'access':12A,156C 'affect':192C 'allow':111C 'alreadi':56B,128C 'anoth':165C 'app':68B 'applic':92C,154C 'arbitrari':41B,138C 'attack':53B,125C 'code':6A,58B,130C,172C,185C 'com.apple.security.cs.allow':105C 'cross':89C 'cross-platform':88C 'current':133C 'cve':14A,17A 'data':21B 'data-sci':20B 'declar':32B,103C 'desktop':2A,25B,29B,77B,85C,91C,100C,144C,160C 'despit':47B,120C 'document':76B,159C 'download':79B,162C 'dyld':44B,107C,117C 'dyld-environment-vari':106C 'dynam':38B,113C,139C 'entitl':34B,110C 'environ':108C 'execut':129C,173C,186C 'exist':170C 'exploit':168C 'file':11A 'file-access':10A 'fix':196C 'folder':163C 'grant':9A,151C,177C 'harden':49B,122C 'honor':116C 'includ':155C 'inherit':8A,70B,147C 'initi':182C 'inject':63B 'insert':45B,118C 'jupyterlab':1A,24B,28B,84C,94C,99C,143C 'jupyterlab-desktop':23B 'let':36B 'librari':42B,46B,65B,119C,140C 'linker':39B,114C 'linux':189C 'load':40B,136C 'local':5A,52B,171C 'maco':4A,26B,31B,72B,102C,166C 'new':82B 'packag':27B 'permiss':13A,74B,149C 'platform':90C 'previous':150C 'prior':95C,175C 'privaci':73B 'process':145C 'prompt':83B,167C 'protect':158C 'provid':181C 'remot':184C 'requir':169C 'run':57B 'runtim':50B,123C 'scienc':22B 'tcc':148C,176C 'user':61B,134C 'variabl':109C 'via':43B 'vulner':194C 'window':187C 'without':80B,164C","nicknames":[],"mitigations":[],"who_affected":"Only the macOS build of JupyterLab Desktop before `4.6.2-1` is affected; Windows and Linux are not. Exploitation requires existing local code execution as the current user and prior file-access permissions granted to the app, so it does not give initial or remote access.","tier":"C","verified":{},"analyst_revisit_at":null,"fix_status":"available","audience":"developers","plain_action":null,"pkeys":[],"ptokens":[],"labels":["datascience","jupyterlabdesktop","macos","medium","package"],"campaign_type":null,"search_a":"'-2025':15A,18A '-54991':16A,19A 'access':12A 'code':6A 'cve':14A,17A 'desktop':2A 'file':11A 'file-access':10A 'grant':9A 'inherit':8A 'jupyterlab':1A 'local':5A 'maco':4A 'permiss':13A","search_b":"'alreadi':56B 'app':68B 'arbitrari':41B 'attack':53B 'code':58B 'data':21B 'data-sci':20B 'declar':32B 'desktop':25B,29B,77B 'despit':47B 'document':76B 'download':79B 'dyld':44B 'dynam':38B 'entitl':34B 'harden':49B 'inherit':70B 'inject':63B 'insert':45B 'jupyterlab':24B,28B 'jupyterlab-desktop':23B 'let':36B 'librari':42B,46B,65B 'linker':39B 'load':40B 'local':52B 'maco':26B,31B,72B 'new':82B 'packag':27B 'permiss':74B 'privaci':73B 'prompt':83B 'run':57B 'runtim':50B 'scienc':22B 'user':61B 'via':43B 'without':80B","search_c":"'-1':98C,199C '4.6.2':97C,198C 'access':156C 'affect':192C 'allow':111C 'alreadi':128C 'anoth':165C 'applic':92C,154C 'arbitrari':138C 'attack':125C 'code':130C,172C,185C 'com.apple.security.cs.allow':105C 'cross':89C 'cross-platform':88C 'current':133C 'declar':103C 'desktop':85C,91C,100C,144C,160C 'despit':120C 'document':159C 'download':162C 'dyld':107C,117C 'dyld-environment-vari':106C 'dynam':113C,139C 'entitl':110C 'environ':108C 'execut':129C,173C,186C 'exist':170C 'exploit':168C 'fix':196C 'folder':163C 'grant':151C,177C 'harden':122C 'honor':116C 'includ':155C 'inherit':147C 'initi':182C 'insert':118C 'jupyterlab':84C,94C,99C,143C 'librari':119C,140C 'linker':114C 'linux':189C 'load':136C 'local':171C 'maco':102C,166C 'permiss':149C 'platform':90C 'previous':150C 'prior':95C,175C 'process':145C 'prompt':167C 'protect':158C 'provid':181C 'remot':184C 'requir':169C 'runtim':123C 'tcc':148C,176C 'user':134C 'variabl':109C 'vulner':194C 'window':187C 'without':164C","first_public_at":"2026-07-24T09:14:04+00:00","kev":null,"cvss_vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","cvss_by":"security-advisories@github.com","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2025-54991","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-54991","severity":null,"published_at":"2026-11-06T21:17:04+00:00","modified_at":"2026-11-06T21:17:04+00:00","first_seen_at":"2026-11-06T21:45:07+00:00","fetched_at":"2026-11-06T21:45:07+00:00","note":null}],"documents":[{"id":90285,"url":"https://github.com/jupyterlab/jupyterlab-desktop/commit/302fb36caca62bbbba7bfaaf0a4966a38cbead44","title":"Patch: github.com","kind":"other","source":"nvd","publisher":"vendor","text":null,"published_at":null,"relation":"fix","confidence":null,"note":"Patch: github.com"},{"id":90286,"url":"https://github.com/jupyterlab/jupyterlab-desktop/releases/tag/v4.6.2-1","title":"Release notes: github.com","kind":"release","source":"nvd","publisher":"vendor","text":null,"published_at":null,"relation":"fix","confidence":null,"note":"Release notes: github.com"},{"id":90287,"url":"https://github.com/jupyterlab/jupyterlab-desktop/security/advisories/GHSA-8cvf-4977-r95v","title":"Vendor advisory: github.com","kind":"vendor","source":"nvd","publisher":"vendor","text":null,"published_at":"2026-07-24T09:14:04+00:00","relation":"advisory","confidence":null,"note":"Vendor advisory: github.com"}],"exploit_sources":[],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}