{"id":"CVE-2026-2256","aliases":["EUVD-2026-9257","GHSA-4gc2-344q-r2rw","PYSEC-2026-2668"],"status":"published","title":"Command injection vulnerability in ModelScope's ms-agent","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.","severity":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","level":"medium","assessor":"adp","from":"cve"},"epss":{"day":"2026-11-08","score":0.02055,"percentile":0.81419,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"cwes":["CWE-77"],"published":"2026-03-02T20:09:11Z","modified":"2026-10-28T02:31:10Z","exploits":[{"source":"pocgithub","id":"Itamar-Yochpaz/CVE-2026-2256-PoC","title":"Itamar-Yochpaz/CVE-2026-2256-PoC","date":"2026-02-09","url":"https://github.com/Itamar-Yochpaz/CVE-2026-2256-PoC"},{"source":"pocgithub","id":"melbratic/CVE-2026-2256-Threat-Model----ms-agent-Command-Injection","title":"melbratic/CVE-2026-2256-Threat-Model----ms-agent-Command-Injection","date":"2026-06-03","url":"https://github.com/melbratic/CVE-2026-2256-Threat-Model----ms-agent-Command-Injection"},{"source":"pocgithub","id":"mruniversity/CVE-2026-2256-","title":"mruniversity/CVE-2026-2256-","date":"2026-06-04","url":"https://github.com/mruniversity/CVE-2026-2256-"}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"ms-agent","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.6.0rc1"}]}]},{"source":"osv","ecosystem":"PyPI","package":"ms-agent","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.6.0rc1"}]}],"versions":["0.0.0","1.0.0","1.0.0rc0","1.0.1rc0","1.1.0","1.1.1","1.1.2","1.2.0","1.3.0","1.4.0","1.5.0","1.5.1","1.5.2","1.6.0rc0","1.6.0rc1"]},{"source":"osv","ecosystem":"PyPI","package":"ms-agent","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.6.0rc1"}]}],"versions":["0.0.0","1.0.0","1.0.0rc0","1.0.1rc0","1.1.0","1.1.1","1.1.2","1.2.0","1.3.0","1.4.0","1.5.0","1.5.1","1.5.2","1.6.0rc0","1.6.0rc1"]}],"products":[{"vendor":"modelscope","product":"ms-agent"}],"references":[{"url":"https://github.com/modelscope/ms-agent","tags":["package"]},{"url":"https://www.hiddenlayer.com/research/indirect-prompt-injection-of-claude-computer-use","tags":["web"]},{"url":"https://medium.com/@itamar.yochpaz/cve-2026-2256-from-ai-prompt-to-full-system-compromise-a4114c718326","tags":["web"]},{"url":"https://github.com/Itamar-Yochpaz/CVE-2026-2256-PoC","tags":["package","web"]},{"url":"https://www.kb.cert.org/vuls/id/431821","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-2256","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-4gc2-344q-r2rw","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/2xxx/CVE-2026-2256.json","tags":["advisory"]},{"url":"https://pypi.org/project/ms-agent","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2026-2256","title":"Command injection vulnerability in ModelScope's ms-agent","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.","status":"published","published":"2026-03-02T20:09:11.808Z","modified":"2026-03-03T20:07:24.775Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","level":"medium","assessor":"adp"}],"cwes":["CWE-77"],"updated_at":"2026-11-02T13:48:35.749498Z"}],"euvd":[{"id":"EUVD-2026-9257","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.","status":"published","published":"2026-03-02T20:09:11Z","modified":"2026-03-03T20:07:24Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T19:48:11.637968Z"}],"ghsa":[{"id":"GHSA-4gc2-344q-r2rw","title":"MS-Agent vulnerable to Command Injection","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.","status":"published","published":"2026-03-02T21:31:32Z","modified":"2026-03-04T21:14:09Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-77"],"updated_at":"2026-11-02T14:39:31.060223Z"}],"nvd":[{"id":"CVE-2026-2256","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.","status":"published","published":"2026-03-02T21:16:27.797Z","modified":"2026-06-17T10:30:38.7Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-77"],"updated_at":"2026-11-02T14:12:07.420927Z"}],"osv":[{"id":"CVE-2026-2256","title":"Command injection vulnerability in ModelScope's ms-agent","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.","status":"published","published":"2026-03-02T20:09:11.808Z","modified":"2026-10-28T02:31:10.244531454Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:58.42038Z"},{"id":"GHSA-4gc2-344q-r2rw","title":"MS-Agent vulnerable to Command Injection","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.","status":"published","published":"2026-03-02T21:31:32Z","modified":"2026-07-13T16:42:55.896361806Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-77"],"updated_at":"2026-11-02T15:46:37.148947Z"},{"id":"PYSEC-2026-2668","title":"MS-Agent vulnerable to Command Injection","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.","status":"published","published":"2026-07-13T14:36:40.119155Z","modified":"2026-07-13T16:32:39.626820915Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:52:55.961245Z"}]}}
