CVE Catalog
EnglishPolski(English translation not available - showing Polish)

CVE-2025-68433

High
Published: Translated: NVD NIST

Summary

Zed, edytor kodu, ma podatność na wykonanie dowolnego kodu w wersjach przed 0.218.2-pre. Podatność ta wynika z ładowania konfiguracji Model Context Protocol (MCP) z pliku `settings.json`, co może prowadzić do uruchomienia złośliwych poleceń powłoki na systemie gospodarza.

Risk Assessment

Organizacja może być narażona na uruchomienie złośliwego kodu z uprawnieniami użytkownika, co może prowadzić do poważnych naruszeń bezpieczeństwa i utraty danych.

Recommendation

Zaleca się aktualizację do wersji 0.218.2-pre lub nowszej oraz dokładne przeglądanie zawartości plików ustawień projektów (`./zed/settings.json`) przed otwarciem nowych projektów w Zed.

Related vulnerabilities

Original NVD description (English source)

Zed, a code editor, has an aribtrary code execution vulnerability in versions prior to 0.218.2-pre. The Zed IDE loads Model Context Protocol (MCP) configurations from the `settings.json` file located within a project’s `.zed` subdirectory. A malicious MCP 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 automatically without any user interaction besides opening the project in the IDE. 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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS