# CVE-2026-6603: modelscope agentscope _python.py execute_shell_command code injection

- Severity: Medium 6.9 (CVSS:4.0, scored by VulDB) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 26% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-20T04:00:20.462Z
- Modified: 2026-10-26T21:10:00.170Z
- Also known as: GHSA-cr24-fv3h-8cjm, PYSEC-2026-2331
- Weaknesses: CWE-74, CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: VulDB

## 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.

(As written by CVE List.)

## Affected

- modelscope agentscope: 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; 1.0.10; 1.0.11; and 7 more
- agentscope (PyPI): up to 1.0.18

## Every score

- VulDB: CVSS:4.0 6.9 Medium `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`
- VulDB: CVSS:3.1 7.3 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R`
- VulDB: CVSS:3.0 7.3 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R`
- VulDB: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:UR`
- GitHub: CVSS:3.1 7.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`
- GitHub: CVSS:4.0 Medium `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`
- PyPA Advisory Database: CVSS:3.1 7.3 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`
- PyPA Advisory Database: CVSS:4.0 `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`

## References

- <https://gist.github.com/YLChen-007/c084d69aaeda6729f3988603f2b0ce6e> (exploit, web)
- <https://vuldb.com/vuln/358238> (technical-description, vdb-entry, web)
- <https://vuldb.com/vuln/358238/cti> (permissions-required, signature, web)
- <https://vuldb.com/submit/792223> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-6603> (advisory)
- <https://github.com/agentscope-ai/agentscope> (package)
- <https://pypi.org/project/agentscope> (package)
- <https://github.com/advisories/GHSA-cr24-fv3h-8cjm> (advisory)

## Sources

- CVE List: [CVE-2026-6603](https://www.cve.org/CVERecord?id=CVE-2026-6603), CVE Terms of Use, modified 2026-04-20
- GitHub Advisory Database: [GHSA-cr24-fv3h-8cjm](https://github.com/advisories/GHSA-cr24-fv3h-8cjm), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2026-6603](https://nvd.nist.gov/vuln/detail/CVE-2026-6603), Public domain, modified 2026-10-26
- PyPA Advisory Database: [PYSEC-2026-2331](https://osv.dev/vulnerability/PYSEC-2026-2331), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-6603 · Whole record: https://cve.day/CVE-2026-6603.json · Rebuilt by cve.day 2026-11-25T22:59:19.018Z
