---
id: CVE-2026-85685
title: >-
  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
summary: >-
  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 direct…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'
cwe:
  - CWE-22
published: '2026-09-04'
updated: '2026-09-23'
sourceUpdated: '2026-09-23T17:17:46.590'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-85685'
references:
  - url: 'https://github.com/agentscope-ai/agentscope'
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/agentscope-ai/agentscope/blob/v2.0.7.post1/src/agentscope/workspace/_local_workspace.py
    label: disclosure@vulncheck.com
  - url: 'https://github.com/agentscope-ai/agentscope/issues/2069'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/agentscope-through-2.0.7-post1-arbitrary-directory-copy-via-add-skill
    label: disclosure@vulncheck.com
  - url: 'https://github.com/agentscope-ai/agentscope/issues/2069'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
epss: 0.00459
epssPercentile: 0.39108
ingestedAt: '2026-09-23T17:28:14.825Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
