CVE-2026-51922
Code Injection Without Authentication in AgentScope
Critical 9.8 No auth needed
Follow: this CVE We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- —
- Auth required
- No
- Published
- Oct 2, 2026
- Updated
- Oct 6, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-94
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
AgentScope v1.0.20 contains a code injection vulnerability in the execute_shell_command function. An unauthenticated attacker can execute arbitrary commands or code if the entry point is exposed, gaining full system access.
Show the original NVD text
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.
What to do
No patch data
Update AgentScope to a version later than v1.0.20 when available. In the meantime, restrict access to the execute_shell_command function and validate all inputs.
- Check whether you run any of the affected products and follow the vendor advisory.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Official sources
References
Links published by the sources. Open them with care.