CVE-2026-51922

Code Injection Vulnerability in agentscope Execute Shell Command

Published Oct 2, 2026 CVSS 3.1 · 9.8 Critical EPSS 1.1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Title Code Injection Vulnerability in agentscope Execute Shell Command
Type Values Removed Values Added
Title Code Injection Vulnerability in agentscope execute_shell_command allows Arbitrary Command Execution
Weaknesses CWE-78
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Title Code Injection Vulnerability in agentscope execute_shell_command allows Arbitrary Command Execution
First Time appeared Agentscope-ai
Agentscope-ai agentscope
Weaknesses CWE-78
CWE-94
Vendors & Products Agentscope-ai
Agentscope-ai agentscope
Type Values Removed Values Added
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.
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Oct 6, 2026, 2:26 AM
Reserved
Jun 8, 2026, 12:00 AM
Status
Deferred
Published
Oct 2, 2026, 4:16 PM
Modified
Oct 6, 2026, 3:17 AM