Arbitrary Command Injection Affecting ms-agent package, versions [0,1.6.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.76% (74th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-MSAGENT-15440541
  • published8 Mar 2026
  • disclosed2 Mar 2026
  • creditItamar Yochpaz

Introduced: 2 Mar 2026

CVE-2026-2256  (opens in a new tab)
CWE-77  (opens in a new tab)

How to fix?

Upgrade ms-agent to version 1.6.0 or higher.

Overview

ms-agent is a MS-Agent: Lightweight Framework for Empowering Agents with Autonomous Exploration

Affected versions of this package are vulnerable to Arbitrary Command Injection via the ms-agent process. An attacker can execute arbitrary operating system commands by supplying specially crafted input derived from prompts.

CVSS Base Scores

version 4.0
version 3.1