PyPA Advisory Database
PYSEC-2026-255
AgentScope path traversal vulnerability in save-workflow
Details
A path traversal vulnerability exists in the save-workflow and load-workflow functionality of modelscope/agentscope versions prior to the fix. This vulnerability allows an attacker to read and write arbitrary JSON files on the filesystem, potentially leading to the exposure or modification of sensitive information such as configuration files, API keys, and hardcoded passwords.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | agentscope | All versions up to and including 0.1.1 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-8551
- https://github.com/modelscope/agentscope
- https://github.com/modelscope/agentscope/blob/01530ee6a99c86426aab1be11ec3b3b86ca640ac/src/agentscope/studio/_app.py#L680
- https://huntr.com/bounties/e0c0c294-f1e2-4f2c-a632-a9be9fd06989
- https://pypi.org/project/agentscope
- https://github.com/advisories/GHSA-j9rw-qm5f-r8xm