modelscope/ms-agent · Security
MS-Agent vulnerable to Command Injection
- GHSA ID
- GHSA-4gc2-344q-r2rw
- CVE ID
- CVE-2026-2256
- Severity
- medium
- Published
- Updated
- CVSS
- 6.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
- CVSS v3
- 6.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Description
A Command Injection vulnerability in ModelScope's MS-Agent versions v1.6.0rc1 and earlier exists, allowing an attacker to execute arbitrary operating system commands through crafted prompt-derived input.
CWEs
- CWE-77 · Improper Neutralization of Special Elements used in a Command ('Command Injection')
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-2256 ↗
- https://github.com/Itamar-Yochpaz/CVE-2026-2256-PoC ↗
- https://github.com/modelscope/ms-agent ↗
- https://medium.com/@itamar.yochpaz/cve-2026-2256-from-ai-prompt-to-full-system-compromise-a4114c718326 ↗
- https://www.hiddenlayer.com/research/indirect-prompt-injection-of-claude-computer-use ↗
- https://www.kb.cert.org/vuls/id/431821 ↗
- https://github.com/advisories/GHSA-4gc2-344q-r2rw ↗