CVE-2026-25807
JSON

8.8high

Unauthenticated Remote Code Execution via P2P Sharing in ZAI-Shell

Severity
8.8high CVSS:3.1 by GitHub_M
Exploit likelihood
0.71% (higher than 54% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

Description

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.

Affected

Product or packageVersionsReported by
TaklaXBR zai-shell< 9.0.3CVE List
taklaxbr zai_shellbefore 9.0.3NVD

Classification

CWE-94

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

ZAI Shell es un agente SysOps autónomo diseñado para navegar, reparar y asegurar entornos complejos. Prior a la versión 9.0.3, la función de compartición de terminal P2P (share start) abre un socket TCP en el puerto 5757 sin ningún mecanismo de autenticación. Cualquier atacante remoto puede conectarse a este puerto usando un script de socket simple. Un atacante que se conecta a una sesión P2P de ZAI-Shell ejecutándose en modo --no-ai puede enviar comandos de sistema arbitrarios. Si el usuario anfitrión aprueba el comando sin revisar su contenido, el comando se ejecuta directamente con los privilegios del usuario, eludiendo todas las comprobaciones de seguridad de Sentinel. Esta vulnerabilidad está corregida en la versión 9.0.3.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-25807 changed 2026-02-10CVE Terms of Use
NVDCVE-2026-25807 changed 2026-06-17Public domain