{"id":"CVE-2026-51922","published":"2026-10-02T16:16:51.123","lastModified":"2026-10-06T03:17:03.040","description":"agentscope v1.0.20 contains code injection in execute_shell_command (src/agentscope/tool/_coding/_shell.py). Depending on the exposed entry, an attacker can trigger attacker-controlled code or command execution.","cvssScore":9.8,"cvssSeverity":"CRITICAL","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","cwes":["CWE-94"],"vendors":[],"products":[],"references":[{"url":"https://gist.github.com/Ro1ME/78910899a99e2ba702d588e477d0755f","tags":[]},{"url":"https://github.com/agentscope-ai/agentscope/issues/1645","tags":[]},{"url":"https://github.com/agentscope-ai/agentscope/issues/1645","tags":[]}],"exploitRefs":[{"url":"https://gist.github.com/Ro1ME/78910899a99e2ba702d588e477d0755f","tags":[]},{"url":"https://github.com/agentscope-ai/agentscope/issues/1645","tags":[]},{"url":"https://github.com/agentscope-ai/agentscope/issues/1645","tags":[]}],"hasPoc":true,"ai":{"summary":"The flaw allows code injection in agentscope v1.0.20, enabling attackers to execute arbitrary commands, which can lead to full system compromise.","exploitability":"Exploitation is relatively straightforward given the code injection vulnerability, requiring an attacker to trigger the affected function.","blast_radius":"If exploited, this can result in complete system compromise, data theft, and potential lateral movement within the network.","remediation":"Upgrade to agentscope v1.0.21 or later.","detection":"No reliable host or network indicator is derivable from the published description.","tags":["rce","code-injection","command-execution"],"model":"qwen2.5:7b-instruct","analyzedAt":"2026-10-06T08:44:32.237Z"}}