{"id":"CVE-2026-51856","url":"https://www.cyber-defence.io/tools/cve/CVE-2026-51856","generatedAt":"2026-10-28T10:37:13.514Z","title":"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.","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.","published":"2026-09-30T21:17:12.000Z","lastModified":"2026-10-01T17:17:26.000Z","status":"Deferred","sourceIdentifier":"cve@mitre.org","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"cwe":["CWE-94"],"affected":[],"epss":{"score":0.0042,"percentile":0.36166,"date":"2026-10-27","history":[{"date":"2026-10-01","score":0.00198,"percentile":0.08612}]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"high","text":"High impact if exploited, but EPSS currently rates exploitation as unlikely (0.42%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit."},"changes":[{"kind":"scored","label":"Newly scored","at":"2026-10-01T19:30:08.000Z","detail":{"from":null,"score":"9.8","severity":"CRITICAL","fromSeverity":null},"summary":"Now scored CVSS 9.8 CRITICAL."},{"kind":"new","label":"New CVE","at":"2026-09-30T21:17:12.000Z","detail":{"score":null,"severity":null,"publishedAt":"2026-09-30T21:17:11.520Z"},"summary":"New CVE, critical severity (CVSS 9.8)."}],"references":[{"url":"https://gist.github.com/Ro1ME/c383f66d1fd6de40b6693f9b6cc181e7","source":"cve@mitre.org"},{"url":"https://github.com/agentscope-ai/agentscope/issues/1563","source":"cve@mitre.org"},{"url":"https://gist.github.com/Ro1ME/c383f66d1fd6de40b6693f9b6cc181e7","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-51856","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}