{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-51856","published":"2026-09-30T21:17:11.520000Z","last_modified":"2026-10-01T17:17:25.740000Z","status":"Deferred","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","primary":false},"auth":false,"cwes":["CWE-94"],"cpes":[],"cpes_truncated":false,"vendors":[],"products":[],"ssvc":{"exploitation":"poc","automatable":"yes","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"critical","priority_score":74,"links":{"html_es":"/es/cve/CVE-2026-51856/","html_en":"/en/cve/CVE-2026-51856/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-51856","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-51856"},"untrusted":{"desc_en":"In agentscope 1.0.18, 1.0.19, and 1.0.19 when the RealtimeAgent session exposes execute_python_code as an available tool, a remote WebSocket user can prompt the agent to call that tool and run Python code in the service environment. In the validated path, RealtimeAgent._acting forwards the model-produced tool call to Toolkit.call_tool_function, which invokes execute_python_code without an additional approval or isolation boundary on that path.","affected":[],"ai":{"model":"us.anthropic.claude-haiku-4-5-20251001-v1:0","prompt_version":"2","input_hash":"535c2219bc2f9b5e8174a110bc4e3df9","generated":"2026-11-26T21:26:14.622830Z","es":{"untrusted_title":"Ejecución remota de código Python sin autenticación en AgentScope","untrusted_summary":"AgentScope versiones 1.0.18 y 1.0.19 permiten que usuarios remotos ejecuten código Python arbitrario a través de WebSocket cuando RealtimeAgent expone la herramienta execute_python_code. El agente procesa llamadas de herramientas del modelo sin validación adicional ni aislamiento, permitiendo ejecución de código en el entorno del servicio sin autenticación."},"en":{"untrusted_title":"Remote Python Code Execution without Authentication in AgentScope","untrusted_summary":"AgentScope versions 1.0.18 and 1.0.19 allow remote users to execute arbitrary Python code via WebSocket when RealtimeAgent exposes the execute_python_code tool. The agent processes model-generated tool calls without additional validation or isolation, enabling code execution in the service environment without authentication."},"remediation":{"status":"unknown","fixed_versions":[],"untrusted_action_es":"Actualiza AgentScope a una versión posterior a 1.0.19 cuando esté disponible. Mientras tanto, desactiva la herramienta execute_python_code en RealtimeAgent o restringe el acceso a WebSocket.","untrusted_action_en":"Update AgentScope to a version after 1.0.19 when available. In the meantime, disable the execute_python_code tool in RealtimeAgent or restrict WebSocket access.","vendor_url":"https://github.com/agentscope-ai/agentscope/issues/1563"},"reviewed":false},"references":[{"url":"https://gist.github.com/Ro1ME/c383f66d1fd6de40b6693f9b6cc181e7","tags":[]},{"url":"https://github.com/agentscope-ai/agentscope/issues/1563","tags":[]}]}}