Skip to content
Heist/ feed
Back to feed
High

Zed: Allowlist Bypass via Bash Arithmetic Expansion in Terminal Tool Permissions

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-44466
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 02:47 UTC · Revision 1

Source evidence

Zed: Allowlist Bypass via Bash Arithmetic Expansion in Terminal Tool Permissions

core-osv · Original source

Published 28 May 2026, 16:16 UTC

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.

osv:CVE-2026-44466
Complete source record
{
  "id": "c09d11e9a886e3ce3340256b5ec35eaecd4de4126afd6b9bdbbf67e019ab9db8",
  "url": "https://osv.dev/vulnerability/CVE-2026-44466",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Zed: Allowlist Bypass via Bash Arithmetic Expansion in Terminal Tool Permissions",
    "summary": "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.",
    "evidence": "osv:CVE-2026-44466",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-44466",
      "aliases": [
        "CVE-2026-44466",
        "GHSA-c99f-97vf-4h5h"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/zed-industries/zed",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "433d9299a3fad19eeaa023d6a9d33f551797f56e"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.229.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "cpe": "cpe:2.3:a:zed:zed:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.229.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "glsl-v0.2.2",
            "html-v0.3.1",
            "glsl-v0.2.1",
            "nightly",
            "collab-staging",
            "extension-workflows",
            "collab-production",
            "extension-cli",
            "vConradTest",
            "benchmark-m4",
            "collab-v0.44.0",
            "collab-v0.43.0",
            "collab-v0.42.1",
            "collab-v0.42.0",
            "collab-v0.41.0",
            "collab-v0.40.1",
            "collab-v0.40.0",
            "collab-v0.39.0",
            "collab-v0.38.0",
            "collab-v0.37.0",
            "collab-v0.36.1",
            "collab-v0.36.0",
            "collab-v0.35.0",
            "collab-v0.34.0",
            "collab-v0.33.0",
            "collab-v0.32.0",
            "collab-v0.31.0",
            "collab-v0.30.1",
            "collab-v0.30.0",
            "collab-v0.29.1",
            "collab-v0.29.0",
            "collab-v0.27.0",
            "collab-v0.26.0",
            "collab-v0.25.0",
            "collab-v0.24.0",
            "collab-v0.23.3",
            "collab-v0.23.2",
            "collab-v0.23.1",
            "collab-v0.23.0",
            "collab-v0.22.1",
            "collab-v0.22.0",
            "collab-v0.21.0",
            "collab-v0.20.0",
            "collab-v0.19.0",
            "collab-v0.18.0",
            "collab-v0.17.0",
            "collab-v0.16.0",
            "collab-v0.15.0",
            "collab-v0.14.2",
            "collab-v0.14.1",
            "collab-v0.14.0",
            "collab-v0.13.1",
            "collab-v0.13.0",
            "collab-v0.12.5",
            "collab-v0.12.4",
            "collab-v0.12.1",
            "collab-v0.12.0",
            "collab-v0.11.0",
            "collab-v0.10.0",
            "collab-v0.9.0",
            "collab-v0.8.3",
            "collab-v0.8.2",
            "collab-v0.8.1",
            "collab-v0.8.0",
            "collab-v0.7.2",
            "collab-v0.7.1",
            "collab-v0.7.0",
            "collab-v0.6.2",
            "collab-v0.6.1",
            "collab-v0.6.0",
            "collab-v0.5.4",
            "collab-v0.5.3",
            "collab-v0.5.0",
            "collab-v0.5.2",
            "collab-v0.5.1",
            "collab-v0.4.2",
            "collab-v0.4.1",
            "collab-v0.4.0",
            "collab-v0.3.4",
            "collab-v0.3.3",
            "collab-v0.3.1",
            "collab-v0.3.0",
            "collab-v0.2.5",
            "collab-v0.2.4",
            "collab-v0.2.3",
            "collab-v0.2.2",
            "collab-v0.2.1",
            "v0.61.0",
            "collab-v0.2.0",
            "v0.60.4",
            "v0.60.3",
            "v0.60.2",
            "v0.60.1",
            "v0.60.0",
            "v0.59.0",
            "v0.58.0",
            "v0.57.0",
            "v0.56.0",
            "v0.55.0",
            "v0.54.1",
            "v0.54.0",
            "v0.53.1",
            "v0.53.0",
            "v0.52.0",
            "v0.51.1",
            "v0.51.0",
            "v0.49.1",
            "v0.49.0",
            "v0.48.1",
            "v0.48.0",
            "v0.47.1",
            "v0.47.0",
            "v0.46.0",
            "v0.45.0",
            "v0.44.1",
            "v0.44.0",
            "v0.43.0",
            "v0.42.0",
            "v0.41.0",
            "v0.40.0",
            "v0.39.0",
            "v0.38.0",
            "v0.37.0",
            "v0.36.1",
            "v0.36.0",
            "v0.35.0",
            "v0.34.0",
            "v0.33.0",
            "v0.32.0",
            "v0.31.0",
            "v0.30.0",
            "v0.29.0",
            "v0.28.1",
            "v0.28.0",
            "v0.27.0",
            "v0.26.0",
            "v0.25.0",
            "v0.24.1",
            "v0.24.0",
            "v0.23.0",
            "v0.22.0",
            "v0.21.0",
            "v0.20.0",
            "v0.20",
            "v0.19.0",
            "v0.18.1",
            "v0.18.0",
            "v0.17.0",
            "v0.16.0",
            "v0.15.2",
            "v0.15.1",
            "v0.15.0",
            "v0.14.1",
            "v0.14",
            "v0.13.1",
            "v0.13",
            "v0.12",
            "v0.11",
            "v0.11.0",
            "v0.10.1",
            "v0.10",
            "v0.9",
            "v0.8.0",
            "v0.7",
            "v0.5",
            "v0.6",
            "v0.4",
            "v0.3.1",
            "v0.3",
            "v0.2.2",
            "v0.2.1",
            "v0.2",
            "v0.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-44466.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:49.059643348Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44466.json",
        "https://github.com/zed-industries/zed/security/advisories/GHSA-c99f-97vf-4h5h",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-44466"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-78"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44466.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-44466",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 517483,
  "published_at": "2026-05-28T16:16:05.409+00:00"
}