CVE-2026-44466: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in zed-industries zed
Zed is a code editor. Prior to 0.229.0, Zed's terminal tool permission system can be bypassed via bash arithmetic expansion $((...)), allowing execution of arbitrary commands nested inside an allowlisted command like echo. This vulnerability is fixed in 0.229.0.
AI Analysis
Technical Summary
CVE-2026-44466 is an OS command injection vulnerability in the zed code editor before version 0.229.0. The vulnerability allows attackers to bypass the terminal tool permission system by leveraging bash arithmetic expansion syntax $((...)) within allowlisted commands, such as echo, to execute arbitrary nested commands. This improper neutralization of special elements (CWE-78) leads to potential full compromise of confidentiality, integrity, and availability of the affected system. The vulnerability is resolved in zed version 0.229.0.
Potential Impact
Successful exploitation allows an attacker with local access and user interaction to execute arbitrary OS commands with the privileges of the user running zed. This can lead to complete compromise of the affected system's confidentiality, integrity, and availability. The CVSS score of 8.6 reflects a high impact with local attack vector, low attack complexity, no privileges required, user interaction required, and scope changed.
Mitigation Recommendations
Upgrade zed to version 0.229.0 or later, where this vulnerability is fixed. Since the vendor advisory confirms the fix in 0.229.0, applying this official update fully mitigates the issue. No additional mitigations are indicated by the vendor.
CVE-2026-44466: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in zed-industries zed
Description
Zed is a code editor. Prior to 0.229.0, Zed's terminal tool permission system can be bypassed via bash arithmetic expansion $((...)), allowing execution of arbitrary commands nested inside an allowlisted command like echo. This vulnerability is fixed in 0.229.0.
CVSS v3.1
Score 8.6high
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-44466 is an OS command injection vulnerability in the zed code editor before version 0.229.0. The vulnerability allows attackers to bypass the terminal tool permission system by leveraging bash arithmetic expansion syntax $((...)) within allowlisted commands, such as echo, to execute arbitrary nested commands. This improper neutralization of special elements (CWE-78) leads to potential full compromise of confidentiality, integrity, and availability of the affected system. The vulnerability is resolved in zed version 0.229.0.
Potential Impact
Successful exploitation allows an attacker with local access and user interaction to execute arbitrary OS commands with the privileges of the user running zed. This can lead to complete compromise of the affected system's confidentiality, integrity, and availability. The CVSS score of 8.6 reflects a high impact with local attack vector, low attack complexity, no privileges required, user interaction required, and scope changed.
Mitigation Recommendations
Upgrade zed to version 0.229.0 or later, where this vulnerability is fixed. Since the vendor advisory confirms the fix in 0.229.0, applying this official update fully mitigates the issue. No additional mitigations are indicated by the vendor.
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: 6a1871ece29bf47b5012457e
Added to database: 5/28/2026, 4:48:44 PM
Last enriched: 5/28/2026, 5:03:53 PM
Last updated: 5/29/2026, 5:08:31 PM
Views: 10
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.