CVE-2026-44466: Zed Industries Zed command injection in terminal tool permissions

CVE-2026-44466 · Severity: high · CVSS 8.6 · Published 2026-05-28

Zed is a high-performance code editor. A security flaw in its terminal tool permission system allows an attacker to bypass security restrictions and run unauthorized commands on a user's computer. This could lead to full system compromise, data theft, or malicious software installation if a user is tricked into running a seemingly safe command through the editor's AI features.

Technologies: Zed Industries Zed. Vendors: Zed Industries.

Quick answers

Is CVE-2026-44466 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-44466 being exploited in the wild.
How severe is CVE-2026-44466?
High severity, with a CVSS score of 8.6, published 28 May 2026.
Which products and versions are affected?
Zed Industries Zed < 0.229.0.
Is there a fix for CVE-2026-44466?
A patch was published on 2026-05-28: Fix released in version 0.229.0 Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-44466 attacked?
It is attacked with local access, in a network appliance.
Am I affected by CVE-2026-44466?
Check whether you run Zed Industries Zed at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

An OS command injection vulnerability exists in Zed's terminal tool permission system due to improper neutralization of shell metacharacters. The system uses regex patterns (e.g., '^echo\b') to validate allowlisted commands but fails to account for bash arithmetic expansion syntax '$((...))'. An attacker can embed arbitrary commands within this syntax, such as 'echo $(($(malicious_cmd)))', which bypasses the regex check and executes the nested command in the shell. This can be triggered via prompt injection if an attacker influences the AI agent's tool calls. The issue is fixed in version 0.229.0.

Affected products

  • Zed Industries Zed < 0.229.0

Timeline

  • 2026-05-08: advisory: Original GitHub security advisory published
  • 2026-05-28: disclosed: CVE published to NVD
  • 2026-05-28: patched: Fix released in version 0.229.0

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.