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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| agentscope-ai | agentscope | ≤ 2.0.7.post1 | — |
References
- GitHub Issue #2069 issue-tracking
- https://github.com/agentscope-ai/agentscope product
- https://github.com/agentscope-ai/agentscope/blob/v2.0.7.post1/src/agentscope/workspace/_local_workspace.py technical-description
- VulnCheck Advisory: AgentScope through 2.0.7.post1 Arbitrary Directory Copy via add_skill third-party-advisory