CVE-2026-51856: n/a
CVE-2026-51856 is a vulnerability in agentscope versions 1.0.18 and 1.0.19 where the RealtimeAgent session exposes an execute_python_code tool that can be invoked remotely via WebSocket. This allows a remote user to execute arbitrary Python code in the service environment without additional approval or isolation.
AI Analysis
Technical Summary
In agentscope versions 1.0.18 and 1.0.19, the RealtimeAgent session exposes execute_python_code as an available tool. A remote WebSocket user can prompt the agent to call this tool, leading to execution of arbitrary Python code in the service environment. The vulnerability arises because RealtimeAgent._acting forwards the model-produced tool call to Toolkit.call_tool_function, which invokes execute_python_code without any additional approval or isolation boundary on this path.
Potential Impact
A remote attacker with access to the WebSocket interface can execute arbitrary Python code on the affected system, potentially leading to full compromise of the service environment. This could allow unauthorized actions, data access, or system manipulation depending on the environment's privileges.
Mitigation Recommendations
No patch or official fix information is provided. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict or disable access to the RealtimeAgent session's execute_python_code tool over WebSocket to prevent remote code execution.
CVE-2026-51856: n/a
Description
CVE-2026-51856 is a vulnerability in agentscope versions 1.0.18 and 1.0.19 where the RealtimeAgent session exposes an execute_python_code tool that can be invoked remotely via WebSocket. This allows a remote user to execute arbitrary Python code in the service environment without additional approval or isolation.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
In agentscope versions 1.0.18 and 1.0.19, the RealtimeAgent session exposes execute_python_code as an available tool. A remote WebSocket user can prompt the agent to call this tool, leading to execution of arbitrary Python code in the service environment. The vulnerability arises because RealtimeAgent._acting forwards the model-produced tool call to Toolkit.call_tool_function, which invokes execute_python_code without any additional approval or isolation boundary on this path.
Potential Impact
A remote attacker with access to the WebSocket interface can execute arbitrary Python code on the affected system, potentially leading to full compromise of the service environment. This could allow unauthorized actions, data access, or system manipulation depending on the environment's privileges.
Mitigation Recommendations
No patch or official fix information is provided. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict or disable access to the RealtimeAgent session's execute_python_code tool over WebSocket to prevent remote code execution.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- mitre
- Date Reserved
- 2026-06-08T00:00:00.000Z
- State
- PUBLISHED
Threat ID: 6abd79352a4e24523d9783cf
Added to database: 09/30/2026, 21:03:49 UTC
Last enriched: 09/30/2026, 21:18:28 UTC
Last updated: 09/30/2026, 22:30:27 UTC
Views: 6
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.