{"id":"CVE-2025-68432","state":"PUBLISHED","title":"Zed IDE LSP Binary Configuration Arbitrary Code Execution","description":"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.","publishedAt":"2025-12-17T22:45:42.228Z","updatedAt":"2025-12-18T15:34:07.066Z","severity":{"score":7.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["zed-industries zed"],"affected":[{"vendor":"zed-industries","product":"zed","versions":[{"version":"< 0.218.2-pre","status":"affected"}]}],"references":["https://github.com/zed-industries/zed/security/advisories/GHSA-29cp-2hmh-hcxj","https://zed.dev/blog/secure-by-default"],"weaknesses":["CWE-77"],"ingestedAt":"2026-10-29T20:09:56.034Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/68xxx/CVE-2025-68432.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-68432","state":"PUBLISHED","datePublished":"2025-12-17T22:45:42.228Z","dateUpdated":"2025-12-18T15:34:07.066Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2025-12-17T15:29:39.380Z"},"containers":{"cna":{"title":"Zed IDE LSP Binary Configuration Arbitrary Code Execution","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"zed-industries","product":"zed","versions":[{"version":"< 0.218.2-pre","status":"affected"}]}],"references":[{"url":"https://github.com/zed-industries/zed/security/advisories/GHSA-29cp-2hmh-hcxj","name":"https://github.com/zed-industries/zed/security/advisories/GHSA-29cp-2hmh-hcxj","tags":["x_refsource_CONFIRM"]},{"url":"https://zed.dev/blog/secure-by-default","name":"https://zed.dev/blog/secure-by-default","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":7.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-77","lang":"en","description":"CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2025-12-17T22:45:42.228Z"},"source":{"advisory":"GHSA-29cp-2hmh-hcxj","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-12-18T15:28:39.587585Z","id":"CVE-2025-68432","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-12-18T15:34:07.066Z"}}]}}}