ADVISORIES

PyPA Advisory Database

PYSEC-2026-254

AgentScope path traversal vulnerability

Details

A path traversal vulnerability exists in the modelscope/agentscope application, affecting all versions. The vulnerability is present in the /delete-workflow endpoint, allowing an attacker to delete arbitrary files from the filesystem. This issue arises due to improper input validation, enabling the attacker to manipulate file paths and delete sensitive files outside of the intended directory.

Affected packages

EcosystemPackageAffected versions
PyPIagentscope
All versions up to and including 0.1.1

References