Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach exposed AgentScope agent/tool interface
-
DeliveryInject crafted path into insert_text_file argument
-
ExploitTraverse outside intended working directory
-
ExecutionRead or overwrite arbitrary host files
-
ImpactCompromise 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
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.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
DescriptionCVE.org
modelscope Agentscope v1.0.0-v1.0.8 is vulnerable to Path Traversal in insert_text_file.
Executive ViewAI
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
More in Agentscope
View allIn agentscope <=v0.0.4, the file agentscope\web\workstation\workflow_utils.py has the function is_callable_expression. R
A path traversal vulnerability exists in the modelscope/agentscope application, affecting all versions. Rated critical s
A path traversal vulnerability exists in the save-workflow and load-workflow functionality of modelscope/agentscope vers
An arbitrary file download vulnerability exists in the rpc_agent_client component of modelscope/agentscope version v0.0.
A directory traversal vulnerability exists in modelscope/agentscope version 0.0.4. Rated high severity (CVSS 7.5), this
A path traversal vulnerability exists in modelscope/agentscope version v.0.0.4. Rated high severity (CVSS 7.5), this vul
Remote code execution in AgentScope 1.0.18 and 1.0.19 allows remote attackers to execute arbitrary Python in the service
Remote code execution in ModelScope AgentScope up to version 1.0.18 allows unauthenticated network attackers to inject a
Modelscope AgentScope versions up to 1.0.18 contain a server-side request forgery (SSRF) vulnerability in the _process_a
Server-side request forgery in ModelScope AgentScope up to version 1.0.18 allows remote unauthenticated attackers to man
Server-side request forgery (SSRF) in ModelScope AgentScope up to version 1.0.18 allows remote unauthenticated attackers
Unauthenticated path traversal in AgentScope through 2.0.7.post1 allows remote attackers to copy arbitrary server-side d
EUVD-2026-90427
GHSA-pwqj-xpq4-649r
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB