CVE-2024-8551: modelscope/agentscope · Relative Path Traversal
Affects modelscope/agentscopeSource CVE Database V5
Not known to be exploited · CVSS 9.1 Critical.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 1.0% chance of exploitation in 30 days – higher than 63% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 20 Mar 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.
What to do
AI-suggested
To mitigate CVE-2024-8551, organizations should immediately monitor for updates and apply official patches from the modelscope project once released. Until patches are available, restrict network access to the save-workflow and load-workflow endpoints using firewalls or network segmentation to limit exposure. Implement strict input validation and sanitization on any user-supplied file paths to prevent directory traversal sequences. Employ filesystem access controls to ensure the application process has the minimum necessary permissions, preventing unauthorized file reads or writes outside designated directories. Enable logging and alerting on suspicious file operations involving JSON files or unexpected path patterns. Conduct thorough code reviews and penetration testing focused on path traversal vulnerabilities in similar components. For cloud deployments, use container or VM isolation to limit the blast radius. Finally, educate developers and administrators about secure coding practices related to file handling to prevent recurrence.
Description
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.