GitHub Advisoryadvisory · PyPI

GHSA-cr24-fv3h-8cjm AgentScope Vulnerable to Remote Code Injection

MEDIUM Published 2026-04-20 Modified 2026-04-30 Official page ↗
Aliases
CVE-2026-6603
Ecosystem
PyPI
Packages
agentscope
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Weaknesses
CWE-74
Reviewed
2026-04-30

Affected packages

• PyPI agentscope: <= 1.0.18 (no fix yet)

Description

A vulnerability was determined in modelscope agentscope up to 1.0.18. Affected by this vulnerability is the function execute_python_code/execute_shell_command of the file src/AgentScope/tool/_coding/_python.py. This manipulation causes code injection. The attack is possible to be carried out remotely. The exploit has been publicly disclosed and may be utilized. The vendor was contacted early about this disclosure but did not respond in any way.

Related

Alias · CVE (1)

  • CVE-2026-6603 A vulnerability was determined in modelscope agentscope up to 1.0.18. vulnerability

Weakness · CWE (1)

  • CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component weakness

References