CVE-2026-85685

AgentScope through 2.0.7.post1 Arbitrary Directory Copy via add_skill

Published Sep 4, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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 available
History
Type Values Removed Values Added
First Time appeared Agentscope-ai
Agentscope-ai agentscope
Vendors & Products Agentscope-ai
Agentscope-ai agentscope
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses
  • CWE-22

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

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Sep 4, 2026, 3:11 PM
Reserved
Sep 4, 2026, 1:51 PM
Status
Deferred
Published
Sep 4, 2026, 3:17 PM
Modified
Sep 23, 2026, 5:17 PM