CVE-2026-51922 agentscope - Command Injection

agentscope v1.0.20 contains a command injection caused by unsanitized input in execute_shell_command in src/agentscope/tool/_coding/_shell.py, letting attackers execute arbitrary code or commands remotely, exploit requires attacker control of input.

CVSS base score 9.8 /10
Critical
CISA KEV
Not listed
Public exploit
None known
Authentication
Not required
EPSS
0.94% chance of exploitation in 30 days
View the NVD record ↗

Details

Type
Command Injection
Impact
Remote Code Execution
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
2 October 2026
Updated
15 October 2026
Weakness
CWE-94

Vendor fix

Update to the latest version.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

References

← All CVEs