Browse / AI Framework and Platform Flaws / CVE-2024-8551
AgentScope path traversal vulnerability in save-workflow
- Class
- AI Framework and Platform Flaws (filed by a model that read the advisory)
- Technique
- Path traversal and file access
- Affected
- agentscope (PyPI)
- CVSS
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
- EPSS
- 1.0% chance of exploitation in 30 days
How it works, in short
Workflow save and load functions accept unvalidated paths, letting attackers read and write arbitrary JSON files on the host. (Our summary, written by a model. The source text is below.)
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.
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://github.com/pypa/advisory-database/tree/main/vulns/agentscope/PYSEC-2026-255.yaml
- https://huntr.com/bounties/e0c0c294-f1e2-4f2c-a632-a9be9fd06989
- https://pypi.org/project/agentscope
Source: GitHub Advisory Database, used under CC BY 4.0.