SECURELYN

CVE-2026-51856

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.

Scores

9.8
CVSS 9.8 out of 10, critical severity.
0.3%
EPSS 0.3% chance of exploitation in the next 30 days.

The facts

Published
30 September 2026
Last changed
1 October 2026
NVD status
Deferred
Severity
Critical, CVSS 9.8 out of 10 (version 3.1)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
Known exploited
Not in the CISA Known Exploited Vulnerabilities catalogue in this build.
EPSS
0.3% chance of exploitation activity in the next 30 days (percentile 25).

Is there a Securelyn advisory?

Not yet. Securelyn writes plain-English advisories for the flaws that matter most to businesses. Subscribe to the digest to hear about them.

References