Command injection vulnerability in ModelScope's ms-agent
Published Mar 2, 2026
6.5
MEDIUMCVSS 3.1
EPSS 1.64%
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.
Affected products
-
- Version 0StatusaffectedConstraints<=v1.6.0rc1
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| ModelScope | MS-Agent | n/a |
|
No data.
No data.
Red Hat AI Inference Server
rhaiis-preview/vllm-cuda-rhel9
Fix deferred
Red Hat OpenShift AI (RHOAI)
rhoai/odh-kserve-agent-rhel9
Fix deferred
Red Hat OpenShift AI (RHOAI)
rhoai/odh-kserve-controller-rhel9
Fix deferred
Red Hat OpenShift AI (RHOAI)
rhoai/odh-kserve-router-rhel9
Fix deferred
Red Hat OpenShift AI (RHOAI)
rhoai/odh-kserve-storage-initializer-rhel9
Fix deferred
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat AI Inference Server | rhaiis-preview/vllm-cuda-rhel9 | Fix deferred | n/a |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-kserve-agent-rhel9 | Fix deferred | n/a |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-kserve-controller-rhel9 | Fix deferred | n/a |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-kserve-router-rhel9 | Fix deferred | n/a |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-kserve-storage-initializer-rhel9 | Fix deferred | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This MODERATE impact command injection vulnerability affects Red Hat AI Inference Server and Red Hat OpenShift AI (RHOAI) through the ModelScope ms-agent component. An attacker can execute arbitrary operating system commands by providing specially crafted input derived from prompts.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
PoCAutomatable
YesTechnical Impact
PartialDecision
n/aAssessed Mar 3, 2026 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 2, 2026.
Score over time
Mar–Oct 2026- EPSS v4
- EPSS v5
Percentile over time
- EPSS v4
- EPSS v5
Table of values (5 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 2, 2026 | 1.64% (0.01639) | 75.51th | v5 (v2026.06.15) |
| Jun 15, 2026 | 1.34% (0.01345) | 67.63th | v5 (v2026.06.15) |
| Apr 21, 2026 | 0.72% (0.00722) | 72.56th | v4 (v2025.03.14) |
| Mar 4, 2026 | 1.80% (0.01798) | 82.49th | v4 (v2025.03.14) |
| Mar 3, 2026 | 0.13% (0.00131) | 32.68th | v4 (v2025.03.14) |
References (10)
- https://access.redhat.com/security/cve/CVE-2026-2256 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2444016 Issue Tracking
- https://github.com/Itamar-Yochpaz/CVE-2026-2256-PoC
- https://github.com/advisories/GHSA-4gc2-344q-r2rw Advisory
- https://github.com/modelscope/ms-agent
- https://medium.com/@itamar.yochpaz/cve-2026-2256-from-ai-prompt-to-full-system-compromise-a4114c718326
- https://nvd.nist.gov/vuln/detail/CVE-2026-2256
- https://www.cve.org/CVERecord?id=CVE-2026-2256
- https://www.hiddenlayer.com/research/indirect-prompt-injection-of-claude-computer-use
- https://www.kb.cert.org/vuls/id/431821
Change history (0)
No recorded changes yet.