{"id":"CVE-2025-68432","aliases":["CVE-2025-68432"],"related":[],"kind":"vulnerability","state":"published","title":"Zed IDE LSP Binary Configuration Arbitrary Code Execution","summary":"Zed, a code editor, has an aribtrary code execution vulnerability in versions prior to 0.218.2-pre. The Zed IDE loads Language Server Protocol (LSP) configurations from the `settings.json` file located within a project’s `.zed` subdirectory. A malicious LSP configuration can contain arbitrary shell commands that run on the host system with the privileges of the user running the IDE. This can be triggered when a user opens project file for which there is an LSP entry.  A concerted effort by an attacker to seed a project settings file (`./zed/settings.json`) with malicious language server configurations could result in arbitrary code execution with the user's privileges if the user opens the project in Zed without reviewing the contents. Version 0.218.2-pre fixes the issue by implementing worktree trust mechanism. As a workaround, users should carefully review the contents of project settings files (`./zed/settings.json`) before opening new projects in Zed.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Zed, a code editor, has an aribtrary code execution vulnerability in versions prior to 0.218.2-pre. The Zed IDE loads Language Server Protocol (LSP) configurations from the `settings.json` file located within a project’s `.zed` subdirectory. A malicious LSP configuration can contain arbitrary shell commands that run on the host system with the privileges of the user running the IDE. This can be triggered when a user opens project file for which there is an LSP entry.  A concerted effort by an attacker to seed a project settings file (`./zed/settings.json`) with malicious language server configurations could result in arbitrary code execution with the user's privileges if the user opens the project in Zed without reviewing the contents. Version 0.218.2-pre fixes the issue by implementing worktree trust mechanism. As a workaround, users should carefully review the contents of project settings files (`./zed/settings.json`) before opening new projects in Zed.","source":"cvelist"},{"lang":"es","text":"Zed, un editor de código, tiene una vulnerabilidad de ejecución de código arbitrario en versiones anteriores a la 0.218.2-pre. El IDE de Zed carga configuraciones del Protocolo de Servidor de Lenguaje (LSP) del archivo 'settings.json' ubicado dentro del subdirectorio '.zed' de un proyecto. Una configuración LSP maliciosa puede contener comandos de shell arbitrarios que se ejecutan en el sistema anfitrión con los privilegios del usuario que ejecuta el IDE. Esto puede activarse cuando un usuario abre un archivo de proyecto para el cual existe una entrada LSP. Un esfuerzo concertado por parte de un atacante para sembrar un archivo de configuración de proyecto ('./zed/settings.json') con configuraciones maliciosas del servidor de lenguaje podría resultar en ejecución de código arbitrario con los privilegios del usuario si este abre el proyecto en Zed sin revisar el contenido. La versión 0.218.2-pre soluciona el problema mediante la implementación de un mecanismo de confianza de worktree. Como solución alternativa, los usuarios deben revisar cuidadosamente el contenido de los archivos de configuración del proyecto ('./zed/settings.json') antes de abrir nuevos proyectos en Zed.","source":"nvd"}],"published":"2025-12-17T22:45:42.228Z","modified":"2026-10-13T11:10:00.203Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","score":7.3,"rating":"HIGH"}],"cwes":["CWE-77"],"affected":[{"ranges":[{"version":"< 0.218.2-pre","status":"affected"}],"vendor":"zed-industries","product":"zed","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"0.218.2"}],"vendor":"zed","product":"zed","cpe":"cpe:2.3:a:zed:zed:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/zed-industries/zed/security/advisories/GHSA-29cp-2hmh-hcxj","tags":["exploit","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://zed.dev/blog/secure-by-default","tags":["product","release-notes","x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-12-18T15:28:39.587Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-68432","url":"https://www.cve.org/CVERecord?id=CVE-2025-68432","licence":"CVE Terms of Use","modified":"2025-12-18T15:34:07.066Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-68432","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68432","licence":"Public domain","modified":"2026-10-13T11:10:00.203Z"}],"updatedAt":"2026-11-25T22:59:09.610Z","epss":{"score":0.00295,"percentile":0.23797,"date":"2026-12-01T12:00:22.000Z"}}