CVE-2026-51856: Vulnerability

Critical. 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...

CWE-94

Exploitation
None confirmed
Severity
9.8 of 10
Attack likelihood
Unknown
Fix
Unknown
Patch deadline
No deadline set

Details

Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-94
Published
30 Sept 2026
Last change
1 Oct 2026

Advisories

Vendor and security advisories