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.
Published: 2026-09-04
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: Directory Traversal
Action: Immediate Patch
AI Analysis

Impact

AgentScope versions up to 2.0.7.post1 are vulnerable to a path traversal flaw in the LocalWorkspace.add_skill function. The flaw allows an attacker to provide any directory path in the skill_path request parameter, causing the server to copy the entire directory into the agent workspace, thereby arbitrarily exposing server files in the workspace skill listing.

Affected Systems

Affected vendors include agentscope-ai, product AgentScope, with all releases up to 2.0.7.post1 being impacted. All other later releases are considered fixed.

Risk and Exploitability

The CVSS score of 8.7 indicates a high severity vulnerability. Attackers with network access can exploit the unconfined skill_path parameter, potentially without authentication, to copy any accessible directory into the workspace. While no EPSS score is available, the lack of KEV listing suggests no widespread exploitation yet, but the high CVSS warrants proactive mitigation. The ability to copy arbitrary files can be leveraged for data exfiltration or for inserting malicious content that may be executed later.

Generated by OpenCVE AI on September 4, 2026 at 16:00 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest AgentScope release (≥2.0.8) or any patched version that validates skill_path or removes path traversal.
  • If an update cannot be applied immediately, restrict access to the add_skill endpoint by requiring authentication and limiting allowed paths or by disabling the feature entirely.
  • As a temporary measure, patch the source by adding input validation to the skill_path parameter to disallow directory traversal sequences (for example forbidding ".." or absolute paths) and restricting the copy destination to a safe workspace directory.

Generated by OpenCVE AI on September 4, 2026 at 16:00 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 07 Sep 2026 08:45:00 +0000

Type Values Removed Values Added
First Time appeared Agentscope-ai
Agentscope-ai agentscope
Vendors & Products Agentscope-ai
Agentscope-ai agentscope

Fri, 04 Sep 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 04 Sep 2026 14:45:00 +0000

Type Values Removed Values Added
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.
Title AgentScope through 2.0.7.post1 Arbitrary Directory Copy via add_skill
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}

cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N'}


Subscriptions

Agentscope-ai Agentscope
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-09-04T15:11:39.240Z

Reserved: 2026-09-04T13:51:42.563Z

Link: CVE-2026-85685

cve-icon Vulnrichment

Updated: 2026-09-04T15:11:22.207Z

cve-icon NVD

Status : Deferred

Published: 2026-09-04T15:17:46.220

Modified: 2026-09-23T17:17:46.590

Link: CVE-2026-85685

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-07T08:26:21Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')