Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSupply crafted input to AgentScope agent
-
DeliveryAgent invokes write_text_file tool
-
ExploitPath traversal escapes intended directory
-
ExecutionOverwrite config or code file
-
ImpactIntegrity compromise or code execution
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 deployed AgentScope agent (v1.0.0 through v1.0.18) that exposes or invokes the write_text_file tool/function, where an attacker can influence the file path argument - most realistically through untrusted content processed by the agent (indirect prompt injection) or a malicious task submitted to the agent. Limiting factors: the affected framework has a narrow deployment base; exploitation depends on the agent actually being wired to call write_text_file with attacker-influenceable paths; the CVSS assigns PR:L (some level of access to the agent), though a prompt-injection path could reduce this to effectively unauthenticated depending on how the agent ingests external input. |
| Impact | CVSS 3.1 base is 8.1 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N), driven by a network vector, low complexity, and only low privileges required. However, the raw score overstates real-world urgency for several reasons. AgentScope is a niche open-source multi-agent LLM framework, not broadly deployed enterprise infrastructure, so the exposed population is small. No EPSS score, no CISA KEV listing, and no SSVC decision data are provided, so there is no evidence of active or automatable exploitation. A public gist (Ro1ME) is referenced alongside the upstream issue, strongly implying proof-of-concept code exists, which raises the practical likelihood of opportunistic exploitation against exposed agent deployments. The vendor-assigned C:H is questionable for what is fundamentally an arbitrary file-WRITE primitive (write_text_file) - path traversal on a write path typically yields integrity impact, not direct confidentiality disclosure; verify the confidentiality rating with the vendor/reporter. Also note the PR:L rating conflicts with the most realistic exploitation model (indirect prompt injection through untrusted agent input), which would make it effectively unauthenticated in many deployments - this is a data conflict worth resolving before prioritization. Net: a real but bounded issue - moderate priority, elevated by likely POC availability but tempered by low deployment footprint and absence of active-exploitation signals. |
| Exploit ScenarioDerived | An attacker submits crafted input (e.g., via indirect prompt injection or a malicious task) to an AgentScope-based agent that exposes the write_text_file tool. The agent invokes write_text_file with an attacker-influenced path containing traversal sequences (../../), causing text to be written outside the intended output directory - overwriting configuration, source, or startup files and potentially chaining to code execution. A public gist appears to demonstrate the technique, so working exploit code likely exists. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 30, 2026
Path traversal in AgentScope 1.0.0 through 1.0.18 lets an attacker who can influence the path argument passed to the agent's write_text_file tool cause file writes outside the intended directory, resulting in arbitrary file overwrite on the host running the agent. The assessed CVSS 3.1 base score is 8.1 (AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L), reflecting a network-reachable, low-complexity issue that requires the attacker to hold low privileges relative to the agent (PR:L) while the primary impact is integrity, with limited availability impact and no confirmed confidentiality impact. Exploitation is realistic in deployments where the agent is wired to call write_text_file with attacker-influenceable paths, most plausibly via untrusted content processed by the agent (indirect prompt injection) or a malicious task submitted to it; no public exploit code was identified at time of analysis, and the CVE is not listed in CISA KEV.
RemediationAI
No vendor-released patch or fixed version was identified in the available data at time of analysis, so remediation is currently configuration- and isolation-based rather than upgrade-based; monitor https://github.com/agentscope-ai/agentscope/issues/1508 for an official fix and apply it as soon as a patched release is published. Primary compensating controls: remove or disable the write_text_file tool from the agent's registered tool set if the workflow does not require it (trade-off: legitimate file-writing functionality is lost), or wrap it with a path-checking shim that canonicalizes the resolved path, rejects absolute paths and any '../' traversal, and enforces an allowlist root so writes can only land inside a designated directory (trade-off: legitimate writes to other locations will be blocked and may break workflows). Run the agent process under a dedicated low-privilege OS account inside a container with a read-only root filesystem and only a dedicated scratch directory writable, so a successful traversal cannot overwrite system or application files (trade-off: some agent features requiring broader write access will fail). Finally, restrict what untrusted content the agent ingests and treat tool arguments derived from model output as untrusted input, since indirect prompt injection is the most plausible delivery vector for attacker-controlled paths.
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 an open-source multi-agent framework in which LLM-driven agents invoke registered tools, and write_text_file is one such filesystem-writing tool. The defect is a classic path traversal (CWE-22) root-cause class: the tool accepts a caller-supplied path and writes to it without adequately canonicalizing and constraining the resolved path to an expected root, so sequences such as ../ or an absolute path allow the write to escape the intended working directory. The CVE record and the assessed vector differ in the balance of impact - the record's vector (C:H/I:H/A:N) claims high confidentiality and integrity with no availability impact, while the assessment scores C:N/I:H/A:L, treating the realistic outcome as file modification/overwrite with possible disruption rather than a read exposure. The CPE supplied is a placeholder (cpe:2.3:a:n/a:n/a:*:*:*:*:*:*:*:*) indicating that no formal CPE has been assigned for the affected component, so product identification must rely on the version range and the vendor GitHub issue rather than CPE matching. Because the vulnerable surface is a tool called by the agent, the practical attack path is not a raw HTTP exploit but attacker influence over the arguments the agent passes to the tool, which is why indirect prompt injection and malicious task inputs are the dominant threat models.
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
Arbitrary file write via a tool call gives high integrity impact and limited availability (overwrite); no direct confidentiality from a write primitive; PR:L as tool invocation needs agent-level access.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
DescriptionCVE.org
modelscope Agentscope v1.0.18-v1.0.0 is vulnerable to Path Traversal in write_text_file.
Executive ViewAI
AgentScope versions 1.0.0 through 1.0.18 contain a path traversal flaw in the agent's write_text_file tool that allows arbitrary file overwrite on any host running an affected agent, and no vendor patch is currently available. The risk concentrates in deployments where agents process untrusted content or accept tasks from lower-privileged users, since those inputs can steer where files are written. Leadership should care because a successful attack can corrupt or replace configuration, model, and operational files on agent hosts, with integrity impact rated high and limited availability impact; there is no public exploit identified at time of analysis and the CVE is not in CISA KEV, so exposure is driven by architecture rather than widespread opportunistic attack.
No vendor-released patch identified at time of analysis. Interim mitigations: run affected AgentScope 1.0.0-1.0.18 agents under least-privilege accounts with filesystem access restricted to a dedicated directory, mount all other paths read-only, enforce path canonicalization and allowlisting at the write_text_file boundary (reject absolute paths and traversal sequences), restrict network reachability of agent endpoints to trusted authenticated callers, treat all agent-ingested content as untrusted and apply prompt-injection filtering, and deploy file integrity monitoring with alerting on unexpected file modifications by agent processes.
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-90428
GHSA-wfpw-mwxx-8vrf
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB