SecurityContext

CVE-2026-2256: ModelScope ms-agent - Command Injection

  • Cve: CVE-2026-2256
  • Name: ModelScope ms-agent - 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.
  • Impact: Attackers can execute arbitrary operating system commands, potentially leading to full system compromise.
  • Remediation: Update to the latest version beyond v1.6.0rc1.
  • Vulnerability type: command_injection
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
  • Epss score: 0.02055
  • Epss percentile: 0.81781
  • Assignee: [email protected]
  • Published at: 2026-03-02T21:16:27Z
  • Age in days: 267
  • Modified at: 2026-06-17T10:30:38Z
  • Public exploits total: 3
  • References total: 5
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-2256
  • Nvd status: awaiting_analysis
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, products total, products, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-77Improper Neutralization of Special Elements used in a Command

Public exploits

Same in every row:

  • Source: poc-in-github
UrlAdded date
https://github.com/mruniversity/CVE-2026-2256-2026-06-04
https://github.com/melbratic/CVE-2026-2256-Threat-Model----ms-agent-Command-Injection2026-06-03
https://github.com/Itamar-Yochpaz/CVE-2026-2256-PoC2026-02-09

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://github.com/Itamar-Yochpaz/CVE-2026-2256-PoC
https://github.com/modelscope/ms-agent
https://medium.com/@itamar.yochpaz/cve-2026-2256-from-ai-prompt-to-full-system-compromise-a4114c718326
https://www.hiddenlayer.com/research/indirect-prompt-injection-of-claude-computer-use
https://www.kb.cert.org/vuls/id/431821

Projects

RepositoryLink kindsIndexedUrl
modelscope/ms-agentpackageyes/v1/repositories/modelscope/ms-agent

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 3
  • Public exploit first date: 2026-02-09
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts