ModelScope MS-Agent 1.5.1 < 1.6.0 Command Injection (CVE-2026-2256)
| Reporter | Title | Published | Views | Family All 25 |
|---|---|---|---|---|
| Exploit for CVE-2026-2256 | 3 Jun 202619:43 | – | githubexploit | |
| Exploit for CVE-2026-2256 | 9 Feb 202608:40 | – | githubexploit | |
| CVE-2026-2256 | 2 Mar 202620:09 | – | attackerkb | |
| CVE-2026-2256 | 2 Mar 202623:59 | – | circl | |
| MS-Agent 安全漏洞 | 2 Mar 202600:00 | – | cnnvd | |
| CVE-2026-2256 | 2 Mar 202620:09 | – | cve | |
| CVE-2026-2256 Command injection vulnerability in ModelScope's ms-agent | 2 Mar 202620:09 | – | cvelist | |
| EUVD-2026-9257 | 2 Mar 202620:09 | – | euvd | |
| MS-Agent vulnerable to Command Injection | 2 Mar 202621:31 | – | github | |
| CVE-2026-2256-PoC | 15 Oct 202617:10 | – | kitploit |
10
#%NASL_MIN_LEVEL 80900
##
# (C) Tenable, Inc.
##
include('compat.inc');
if (description)
{
script_id(365564);
script_version("1.2");
script_set_attribute(attribute:"plugin_modification_date", value:"2026/10/15");
script_cve_id("CVE-2026-2256");
script_name(english:"ModelScope MS-Agent 1.5.1 < 1.6.0 Command Injection (CVE-2026-2256)");
script_set_attribute(attribute:"synopsis", value:
"The ModelScope MS-Agent library installed on the remote host is affected by a command injection vulnerability.");
script_set_attribute(attribute:"description", value:
"The version of ModelScope MS-Agent installed on the remote host is 1.5.1 or later but prior to 1.6.0. It is, therefore,
affected by a command injection vulnerability. The Shell tool runs commands on the host through a shell, guarded only
by a regex denylist that can be bypassed, allowing an attacker to execute arbitrary operating system commands through
crafted prompt-derived input. (CVE-2026-2256)
Note that although the advisory lists versions 1.6.0rc1 and earlier as affected, the vulnerable Shell tool was first
introduced in version 1.5.1. Versions prior to 1.5.1, including the legacy modelscope-agent package, do not contain it
and are not affected.
Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version
number.");
script_set_attribute(attribute:"see_also", value:"https://github.com/advisories/GHSA-4gc2-344q-r2rw");
script_set_attribute(attribute:"see_also", value:"https://github.com/modelscope/ms-agent/pull/880");
script_set_attribute(attribute:"see_also", value:"https://github.com/modelscope/ms-agent/releases/tag/v1.6.0");
script_set_attribute(attribute:"solution", value:
"Upgrade to ModelScope MS-Agent version 1.6.0 or later.");
script_set_attribute(attribute:"agent", value:"all");
script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:N");
script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N");
script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C");
script_set_attribute(attribute:"cvss_score_source", value:"CVE-2026-2256");
script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
script_set_attribute(attribute:"exploit_available", value:"false");
script_cwe_id(77, 94);
script_set_attribute(attribute:"vuln_publication_date", value:"2026/03/02");
script_set_attribute(attribute:"patch_publication_date", value:"2026/03/23");
script_set_attribute(attribute:"plugin_publication_date", value:"2026/10/14");
script_set_attribute(attribute:"plugin_type", value:"local");
script_set_attribute(attribute:"cpe", value:"cpe:/a:modelscope:ms-agent");
script_set_attribute(attribute:"thorough_tests", value:"true");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_family(english:"Artificial Intelligence");
script_copyright(english:"This script is Copyright (C) 2026 and is owned by Tenable, Inc. or an Affiliate thereof.");
script_dependencies("ms_agent_nix_installed.nbin", "ms_agent_win_installed.nbin");
script_require_keys("installed_sw/ModelScope MS-Agent");
exit(0);
}
include('vdf.inc');
# @tvdl-content
var vuln_data = {
'metadata': {'spec_version': '1.0'},
'checks': [
{
'product': {'name': 'ModelScope MS-Agent', 'type': 'app'},
'check_algorithm': 'default',
'constraints': [
{
'min_version': '1.5.1',
'fixed_version': '1.6.0'
}
]
}
]
};
var result = vdf::check_and_report(vuln_data:vuln_data, severity:SECURITY_WARNING);
vdf::handle_check_and_report_errors(vdf_result:result);
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
15 Oct 2026 00:00Current
9Critical risk
Vulners AI Score9
CVSS 3.16.5
EPSS0.01639
SSVC