Advisory

GHSA-cr24-fv3h-8cjm

Also known as: CVE-2026-6603, PYSEC-2026-2331

Summary

AgentScope Vulnerable to Remote Code Injection

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-04-20 06:31 UTC
Modified
2026-07-13 16:43 UTC

Affected packages and fixes

agentscope

PyPI · All systems

Affected

  • introduced 0, last affected 1.0.18 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences