AgentScope through 2.0.7.post1 Arbitrary Directory Copy via add_skill
cve-program · CVE-2026-85685
PublishedAgentScope 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.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-85685 · CVE overview and exploitation status
cve-program · CVE-2026-85685
- https://github.com/agentscope-ai/agentscope/issues/2069
- https://github.com/agentscope-ai/agentscope
- https://github.com/agentscope-ai/agentscope/blob/v2.0.7.post1/src/agentscope/workspace/_local_workspace.py
- https://www.vulncheck.com/advisories/agentscope-through-2.0.7-post1-arbitrary-directory-copy-via-add-skill
Related changes
Linked by CVE identifierNo related changes are available here.