CVE-2026-2256: MS-Agent Command Injection Vulnerability

ms-agent Updated 04 Mar 2026

Summary

02/03/2026
No i
Moderate
6.5

CVE-2026-2256: MS-Agent vulnerable to Command Injection. Affects ms-agent versions < 1.6.0rc1. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

MS-Agent is a Python package available on PyPI that facilitates various functionalities related to model management and interaction. It is widely used in machine learning applications for handling model deployment and inference tasks. However, versions v1.6.0rc1 and earlier are susceptible to a command injection vulnerability, which can lead to severe security risks if exploited.

Vulnerability Detail

The vulnerability arises from improper handling of user input in MS-Agent, allowing an attacker to inject arbitrary operating system commands through crafted prompt-derived input. This can lead to unauthorized command execution on the host system, potentially compromising sensitive data and system integrity. The vulnerability is classified under CWE-77, indicating a command injection flaw, and has a CVSS score of 6.5, reflecting its moderate severity.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, users should sanitize and validate all user inputs to prevent command injection. This can be done by implementing strict input validation rules and avoiding the execution of commands derived from user input without thorough checks.

Conclusion

In summary, CVE-2026-2256 is a command injection vulnerability in the MS-Agent package that can lead to serious security issues if not addressed. Users are advised to update to the latest version to mitigate risks and should consider implementing input validation as a temporary measure.

See every vulnerability recorded for ms-agent →

Share this vulnerability

FAQ

CVE-2026-2256 is a command injection vulnerability found in the MS-Agent package, allowing attackers to execute arbitrary commands on the host system.

The affected versions are MS-Agent v1.6.0rc1 and earlier.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

If an immediate update is not possible, ensure to sanitize and validate all user inputs to mitigate the risk of command injection.

The CVSS score of this vulnerability is 6.5, indicating a moderate severity level.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback