CVE-2026-85685 Details
Description
AgentScope through 2.0.7.post1 contains a path traversal vulnerability in LocalWorkspace.add_skill that copies arbitrary server directories into the agent workspace via an unconfined source path parameter. Attackers can supply any directory path in the skill_path request parameter to copy files into the skills directory, making them accessible through the workspace skill listing.
A path traversal vulnerability has been identified in AgentScope versions through 2.0.7.post1. The issue resides in the LocalWorkspace.add_skill method, where an unconfined source path parameter allows arbitrary server directories to be copied into the agent's workspace. This vulnerability can be exploited by supplying any directory path in the skill_path request parameter, which then gets transferred to the skills directory. As a result, the copied files become accessible through the workspace's skill listing.
The vulnerability has been addressed in AgentScope version 2.0.8, which confines the source path to an allowed root, preventing arbitrary directory copies. Users should update to this version.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 4, 2026CISA-ADP
Assessed Sep 4, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/agentscope-ai/agentscope/issues/2069 | CISA-ADP | ExploitIssue TrackingTechnical DescriptionVendor |
| https://github.com/agentscope-ai/agentscope | [email protected] | ProductSource CodeVendor |
| https://github.com/agentscope-ai/agentscope/blob/v2.0.7.post1/src/agentscope/workspace/_local_workspace.py | [email protected] | Source CodeVendor |
| https://github.com/agentscope-ai/agentscope/issues/2069 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://www.vulncheck.com/advisories/agentscope-through-2.0.7-post1-arbitrary-directory-copy-via-add-skill | [email protected] | AdvisoryVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| AgentScope | <= 2.0.7.post1 |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 4, 2026 | CVE Modified | CISA-ADP |
| Sep 4, 2026 | New CVE Received | [email protected] |
Volerion