CVEvulnerability

CVE-2026-51856

9.8 CRITICAL Published 2026-09-30 Modified 2026-10-01 Official page ↗
Status
Deferred
Published
2026-09-30
Last modified
2026-10-01
Assigner
[email protected]
CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-94

Description

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.

Related

Weakness · CWE (1)

  • CWE-94 Improper Control of Generation of Code weakness

References