PYSEC-2026-2331

See a problem?
Import Source
https://github.com/pypa/advisory-database/blob/main/vulns/agentscope/PYSEC-2026-2331.yaml
JSON Data
https://api.osv.dev/v1/vulns/PYSEC-2026-2331
Aliases
Published
2026-07-13T15:02:51.724742Z
Modified
2026-07-13T16:31:27.894662169Z
Severity
  • 7.3 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L CVSS Calculator
  • 5.5 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P CVSS Calculator
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 executepythoncode/executeshellcommand 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.

References

Affected packages

PyPI / agentscope

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
1.0.18

Affected versions

0.*
0.0.1
0.0.2
0.0.3
0.0.4
0.0.5a1
0.0.5
0.0.6a1
0.0.6a2
0.1.0
0.1.1
0.1.3.dev0
0.1.3
0.1.4
0.1.5.dev0
0.1.5
0.1.6
1.*
1.0.0
1.0.1
1.0.2
1.0.3
1.0.4
1.0.5
1.0.6
1.0.7
1.0.8
1.0.9.dev0
1.0.9
1.0.10
1.0.11
1.0.12
1.0.13
1.0.14
1.0.15
1.0.16.dev0
1.0.16
1.0.17
1.0.18

Database specific

source
"https://github.com/pypa/advisory-database/blob/main/vulns/agentscope/PYSEC-2026-2331.yaml"