CVE-2026-85685 AgentScope through 2.0.7.post1 Arbitrary Directory Copy via add_skill
Attackers can copy arbitrary server directories into the agent workspace via path traversal in add_skill, exposing sensitive files.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-85685?
CVE-2026-85685 is a high-severity path traversal vulnerability in agentscope-ai agentscope, published on 4 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-22
Which versions are affected by CVE-2026-85685?
How do I fix CVE-2026-85685?
No fix has been published for CVE-2026-85685 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2026-85685 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-85685 exists.
Sources
Also known as GHSA-gpf9-4466-gc5g.