GitHub Advisoryadvisory · PyPI
GHSA-4gc2-344q-r2rw MS-Agent vulnerable to Command Injection
MEDIUM
Official page ↗
- Aliases
- CVE-2026-2256
- Ecosystem
- PyPI
- Packages
- ms-agent
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
- Weaknesses
- CWE-77
- Reviewed
- 2026-03-04
Affected packages
• PyPI ms-agent: <= 1.6.0rc1 (no fix yet)
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.
Related
Alias · CVE (1)
- CVE-2026-2256 A command injection vulnerability in ModelScope's ms-agent versions v1.6.0rc1 and earlier exists, allowing an attacker to execute arbitrary… vulnerability
Weakness · CWE (1)
- CWE-77 Improper Neutralization of Special Elements used in a Command weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-2256 advisory
- https://github.com/Itamar-Yochpaz/CVE-2026-2256-PoC web
- https://github.com/modelscope/ms-agent package
- https://medium.com/@itamar.yochpaz/cve-2026-2256-from-ai-prompt-to-full-system-compromise-a4114c718326 web
- https://www.hiddenlayer.com/research/indirect-prompt-injection-of-claude-computer-use web
- https://www.kb.cert.org/vuls/id/431821 web