惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Y
Y Combinator Blog
The GitHub Blog
The GitHub Blog
Vercel News
Vercel News
D
DataBreaches.Net
MongoDB | Blog
MongoDB | Blog
H
Help Net Security
小众软件
小众软件
美团技术团队
T
The Blog of Author Tim Ferriss
爱范儿
爱范儿
D
Docker
Martin Fowler
Martin Fowler
大猫的无限游戏
大猫的无限游戏
博客园 - 聂微东
Blog — PlanetScale
Blog — PlanetScale
H
Hackread – Cybersecurity News, Data Breaches, AI and More
罗磊的独立博客
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
V
V2EX
S
SegmentFault 最新的问题
云风的 BLOG
云风的 BLOG
B
Blog
雷峰网
雷峰网
The Cloudflare Blog

CERT Recently Published Vulnerability Notes

CERT/CC Vulnerability Note VU#369611 CERT/CC Vulnerability Note VU#687587 CERT/CC Vulnerability Note VU#718077 CERT/CC Vulnerability Note VU#859658 CERT/CC Vulnerability Note VU#943094 CERT/CC Vulnerability Note VU#889462 CERT/CC Vulnerability Note VU#456290 CERT/CC Vulnerability Note VU#308749 CERT/CC Vulnerability Note VU#728712 CERT/CC Vulnerability Note VU#756733 CERT/CC Vulnerability Note VU#874418 CERT/CC Vulnerability Note VU#431093 CERT/CC Vulnerability Note VU#614868 CERT/CC Vulnerability Note VU#987105 CERT/CC Vulnerability Note VU#487613 CERT/CC Vulnerability Note VU#243636 CERT/CC Vulnerability Note VU#281278 CERT/CC Vulnerability Note VU#790363 CERT/CC Vulnerability Note VU#293714 CERT/CC Vulnerability Note VU#305509 CERT/CC Vulnerability Note VU#141367 CERT/CC Vulnerability Note VU#492466 CERT/CC Vulnerability Note VU#847406 CERT/CC Vulnerability Note VU#360868 CERT/CC Vulnerability Note VU#762226 CERT/CC Vulnerability Note VU#885548 CERT/CC Vulnerability Note VU#326070 CERT/CC Vulnerability Note VU#529388 CERT/CC Vulnerability Note VU#725167 CERT/CC Vulnerability Note VU#564823
CERT/CC Vulnerability Note VU#431821
2026-03-02 · via CERT Recently Published Vulnerability Notes

Overview

A command injection vulnerability was identified in the MS-Agent framework that can be triggered through unsanitized prompt-derived input. An attacker can craft untrusted input introduced via a chat prompt or other external content sources, resulting in arbitrary command execution on the target system(s) where the MS-Agent framework is deployed. No patch or vendor statement was obtained during the coordination process.

Description

MS-Agent is a lightweight framework that enables agents to perform autonomous task execution and tool invocation. The MS-Agent framework includes several features, including a Shell tool that enables execution of commands on the target operating system to complete agentic actions.

A vulnerability has been identified that allows unsanitized input to be executed through the Shell tool. This occurs because the software does not sufficiently verify and sanitize content before execution. As a result, an attacker can leverage prompt injection techniques to influence the agent into executing unintended shell commands when interacting with attacker-controlled content.

The Shell tool relies on regular expression–based filtering in the check_safe() method, which is intended to restrict unsafe commands. The implemented default denylist can be bypassed, allowing crafted input to evade validation checks and reach the shell execution layer.

The vulnerability is tracked as:

CVE-2026-2256
Command injection vulnerability in ModelScope's ms-agent allows an attacker to execute arbitrary operating system commands through crafted prompt-derived input.

This vulnerability may be exploited when the agent is instructed to process or retrieve external content, such as analyzing code, summarizing documents, or performing other tasks that involve interacting with attacker-controlled data. If the retrieved or processed content contains malicious command sequences that bypass the check_safe() validation, the agent may forward those commands to the Shell tool for execution.

The use of a regular expression denylist in the check_safe() method is insufficient to prevent command injection. Denylist-based filtering is inherently fragile and can often be bypassed through encoding, command obfuscation, or alternative shell syntax. In this case, the filtering logic can be circumvented, enabling arbitrary command execution within the execution context of the agent process.

Impact

An attacker who successfully exploits this vulnerability may execute arbitrary operating system commands on the target with the privileges of the MS-Agent process. This may allow modification of system files, lateral movement within the environment, establishment of persistence mechanisms, or exfiltration of sensitive data accessible to the agent.

Solution

No statement was provided by the vendor during coordination efforts. Users should deploy MS-Agent only in environments where ingested content is trusted, validated, or sanitized. Agents with shell execution capabilities should be sandboxed or executed with least-privilege permissions. Additional mitigation strategies include replacing denylist-based filtering with strict allowlists and implementing stronger isolation boundaries for tool execution.

Acknowledgements

Thanks to the reporter, Itamar Yochpaz, for this report. Document written by Christopher Cullen.

Vendor Information

431821


Other Information

CVE IDs: CVE-2026-2256
API URL: VINCE JSON | CSAF
Date Public: 2026-03-02
Date First Published: 2026-03-02
Date Last Updated: 2026-03-02 20:09 UTC
Document Revision: 1