CRITICAL9.1
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
PyPI/agentscope
Introduced in:
0No fixed version published yet for agentscope (pip). Pin to a known-safe version or switch to an alternative.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-8551[ADVISORY]
- https://github.com/modelscope/agentscope[PACKAGE]
- https://github.com/modelscope/agentscope/blob/01530ee6a99c86426aab1be11ec3b3b86ca640ac/src/agentscope/studio/_app.py#L680[WEB]
- https://huntr.com/bounties/e0c0c294-f1e2-4f2c-a632-a9be9fd06989[WEB]
- https://pypi.org/project/agentscope[PACKAGE]
- https://github.com/advisories/GHSA-j9rw-qm5f-r8xm[ADVISORY]