{"id":"CVE-2026-51856","aliases":["CVE-2026-51856"],"related":[],"kind":"vulnerability","state":"published","title":"In agentscope 1.0.18, 1.0.19, and 1.0.19 when the RealtimeAgent session exposes executepythoncode as an available tool, a remote WebSocket…","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-09-30T00:00:00.000Z","modified":"2026-10-01T17:17:25.740Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-94"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"}],"references":[{"url":"https://github.com/agentscope-ai/agentscope/issues/1563","tags":[],"sources":["cvelist","nvd"]},{"url":"https://gist.github.com/Ro1ME/c383f66d1fd6de40b6693f9b6cc181e7","tags":["exploit"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"total","date":"2026-10-01T16:08:56.059Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-51856","url":"https://www.cve.org/CVERecord?id=CVE-2026-51856","licence":"CVE Terms of Use","modified":"2026-10-01T16:09:52.586Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-51856","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-51856","licence":"Public domain","modified":"2026-10-01T17:17:25.740Z"}],"updatedAt":"2026-11-25T22:59:41.769Z","epss":{"score":0.0042,"percentile":0.38303,"date":"2026-12-01T12:00:22.000Z"}}