Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-44461: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in zed-industries zed

0
High
VulnerabilityCVE-2026-44461cvecve-2026-44461cwe-78
Published: Thu May 28 2026 (05/28/2026, 16:08:07 UTC)
Source: CVE Database V5
Vendor/Project: zed-industries
Product: zed

Description

Zed is a code editor. Prior to 0.227.1, Zed builds SSH/WSL remote commands as a shell command string that starts with exec env ..., but environment variable keys are inserted without shell quoting or validation. If an attacker can control an environment variable key (for example via project terminal settings), shell expansions in the key (such as $(...)) are evaluated by the remote shell when a terminal is opened. This can lead to arbitrary command execution on the remote host under the victim user's account. This vulnerability is fixed in 0.227.1.

CVSS v3.1

Score 8.6high

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/28/2026, 17:04:21 UTC

Technical Analysis

Zed versions before 0.227.1 build SSH/WSL remote commands by concatenating environment variable keys into shell command strings without proper quoting or validation. This allows shell expansions embedded in environment variable keys (e.g., $(...)) to be evaluated by the remote shell, resulting in OS command injection. The vulnerability enables an attacker with the ability to influence environment variable keys, such as through project terminal settings, to execute arbitrary commands on the remote host with the privileges of the victim user. The issue is addressed in Zed version 0.227.1.

Potential Impact

Successful exploitation allows arbitrary command execution on the remote host under the victim user's account, potentially leading to full compromise of the user's remote environment, including confidentiality, integrity, and availability impacts. The CVSS 3.1 base score is 8.6 (High), reflecting local attack vector, low attack complexity, no privileges required, user interaction required, scope change, and high impact on confidentiality, integrity, and availability.

Mitigation Recommendations

Upgrade Zed to version 0.227.1 or later, where this vulnerability is fixed. No other official remediation or temporary fixes are documented. Until upgrading, avoid scenarios where untrusted users can control environment variable keys used in remote terminal settings.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-05-06T15:49:25.193Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a1871e7e29bf47b501244d7

Added to database: 5/28/2026, 4:48:39 PM

Last enriched: 5/28/2026, 5:04:21 PM

Last updated: 5/29/2026, 9:24:36 AM

Views: 10

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses