CVE-2026-25807 Unauthenticated Remote Code Execution via P2P Sharing in ZAI-Shell
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| TaklaXBR zai shell | < 9.0.3 | 9.0.3 | Fixed |
| TaklaXBR zai-shell | = < 9.0.3 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| TaklaXBR zai-shell | = < 9.0.3 | No fix listed |
| TaklaXBR zai shell | < 9.0.3 | 9.0.3 |
References
- https://github.com/TaklaXBR/zai-shell/security/advisories/GHSA-6pjj-r955-34rr exploit mitigation vendor-advisory
- https://github.com/TaklaXBR/zai-shell/commit/a4ea8525d912f55d6e2f09b2869966c52d189a4a patch
- https://github.com/TaklaXBR/zai-shell/releases/tag/v9.0.3 product release-notes