Skip to main content

ModelScope AgentScope EUVDEUVD-2026-90427

| CVE-2026-51570 HIGH
Path Traversal (CWE-22)
2026-09-30 mitre GHSA-pwqj-xpq4-649r
8.1
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach exposed AgentScope agent/tool interface
  2. Delivery
    Inject crafted path into insert_text_file argument
  3. Exploit
    Traverse outside intended working directory
  4. Execution
    Read or overwrite arbitrary host files
  5. Impact
    Compromise confidentiality and integrity

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires a running instance of ModelScope AgentScope version 1.0.0 through 1.0.8 where the built-in insert_text_file file tool is reachable and its path/filename argument can be influenced by the attacker (typically via an agent tool call, an exposed agent API, or prompt injection through untrusted content the agent processes). Exploitation is limited by: the need for at least low-privilege access to the agent/tool surface (PR:L) rather than pure anonymous access; network reachability of the agent service for AV:N to hold; and the traversal being confined to files the AgentScope process user can read/write. No user interaction is required (UI:N), and default configurations of the affected versions are vulnerable where the tool is enabled.

Impact

Signals are mixed and point to a real but conditional risk. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N, 8.1 High) describes a low-complexity, network-reachable flaw requiring only low privileges and no user interaction, with high confidentiality and integrity impact - consistent with an arbitrary file read/write via path traversal in AgentScope's built-in insert_text_file tool. However, no EPSS score, no CISA KEV listing, and no vendor-confirmed POC flag are present in the input, so there is no evidence of active or automated exploitation; the sole reference is a third-party GitHub gist (by 'Ro1ME') that likely contains the disclosure/technical detail but is not marked as a weaponized exploit. The PR:L rating is the key nuance: AgentScope is a developer framework, and insert_text_file is a tool the LLM agent invokes, so 'exploitation' typically means an attacker who can influence agent inputs (e.g., via prompt injection or an authenticated API/tool call) rather than a fully unauthenticated internet attacker - the network AV:N holds only when the agent service is exposed. Net: a legitimately high-impact bug worth patching promptly for anyone running the affected versions, but not a mass-exploitation emergency given the niche footprint and absence of KEV/EPSS/POC evidence.

Exploit ScenarioDerived

An attacker who can control input to an AgentScope agent (for example through prompt injection in untrusted content, or by calling an exposed agent/tool endpoint with low-privilege access) supplies a file path containing traversal sequences (e.g., ../../) to the insert_text_file tool. Because the path is not confined to the intended working directory, the agent reads or writes files outside it - overwriting configuration, source, or secret files (or disclosing their contents), potentially escalating to code execution. No public weaponized exploit is confirmed in the input, though the referenced gist likely documents the technical details.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 30, 2026

Path traversal in ModelScope AgentScope 1.0.0 through 1.0.8 allows an attacker who can reach the built-in insert_text_file tool and influence its path or filename argument to read and write files outside the intended workspace directory, giving both high confidentiality and high integrity impact (CVSS 8.1, AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N). The attacker is not anonymous: exploitation requires at least low-privilege access to the agent or tool surface (PR:L), typically via a direct agent tool call, an exposed agent API endpoint, or prompt injection through untrusted content the agent processes, and the reachable damage is bounded by the filesystem permissions of the AgentScope process user. No confirmed active exploitation exists (not listed in CISA KEV) and no public exploit was identified at the time of analysis, so this should be treated as a real but conditional risk that depends on whether insert_text_file is enabled, exposed, and influenceable by an untrusted party.

RemediationAI

No vendor-released patch was identified at the time of analysis, so remediation must currently rely on compensating controls. Most effective is to disable or remove the insert_text_file tool from agent configurations in AgentScope 1.0.0-1.0.8 until a fixed release is available; the trade-off is that agents lose any legitimate file-creation or file-editing capability and file-oriented workflows must be handled out of band. If the tool must remain, wrap or fork it to resolve the caller-supplied path against a single fixed workspace root, reject any resolved path that escapes that root, reject absolute paths and symlinks, and permit only an explicit allowlist of extensions - the trade-off is development effort and the risk that legitimate relative-path use cases break. Additionally, run the AgentScope service under a dedicated low-privilege account with no write access to configuration, credential, SSH, or application-source directories, and containerize it with read-only mounts outside the workspace root, which limits traversal blast radius but does not eliminate the flaw and may disrupt workloads that persist data outside the container. Do not expose the agent API or tool-invocation surface to untrusted networks: place it behind authentication and network allowlists, and treat all content fed to the agent (documents, web pages, retrieved context, tool outputs) as untrusted input that can carry prompt injection, requiring explicit human confirmation before any file-writing tool call executes. Track the gist at https://gist.github.com/Ro1ME/c6a6857348472db85895b346ba818195 and the upstream AgentScope repository for a fixed version, then upgrade as soon as an official patched release is published; do not assume any specific version number is fixed until the vendor confirms it.

Affected VersionsENISA

n/a n/a

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

AgentScope is a ModelScope multi-agent framework in which large language model agents are granted callable tools; insert_text_file is one such tool that writes text content to a caller-supplied path or filename. The flaw is a classic improper limitation of a pathname to a restricted directory (the CWE-22 path traversal class; the CWE field is unpopulated in the source record but the 'Path Traversal' tag and the affected function make the class unambiguous). Because the tool does not normalize or confine the supplied path against a fixed base directory, sequences such as ../ can escape the intended sandbox and resolve anywhere the AgentScope process account has read or write permission, and absolute paths are equally unconstrained in a naive implementation. The vulnerable surface is therefore not the HTTP transport itself but the agent/tool abstraction layer: anything that lets an attacker shape tool arguments - a crafted prompt processed by the LLM, indirect prompt injection from documents or web content the agent reads, or direct invocation of the tool endpoint - becomes a file read/write primitive. The supplied CPE string is a placeholder (cpe:2.3:a:n/a:n/a:*:*:*:*:*:*:*:*) and carries no product or version mapping, so version scope must be taken from the advisory text: all releases from 1.0.0 through 1.0.8 are affected.

Know when Agentscope gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (mitre) PRIMARY 8.1 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
vuln.today AI 8.1 HIGH

Path traversal in a tool invoked with low-privilege agent access (PR:L) over the network (AV:N), no UI, enabling arbitrary file read/write (C:H/I:H) within the same process scope; no direct availability impact.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

DescriptionCVE.org

modelscope Agentscope v1.0.0-v1.0.8 is vulnerable to Path Traversal in insert_text_file.

Executive ViewAI

Why It Matters

ModelScope AgentScope versions 1.0.0 through 1.0.8 contain a path traversal flaw in the built-in insert_text_file tool that lets a low-privilege user of the agent surface read and overwrite files outside the intended workspace, with high confidentiality and integrity impact and no vendor patch yet available. Any team running an AgentScope-based agent that exposes this tool to an API endpoint or to untrusted content the agent ingests is exposed, because the reachable damage is bounded only by the filesystem permissions of the process account. Leadership should care because a single successful call could expose or corrupt sensitive data on the host, and the risk is amplified where the agent service account has broad write access or where agents process third-party content.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: disable or block the insert_text_file tool where it is not operationally required; restrict network reachability of the agent API and tool surface to trusted callers; run AgentScope under a low-privilege, sandboxed process account with a workspace-bounded writable volume and read-only mounts for sensitive directories; apply allowlist-based validation of path and filename arguments that rejects absolute paths and traversal sequences; and monitor for anomalous file access by the agent process.

Threat Intelligence Overview

EPSS Score
0.4%
Top 69% exploitable
Prevalence
Low
niche open-source multi-agent LLM framework, limited production deployment footprint
Data Quality
5 sources
Confidence: Medium
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

40
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +40
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

CVE-2024-48050 CRITICAL POC
9.8 Nov 04

In agentscope <=v0.0.4, the file agentscope\web\workstation\workflow_utils.py has the function is_callable_expression. R

CVE-2024-8537 CRITICAL POC
9.1 Mar 20

A path traversal vulnerability exists in the modelscope/agentscope application, affecting all versions. Rated critical s

CVE-2024-8551 CRITICAL POC
9.1 Mar 20

A path traversal vulnerability exists in the save-workflow and load-workflow functionality of modelscope/agentscope vers

CVE-2024-8501 HIGH POC
8.8 Mar 20

An arbitrary file download vulnerability exists in the rpc_agent_client component of modelscope/agentscope version v0.0.

CVE-2024-8524 HIGH POC
7.5 Mar 20

A directory traversal vulnerability exists in modelscope/agentscope version 0.0.4. Rated high severity (CVSS 7.5), this

CVE-2024-8438 HIGH POC
7.5 Mar 20

A path traversal vulnerability exists in modelscope/agentscope version v.0.0.4. Rated high severity (CVSS 7.5), this vul

CVE-2026-51856 CRITICAL
9.8 Sep 30

Remote code execution in AgentScope 1.0.18 and 1.0.19 allows remote attackers to execute arbitrary Python in the service

CVE-2026-6603 MEDIUM POC
5.5 Apr 20

Remote code execution in ModelScope AgentScope up to version 1.0.18 allows unauthenticated network attackers to inject a

CVE-2026-6606 MEDIUM POC
5.5 Apr 20

Modelscope AgentScope versions up to 1.0.18 contain a server-side request forgery (SSRF) vulnerability in the _process_a

CVE-2026-6605 MEDIUM POC
5.5 Apr 20

Server-side request forgery in ModelScope AgentScope up to version 1.0.18 allows remote unauthenticated attackers to man

CVE-2026-6604 MEDIUM POC
5.5 Apr 20

Server-side request forgery (SSRF) in ModelScope AgentScope up to version 1.0.18 allows remote unauthenticated attackers

CVE-2026-85685 HIGH
8.7 Sep 04

Unauthenticated path traversal in AgentScope through 2.0.7.post1 allows remote attackers to copy arbitrary server-side d

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy