Skip to content
Heist/ feed
Back to feed
High

Unauthenticated Remote Code Execution via P2P Sharing in ZAI-Shell

Type: advisorySources: OSV

ZAI Shell is an autonomous SysOps agent designed to navigate, repair, and secure complex environments. Prior to 9.0.3, the P2P terminal sharing feature (share start) opens a TCP socket on port 5757 without any authentication mechanism. Any remote attacker can connect to this port using a simple socket script. An attacker who connects to a ZAI-Shell P2P session running in --no-ai mode can send arbitrary system commands. If the host user approves the command without reviewing its contents, the command executes directly with the user's privileges, bypassing all Sentinel safety checks. This vulnerability is fixed in 9.0.3.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-25807
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 15:32 UTC · Revision 1

Source evidence

Unauthenticated Remote Code Execution via P2P Sharing in ZAI-Shell

core-osv · Original source

Published 9 Feb 2026, 21:46 UTC

ZAI Shell is an autonomous SysOps agent designed to navigate, repair, and secure complex environments. Prior to 9.0.3, the P2P terminal sharing feature (share start) opens a TCP socket on port 5757 without any authentication mechanism. Any remote attacker can connect to this port using a simple socket script. An attacker who connects to a ZAI-Shell P2P session running in --no-ai mode can send arbitrary system commands. If the host user approves the command without reviewing its contents, the command executes directly with the user's privileges, bypassing all Sentinel safety checks. This vulnerability is fixed in 9.0.3.

osv:CVE-2026-25807
Complete source record
{
  "id": "31dbfc2d1b9467c5b1e7eccc15de7ffac9a68cc1a19bac3947facd7b75a7a365",
  "url": "https://osv.dev/vulnerability/CVE-2026-25807",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Unauthenticated Remote Code Execution via P2P Sharing in ZAI-Shell",
    "summary": "ZAI Shell is an autonomous SysOps agent designed to navigate, repair, and secure complex environments. Prior to 9.0.3, the P2P terminal sharing feature (share start) opens a TCP socket on port 5757 without any authentication mechanism. Any remote attacker can connect to this port using a simple socket script. An attacker who connects to a ZAI-Shell P2P session running in --no-ai mode can send arbitrary system commands. If the host user approves the command without reviewing its contents, the command executes directly with the user's privileges, bypassing all Sentinel safety checks. This vulnerability is fixed in 9.0.3.",
    "evidence": "osv:CVE-2026-25807",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-25807",
      "aliases": [
        "CVE-2026-25807",
        "GHSA-6pjj-r955-34rr"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/taklaxbr/zai-shell",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "9f7742825a4fe3c8f40b5b7f2c3573260bce2536"
                },
                {
                  "fixed": "a4ea8525d912f55d6e2f09b2869966c52d189a4a"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:taklaxbr:zai_shell:*:*:*:*:*:python:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "9.0.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "a4ea8525d912f55d6e2f09b2869966c52d189a4a"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "9f7742825a4fe3c8f40b5b7f2c3573260bce2536"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v9.0.3"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v9.0.2",
            "v9.0.1",
            "v9.0",
            "v8.1.2",
            "v8.1.1",
            "v8.1",
            "v8.0",
            "v7.0.3",
            "v7.0.2",
            "v7.0.1",
            "v7.0",
            "v6.0.1",
            "v6.0",
            "v5.0.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-25807.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:36.814187116Z",
      "provider": "osv",
      "references": [
        "https://github.com/TaklaXBR/zai-shell/releases/tag/v9.0.3",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/25xxx/CVE-2026-25807.json",
        "https://github.com/TaklaXBR/zai-shell/security/advisories/GHSA-6pjj-r955-34rr",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-25807",
        "https://github.com/TaklaXBR/zai-shell/commit/a4ea8525d912f55d6e2f09b2869966c52d189a4a"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-94"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/25xxx/CVE-2026-25807.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-25807",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 504163,
  "published_at": "2026-02-09T21:46:20.164+00:00"
}