CVE-2026-27976

8.8

Zed Industries · Zed

The Zed code editor extension installer fails to validate symlinks during tar archive extraction, allowing attackers to write files to arbitrary locations on the host system.

Executive summary

A critical vulnerability in the Zed code editor allows unauthenticated attackers to achieve remote code execution by exploiting improper symlink validation during extension installation.

Vulnerability

The vulnerability exists in the extension installer, which uses an insecure tar extraction process that fails to resolve symlinks correctly. This allows an attacker to craft a malicious extension that creates symlinks pointing outside the intended directory, facilitating arbitrary file writes on the host system.

Business impact

The ability to write arbitrary files to the host system effectively bypasses the extension sandbox and leads to full remote code execution. Given the CVSS score of 8.8, this flaw poses a severe risk to organizational assets, potentially leading to total system compromise, data exfiltration, or the deployment of persistent malware on developer workstations.

Remediation

Immediate Action: Update the Zed code editor to version 0.224.4 or later immediately to incorporate the necessary path validation fixes.

Proactive Monitoring: Monitor developer workstation logs for unusual file system write operations or unexpected processes originating from the Zed extension directory.

Compensating Controls: Advise developers to refrain from installing third-party extensions from untrusted sources until the update is applied, as the attack vector requires the installation of a malicious package.

Exploitation status

Public Exploit Available: Unknown

Analyst recommendation

This vulnerability represents a significant threat to development environments and must be treated with high priority. Organizations should enforce the update to version 0.224.4 across all developer workstations to prevent potential sandbox escapes and remote code execution. Delaying this update exposes the infrastructure to a high risk of compromise through the supply chain of malicious extensions.

Sources