Description
JoySafeter through 1.0.0 contains a remote code execution vulnerability that allows authenticated users to run operating system commands via an unsandboxed execute tool in Copilot standard mode. Attackers can self-register, select standard mode in the WebSocket chat.start extension, and have the agent invoke subprocess.run with shell=True on the host to access other tenants' data and server secrets.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| jd-opensource | JoySafeter | ≤ 1.0.0 | — |
References
- Lasso.security Advisory technical-description exploit
- https://github.com/jd-opensource/JoySafeter/blob/12234a11a9d96acef85577afb1fa5682169d6171/backend/app/core/agent/backends/utils/command_executor.py#L110 technical-description
- https://github.com/jd-opensource/JoySafeter/blob/12234a11a9d96acef85577afb1fa5682169d6171/backend/app/services/copilot_service.py#L106 technical-description
- VulnCheck Advisory: JoySafeter through 1.0.0 Authenticated RCE via Copilot Standard Mode Shell third-party-advisory