{"id":"CVE-2026-85685","summary":"AgentScope through 2.0.7.post1 Arbitrary Directory Copy via add_skill","details":"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.","modified":"2026-09-06T03:47:20.246181260Z","published":"2026-09-04T14:32:31.015Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/85xxx/CVE-2026-85685.json","cna_assigner":"VulnCheck","cwe_ids":["CWE-22"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/85xxx/CVE-2026-85685.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-85685"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/agentscope-through-2.0.7-post1-arbitrary-directory-copy-via-add-skill"},{"type":"REPORT","url":"https://github.com/agentscope-ai/agentscope/issues/2069"},{"type":"PACKAGE","url":"https://github.com/agentscope-ai/agentscope"},{"type":"ARTICLE","url":"https://github.com/agentscope-ai/agentscope/blob/v2.0.7.post1/src/agentscope/workspace/_local_workspace.py"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/agentscope-ai/agentscope","events":[{"introduced":"0"},{"fixed":"e90f1c7592896cc95f6e5ee506194f533378247d"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"last_affected":"2.0.7.post1"},{"fixed":"2.0.7.post1"}],"source":["AFFECTED_FIELD","DESCRIPTION"]}}],"versions":["v2.0.7","v2.0.6","v2.0.5","v2.0.4.post1","v2.0.4","v2.0.3","v2.0.2","v2.0.1","v2.0.0","v1.0.18","v1.0.17","v1.0.16","v1.0.16dev","v1.0.15","v1.0.14","v1.0.13","v1.0.12","v1.0.11","v1.0.10","v1.0.9","v1.0.8","v1.0.7","v1.0.6","v1.0.5","v1.0.4","v1.0.3","v1.0.2","v1.0.1","v1.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-85685.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}