{"id":"CVE-2026-51922","title":"agentscope v1.0.20 contains code injection in execute_shell_command (src/agentscope/tool/_coding/_shell.py)","summary":"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.","severity":"critical","cvss":9.8,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","cwe":["CWE-94"],"published":"2026-10-02","updated":"2026-10-06","sourceUpdated":"2026-10-06T03:17:03.040","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-51922","references":[{"url":"https://gist.github.com/Ro1ME/78910899a99e2ba702d588e477d0755f","label":"cve@mitre.org"},{"url":"https://github.com/agentscope-ai/agentscope/issues/1645","label":"cve@mitre.org"},{"url":"https://github.com/agentscope-ai/agentscope/issues/1645","label":"134c704f-9b21-4f2e-91b3-4a467353bcc0"}],"tags":["nvd","cve.org","exploit-available"],"exploitAvailable":true,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2026-10-06T02:25:18.817151Z"},"epss":0.01138,"epssPercentile":0.66408,"ingestedAt":"2026-10-02T16:22:59.535Z","slug":"CVE-2026-51922","body":"## Overview\n\nagentscope 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.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"abyssal","depthScore":66,"depthScoreParts":{"impact":53.9,"likelihood":0.2,"exploitation":12,"ransomware":0},"changes":[{"seq":216180,"id":"CVE-2026-51922","ts":1791265681021,"field":"exploit_available","old":"false","new":"true"},{"seq":216179,"id":"CVE-2026-51922","ts":1791265681021,"field":"cvss","old":null,"new":"9.8"},{"seq":216178,"id":"CVE-2026-51922","ts":1791265681021,"field":"severity","old":"none","new":"critical"}]}